The official NGINX Open Source repository.
Go to file
Maxim Dounin a3b5ccd056 Request body: removed error assumption (ticket #2058).
Before introduction of request body filter in 42d9beeb22db, the only
possible return code from the ngx_http_request_body_filter() call
without actual buffers was NGX_HTTP_INTERNAL_SERVER_ERROR, and
the code in ngx_http_read_client_request_body() hardcoded the only
possible error to simplify the code of initial call to set rb->rest.

This is no longer true after introduction of request body filters though,
as a request body filter might need to return other errors, such as 403.
Fix is to preserve the error code actually returned by the call
instead of assuming 500.
2020-11-09 22:41:54 +03:00
auto Stream: set module. 2020-08-28 14:10:54 -07:00
conf MIME: added font/woff2 type (ticket #1243). 2018-06-15 17:29:55 +03:00
contrib Contrib: vim syntax, update core and 3rd party module directives. 2020-05-26 19:17:11 +03:00
docs nginx-1.19.4-RELEASE 2020-10-27 18:09:20 +03:00
misc Updated OpenSSL used for win32 builds. 2020-09-29 15:56:16 +03:00
src Request body: removed error assumption (ticket #2058). 2020-11-09 22:41:54 +03:00
.hgtags release-1.19.4 tag 2020-10-27 18:09:20 +03:00