summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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[] = {