Mercurial > hg > nginx
diff src/http/ngx_http_upstream.c @ 6246:257b51c37c5a
The HTTP/2 implementation (RFC 7240, 7241).
The SPDY support is removed, as it's incompatible with the new module.
author | Valentin Bartenev <vbart@nginx.com> |
---|---|
date | Fri, 11 Sep 2015 20:13:06 +0300 |
parents | 0e3a45ec2a3a |
children | 4d5ac1a31d44 |
line wrap: on
line diff
--- a/src/http/ngx_http_upstream.c Fri Sep 11 17:04:40 2015 +0300 +++ b/src/http/ngx_http_upstream.c Fri Sep 11 20:13:06 2015 +0300 @@ -475,8 +475,8 @@ ngx_log_debug1(NGX_LOG_DEBUG_HTTP, c->log, 0, "http init upstream, client timer: %d", c->read->timer_set); -#if (NGX_HTTP_SPDY) - if (r->spdy_stream) { +#if (NGX_HTTP_V2) + if (r->stream) { ngx_http_upstream_init_request(r); return; } @@ -1151,8 +1151,8 @@ return; } -#if (NGX_HTTP_SPDY) - if (r->spdy_stream) { +#if (NGX_HTTP_V2) + if (r->stream) { return; } #endif