mirror of
https://github.com/nginx/nginx.git
synced 2025-01-06 22:23:00 -06:00
HTTP/3: trigger 400 (Bad Request) on stream error while blocked.
Previously, stream was closed with NGX_HTTP_CLOSE. However, in a similar case when recv() returns eof or error, status 400 is triggered.
This commit is contained in:
parent
d929470685
commit
faa655f211
@ -551,7 +551,7 @@ ngx_http_v3_process_request(ngx_event_t *rev)
|
||||
|
||||
if (rc == NGX_BUSY) {
|
||||
if (rev->error) {
|
||||
ngx_http_close_request(r, NGX_HTTP_CLOSE);
|
||||
ngx_http_finalize_request(r, NGX_HTTP_BAD_REQUEST);
|
||||
break;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user