changeset 8346:4e4485793418 quic

Added MAX_STREAM_DATA stub handler. Currently sending code is ignoring this.
author Vladimir Homutov <vl@nginx.com>
date Mon, 20 Apr 2020 17:18:04 +0300
parents 6481427ca3fc
children a5141e6b3214
files src/event/ngx_event_quic.c
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/event/ngx_event_quic.c
+++ b/src/event/ngx_event_quic.c
@@ -1290,6 +1290,7 @@ ngx_quic_payload_handler(ngx_connection_
         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_
             break;
 
         default:
+            ngx_log_debug0(NGX_LOG_DEBUG_EVENT, c->log, 0,
+                           "missing frame handler");
             return NGX_ERROR;
         }
     }