Klaus Demo nginx / 1331a99
Upstream: fixed unexpected tcp_nopush usage on peer connections. Now tcp_nopush on peer connections is disabled if it is disabled on the client connection, similar to how we handle c->sendfile. Previously, tcp_nopush was always used on upstream connections, regardless of the "tcp_nopush" directive. Maxim Dounin 4 years ago
1 changed file(s) with 4 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
15551555 c->sendfile &= r->connection->sendfile;
15561556 u->output.sendfile = c->sendfile;
15571557
1558 if (r->connection->tcp_nopush == NGX_TCP_NOPUSH_DISABLED) {
1559 c->tcp_nopush = NGX_TCP_NOPUSH_DISABLED;
1560 }
1561
15581562 if (c->pool == NULL) {
15591563
15601564 /* we need separate pool here to be able to cache SSL connections */