mirror of
https://github.com/nginx/nginx.git
synced 2024-12-30 08:47:47 +08:00
QUIC: fixed handling STREAM FIN.
Previously, when a STREAM FIN frame with no data bytes was received after all prior stream data were already read by the application layer, the frame was ignored and eof was not reported to the application.
This commit is contained in:
parent
38cfe35779
commit
a6120a9bc5
@ -1074,7 +1074,7 @@ ngx_quic_handle_stream_frame(ngx_connection_t *c, ngx_quic_header_t *pkt,
|
|||||||
return NGX_ERROR;
|
return NGX_ERROR;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (last <= qs->recv_offset) {
|
if (last < qs->recv_offset) {
|
||||||
return NGX_OK;
|
return NGX_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user