Mercurial > hg > nginx
comparison src/event/quic/ngx_event_quic.c @ 8909:d041b8d6ab0b quic
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.
author | Roman Arutyunyan <arut@nginx.com> |
---|---|
date | Wed, 17 Nov 2021 23:07:51 +0300 |
parents | 6204120cf37f |
children | 50d73bf20e73 |
comparison
equal
deleted
inserted
replaced
8908:e8cbbfabe547 | 8909:d041b8d6ab0b |
---|---|
1250 return NGX_ERROR; | 1250 return NGX_ERROR; |
1251 } | 1251 } |
1252 | 1252 |
1253 break; | 1253 break; |
1254 | 1254 |
1255 case NGX_QUIC_FT_DATA_BLOCKED: | |
1256 | |
1257 if (ngx_quic_handle_data_blocked_frame(c, pkt, | |
1258 &frame.u.data_blocked) | |
1259 != NGX_OK) | |
1260 { | |
1261 return NGX_ERROR; | |
1262 } | |
1263 | |
1264 break; | |
1265 | |
1255 case NGX_QUIC_FT_STREAM_DATA_BLOCKED: | 1266 case NGX_QUIC_FT_STREAM_DATA_BLOCKED: |
1256 | 1267 |
1257 if (ngx_quic_handle_stream_data_blocked_frame(c, pkt, | 1268 if (ngx_quic_handle_stream_data_blocked_frame(c, pkt, |
1258 &frame.u.stream_data_blocked) | 1269 &frame.u.stream_data_blocked) |
1259 != NGX_OK) | 1270 != NGX_OK) |