comparison src/http/ngx_http_request.c @ 8276:ea264b21bfce quic

QUIC streams don't need filter_need_in_memory after 7f0981be07c4. Now they inherit c->ssl always enabled from the main connection, which makes r->main_filter_need_in_memory set for them.
author Sergey Kandaurov <pluknet@nginx.com>
date Tue, 24 Mar 2020 19:17:57 +0300
parents 7f0981be07c4
children b364af7f9f3f
comparison
equal deleted inserted replaced
8275:19660929e8ff 8276:ea264b21bfce
707 r->http_version = NGX_HTTP_VERSION_10; 707 r->http_version = NGX_HTTP_VERSION_10;
708 708
709 #if (NGX_HTTP_V3) 709 #if (NGX_HTTP_V3)
710 if (hc->quic) { 710 if (hc->quic) {
711 r->http_version = NGX_HTTP_VERSION_30; 711 r->http_version = NGX_HTTP_VERSION_30;
712 r->filter_need_in_memory = 1;
713 } 712 }
714 #endif 713 #endif
715 714
716 r->headers_in.content_length_n = -1; 715 r->headers_in.content_length_n = -1;
717 r->headers_in.keep_alive_n = -1; 716 r->headers_in.keep_alive_n = -1;