comparison src/http/ngx_http_header_filter_module.c @ 8977:7c2adf237091 quic

Merged with the default branch.
author Sergey Kandaurov <pluknet@nginx.com>
date Tue, 25 Jan 2022 23:42:48 +0300
parents 1efee5e4194c 96ae8e57b3dd
children 0b51902d9f24
comparison
equal deleted inserted replaced
8976:4646a981111f 8977:7c2adf237091
195 r->headers_out.last_modified_time = -1; 195 r->headers_out.last_modified_time = -1;
196 r->headers_out.last_modified = NULL; 196 r->headers_out.last_modified = NULL;
197 } 197 }
198 } 198 }
199 199
200 if (r->keepalive && (ngx_terminate || ngx_exiting)) {
201 r->keepalive = 0;
202 }
203
200 len = sizeof("HTTP/1.x ") - 1 + sizeof(CRLF) - 1 204 len = sizeof("HTTP/1.x ") - 1 + sizeof(CRLF) - 1
201 /* the end of the header */ 205 /* the end of the header */
202 + sizeof(CRLF) - 1; 206 + sizeof(CRLF) - 1;
203 207
204 /* status line */ 208 /* status line */