mirror of
https://git.freebsd.org/ports.git
synced 2025-07-02 18:10:38 -04:00
ChangeLog: http://nginx.org/en/CHANGES-1.12 Also, remove third-party modules: o) udplog o) statsd Upgrade third-party modules: o) lua to 0.10.8 o) upstream_fair to b5be36f (upstream has been changed) Please see this comment in case of the production use of the lua module: https://github.com/openresty/lua-nginx-module/pull/1017#issuecomment-294076002 Patches obtained from: o)0459a285ca
o)d19df15904
18 lines
729 B
C
18 lines
729 B
C
--- ../modsecurity-2.9.1/nginx/modsecurity/ngx_http_modsecurity.c.orig 2017-04-15 10:45:12.886736000 -0400
|
|
+++ ../modsecurity-2.9.1/nginx/modsecurity/ngx_http_modsecurity.c 2017-04-15 10:45:59.921529000 -0400
|
|
@@ -528,9 +528,15 @@
|
|
|
|
hc = r->http_connection;
|
|
|
|
+#if defined(nginx_version) && nginx_version >= 1011011
|
|
+ if (hc->free && size == cscf->large_client_header_buffers.size) {
|
|
+
|
|
+ buf = hc->free->buf;
|
|
+#else
|
|
if (hc->nfree && size == cscf->large_client_header_buffers.size) {
|
|
|
|
buf = hc->free[--hc->nfree];
|
|
+#endif
|
|
|
|
ngx_log_debug2(NGX_LOG_DEBUG_HTTP, r->connection->log, 0,
|
|
"ModSecurity: use http free large header buffer: %p %uz",
|