diff options
| author | Roman Arutyunyan <arut@nginx.com> | 2021-11-17 23:07:51 +0300 |
|---|---|---|
| committer | Roman Arutyunyan <arut@nginx.com> | 2021-11-17 23:07:51 +0300 |
| commit | d4add9784568913fea143004fa2d0af364c03562 (patch) | |
| tree | 87a93efbe83285a63450f039ce09cb8df5894b66 /src/event/quic/ngx_event_quic_streams.h | |
| parent | 4bb4792907464c98e3fea1bd784caf5c9d456334 (diff) | |
| download | nginx-d4add9784568913fea143004fa2d0af364c03562.tar.gz nginx-d4add9784568913fea143004fa2d0af364c03562.tar.bz2 | |
QUIC: handle DATA_BLOCKED frame from client.
Previously the frame was not handled and connection was closed with an error.
Now, after receiving this frame, global flow control is updated and new
flow control credit is sent to client.
Diffstat (limited to 'src/event/quic/ngx_event_quic_streams.h')
| -rw-r--r-- | src/event/quic/ngx_event_quic_streams.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/event/quic/ngx_event_quic_streams.h b/src/event/quic/ngx_event_quic_streams.h index c914fde24..fb6dbbd8f 100644 --- a/src/event/quic/ngx_event_quic_streams.h +++ b/src/event/quic/ngx_event_quic_streams.h @@ -20,6 +20,8 @@ ngx_int_t ngx_quic_handle_max_data_frame(ngx_connection_t *c, ngx_quic_max_data_frame_t *f); ngx_int_t ngx_quic_handle_streams_blocked_frame(ngx_connection_t *c, ngx_quic_header_t *pkt, ngx_quic_streams_blocked_frame_t *f); +ngx_int_t ngx_quic_handle_data_blocked_frame(ngx_connection_t *c, + ngx_quic_header_t *pkt, ngx_quic_data_blocked_frame_t *f); ngx_int_t ngx_quic_handle_stream_data_blocked_frame(ngx_connection_t *c, ngx_quic_header_t *pkt, ngx_quic_stream_data_blocked_frame_t *f); ngx_int_t ngx_quic_handle_max_stream_data_frame(ngx_connection_t *c, |
