From 07699053c03de69b5482c4cc2547993fae3982e6 Mon Sep 17 00:00:00 2001 From: Vladimir Homutov Date: Mon, 20 Apr 2020 17:18:04 +0300 Subject: [PATCH] Added MAX_STREAM_DATA stub handler. Currently sending code is ignoring this. --- src/event/ngx_event_quic.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/event/ngx_event_quic.c b/src/event/ngx_event_quic.c index 2dd415f99..f3b76b3ee 100644 --- a/src/event/ngx_event_quic.c +++ b/src/event/ngx_event_quic.c @@ -1290,6 +1290,7 @@ ngx_quic_payload_handler(ngx_connection_t *c, ngx_quic_header_t *pkt) case NGX_QUIC_FT_STOP_SENDING: case NGX_QUIC_FT_PATH_CHALLENGE: case NGX_QUIC_FT_PATH_RESPONSE: + case NGX_QUIC_FT_MAX_STREAM_DATA: /* TODO: handle */ ngx_log_debug0(NGX_LOG_DEBUG_EVENT, c->log, 0, @@ -1298,6 +1299,8 @@ ngx_quic_payload_handler(ngx_connection_t *c, ngx_quic_header_t *pkt) break; default: + ngx_log_debug0(NGX_LOG_DEBUG_EVENT, c->log, 0, + "missing frame handler"); return NGX_ERROR; } }