]> git.kaiwu.me - nginx.git/commitdiff
Added MAX_STREAM_DATA stub handler.
authorVladimir Homutov <vl@nginx.com>
Mon, 20 Apr 2020 14:18:04 +0000 (17:18 +0300)
committerVladimir Homutov <vl@nginx.com>
Mon, 20 Apr 2020 14:18:04 +0000 (17:18 +0300)
Currently sending code is ignoring this.

src/event/ngx_event_quic.c

index 2dd415f9967024acd98c0224d430d78d70f2fde3..f3b76b3ee2b38c7c9dc66c5d5b01e4d0825594c8 100644 (file)
@@ -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;
         }
     }