The official NGINX Open Source repository.
Go to file
Patryk Lesiewicz 7b3f187bc6 Upstream: flush low-level buffers on write retry.
If the data to write is bigger than what the socket can send, and the
reminder is smaller than NGX_SSL_BUFSIZE, then SSL_write() fails with
SSL_ERROR_WANT_WRITE. The reminder of payload however is successfully
copied to the low-level buffer and all the output chain buffers are
flushed. This means that retry logic doesn't work because
ngx_http_upstream_process_non_buffered_request() checks only if there's
anything in the output chain buffers and ignores the fact that something
may be buffered in low-level parts of the stack.

Signed-off-by: Patryk Lesiewicz <patryk@google.com>
2017-12-01 15:59:14 -08:00
auto Configure: fixed clang detection on MINIX. 2017-11-23 16:33:40 +03:00
conf MIME: added most common OpenDocument types. 2017-10-02 19:07:01 +03:00
contrib Contrib: proper syntax parsing in vim syntax highlighting. 2017-05-22 16:34:47 +03:00
docs nginx-1.13.7-RELEASE 2017-11-21 18:09:43 +03:00
misc Updated OpenSSL used for win32 builds. 2017-11-21 17:32:12 +03:00
src Upstream: flush low-level buffers on write retry. 2017-12-01 15:59:14 -08:00
.hgtags release-1.13.7 tag 2017-11-21 18:09:44 +03:00