The official NGINX Open Source repository.
Go to file
Maxim Dounin a7186c8f1c Upstream: fixed tcp_nopush with gRPC.
With gRPC it is possible that a request sending is blocked due to flow
control.  Moreover, further sending might be only allowed once the
backend sees all the data we've already sent.  With such a backend
it is required to clear the TCP_NOPUSH socket option to make sure all
the data we've sent are actually delivered to the backend.

As such, we now clear TCP_NOPUSH in ngx_http_upstream_send_request()
also on NGX_AGAIN if c->write->ready is set.  This fixes a test (which
waits for all the 64k bytes as per initial window before allowing more
bytes) with sendfile enabled when the body was written to a file
in a different context.
2018-07-02 19:03:04 +03:00
auto Upstream: ngx_http_upstream_random module. 2018-06-15 11:46:14 +03: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. 2018-03-18 11:11:14 +02:00
docs nginx-1.15.0-RELEASE 2018-06-05 16:47:25 +03:00
misc Updated OpenSSL and PCRE used for win32 builds. 2018-04-03 03:54:09 +03:00
src Upstream: fixed tcp_nopush with gRPC. 2018-07-02 19:03:04 +03:00
.hgtags release-1.15.0 tag 2018-06-05 16:47:25 +03:00