The official NGINX Open Source repository.
Go to file
Maxim Dounin 69fc41c9b5 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 Configure: restored "no-threads" in OpenSSL builds. 2018-03-22 15:56:07 +03:00
conf MIME: added most common OpenDocument types. 2017-10-02 19:07:01 +03:00
contrib Contrib: vim syntax, update core and 3rd party module directives. 2018-03-18 11:11:14 +02:00
docs nginx-1.14.1-RELEASE 2018-11-06 16:52:46 +03:00
misc Updated OpenSSL used for win32 builds. 2018-08-28 15:05:41 +03:00
src Upstream: fixed tcp_nopush with gRPC. 2018-07-02 19:03:04 +03:00
.hgtags release-1.14.1 tag 2018-11-06 16:52:46 +03:00