aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins
diff options
context:
space:
mode:
authorMathiasRaoul <mathias.raoul@gmail.com>2019-12-10 10:56:20 +0000
committerDave Wallace <dwallacelf@gmail.com>2019-12-17 05:05:41 +0000
commitecb9d18c59f65c87430d6a7c53ee1e525d75d430 (patch)
treedea45ec09a207a2e5a58e360cb2cbdcecd2ff6ab /src/plugins
parent3fd99047439fe56dcd070e6dcaea7bc14715749c (diff)
quic: update quicly to v0.0.8-vpp
Type: feature Signed-off-by: MathiasRaoul <mathias.raoul@gmail.com> Change-Id: I7470d79d1e39716ff83ba2d2b320813d79e2554c
Diffstat (limited to 'src/plugins')
-rw-r--r--src/plugins/quic/error.c13
-rw-r--r--src/plugins/quic/quic.c1
2 files changed, 8 insertions, 6 deletions
diff --git a/src/plugins/quic/error.c b/src/plugins/quic/error.c
index 72aa99909f6..ed2ca111e83 100644
--- a/src/plugins/quic/error.c
+++ b/src/plugins/quic/error.c
@@ -16,6 +16,7 @@
#include <quic/quic.h>
#include <quicly.h>
+#include <quicly/constants.h>
u8 *
quic_format_err (u8 * s, va_list * args)
@@ -73,8 +74,8 @@ quic_format_err (u8 * s, va_list * args)
case QUICLY_TRANSPORT_ERROR_STREAM_STATE:
s = format (s, "QUICLY_TRANSPORT_ERROR_STREAM_STATE");
break;
- case QUICLY_TRANSPORT_ERROR_FINAL_OFFSET:
- s = format (s, "QUICLY_TRANSPORT_ERROR_FINAL_OFFSET");
+ case QUICLY_TRANSPORT_ERROR_FINAL_SIZE:
+ s = format (s, "QUICLY_TRANSPORT_ERROR_FINAL_SIZE");
break;
case QUICLY_TRANSPORT_ERROR_FRAME_ENCODING:
s = format (s, "QUICLY_TRANSPORT_ERROR_FRAME_ENCODING");
@@ -82,14 +83,14 @@ quic_format_err (u8 * s, va_list * args)
case QUICLY_TRANSPORT_ERROR_TRANSPORT_PARAMETER:
s = format (s, "QUICLY_TRANSPORT_ERROR_TRANSPORT_PARAMETER");
break;
- case QUICLY_TRANSPORT_ERROR_VERSION_NEGOTIATION:
- s = format (s, "QUICLY_TRANSPORT_ERROR_VERSION_NEGOTIATION");
+ case QUICLY_ERROR_NO_COMPATIBLE_VERSION:
+ s = format (s, "QUICLY_ERROR_NO_COMPATIBLE_VERSION");
break;
case QUICLY_TRANSPORT_ERROR_PROTOCOL_VIOLATION:
s = format (s, "QUICLY_TRANSPORT_ERROR_PROTOCOL_VIOLATION");
break;
- case QUICLY_TRANSPORT_ERROR_INVALID_MIGRATION:
- s = format (s, "QUICLY_TRANSPORT_ERROR_INVALID_MIGRATION");
+ case QUICLY_TRANSPORT_ERROR_CRYPTO_BUFFER_EXCEEDED:
+ s = format (s, "QUICLY_TRANSPORT_ERROR_CRYPTO_BUFFER_EXCEEDED");
break;
/* picotls errors */
case QUICLY_TRANSPORT_ERROR_TLS_ALERT_BASE + PTLS_ERROR_TO_ALERT (PTLS_ALERT_CLOSE_NOTIFY):
diff --git a/src/plugins/quic/quic.c b/src/plugins/quic/quic.c
index 04e969dfffe..f4e0aabdba2 100644
--- a/src/plugins/quic/quic.c
+++ b/src/plugins/quic/quic.c
@@ -28,6 +28,7 @@
#include <quic/error.h>
#include <quic/quic_crypto.h>
+#include <quicly/constants.h>
#include <quicly/defaults.h>
static char *quic_error_strings[] = {