diff src/event/ngx_event_quic.c @ 7833:42198f77ac85 quic

Removed support of drafts older than currently latest 27.
author Vladimir Homutov <vl@nginx.com>
date Thu, 23 Apr 2020 11:50:20 +0300
parents ad3a6f069498
children 2f900ae486bc
line wrap: on
line diff
--- a/src/event/ngx_event_quic.c
+++ b/src/event/ngx_event_quic.c
@@ -1903,10 +1903,6 @@ ngx_quic_crypto_input(ngx_connection_t *
         ngx_log_debug0(NGX_LOG_DEBUG_EVENT, c->log, 0,
                        "handshake completed successfully");
 
-#if (NGX_QUIC_DRAFT_VERSION >= 27)
-        {
-        ngx_quic_frame_t  *frame;
-
         frame = ngx_quic_alloc_frame(c, 0);
         if (frame == NULL) {
             return NGX_ERROR;
@@ -1917,8 +1913,6 @@ ngx_quic_crypto_input(ngx_connection_t *
         frame->type = NGX_QUIC_FT_HANDSHAKE_DONE;
         ngx_sprintf(frame->info, "HANDSHAKE DONE on handshake completed");
         ngx_quic_queue_frame(c->quic, frame);
-        }
-#endif
 
         /*
          * Generating next keys before a key update is received.