Mercurial > hg > nginx
diff src/event/ngx_event_quic.c @ 8356: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 Thu Apr 23 13:41:08 2020 +0300 +++ b/src/event/ngx_event_quic.c Thu Apr 23 11:50:20 2020 +0300 @@ -1903,10 +1903,6 @@ 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 @@ 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.