An official read-only mirror of http://hg.nginx.org/nginx/ which is updated hourly. Pull requests on GitHub cannot be accepted and will be automatically closed. The proper way to submit changes to nginx is via the nginx development mailing list, see http://nginx.org/en/docs/contributing_changes.html
Go to file
Sergey Kandaurov 9ecf842864 Cleaned up r->headers_out.headers allocation error handling.
If initialization of a header failed for some reason after ngx_list_push(),
leaving the header as is can result in uninitialized memory access by
the header filter or the log module.  The fix is to clear partially
initialized headers in case of errors.

For the Cache-Control header, the fix is to postpone pushing
r->headers_out.cache_control until its value is completed.
2017-04-20 18:26:37 +03:00
auto Set UDP datagram source address (ticket #1239). 2017-04-11 16:41:53 +03:00
conf Added the REQUEST_SCHEME parameter. 2015-06-05 22:23:26 +03:00
contrib Contrib: vim syntax, update 3rd party module directives. 2017-03-01 23:41:39 +08:00
docs nginx-1.11.13-RELEASE 2017-04-04 18:01:57 +03:00
misc Added HTTP/2 to win32 builds. 2017-03-21 17:28:15 +03:00
src Cleaned up r->headers_out.headers allocation error handling. 2017-04-20 18:26:37 +03:00
.hgtags release-1.11.13 tag 2017-04-04 18:01:57 +03:00