Mercurial > hg > nginx-quic
comparison src/http/ngx_http_header_filter_module.c @ 7681:38c0898b6df7 quic
HTTP/3.
author | Roman Arutyunyan <arut@nginx.com> |
---|---|
date | Fri, 13 Mar 2020 19:36:33 +0300 |
parents | 8801ff7d58e1 |
children | a3257a725b3d |
comparison
equal
deleted
inserted
replaced
7680:6fd2cce50fe2 | 7681:38c0898b6df7 |
---|---|
177 | 177 |
178 if (r != r->main) { | 178 if (r != r->main) { |
179 return NGX_OK; | 179 return NGX_OK; |
180 } | 180 } |
181 | 181 |
182 #if (NGX_HTTP_V3) | |
183 | |
184 if (r->http_version == NGX_HTTP_VERSION_30) { | |
185 ngx_chain_t *cl; | |
186 | |
187 cl = ngx_http_v3_create_header(r); | |
188 if (cl == NULL) { | |
189 return NGX_ERROR; | |
190 } | |
191 | |
192 return ngx_http_write_filter(r, cl); | |
193 } | |
194 | |
195 #endif | |
196 | |
182 if (r->http_version < NGX_HTTP_VERSION_10) { | 197 if (r->http_version < NGX_HTTP_VERSION_10) { |
183 return NGX_OK; | 198 return NGX_OK; |
184 } | 199 } |
185 | 200 |
186 if (r->method == NGX_HTTP_HEAD) { | 201 if (r->method == NGX_HTTP_HEAD) { |