freebsd-ports/www/nginx/files/extra-patch-ngx_http_notice_module.c
Sergey A. Osokin 17d36a2865 Merge latest changes from www/nginx-devel:
o) Add two more third-party modules: http_mp4_streaming_lite
   and http_notice_module.

o) Add two new variables NGINX_ACCESSLOG and NGINX_ERRORLOG
   to allow log paths customization, i.e.

   % make NGINX_ACCESSLOG=/dev/null

   NOTE.  If you want nginx to log errors into stderr it's
   better to use

   % make NGINX_ERRORLOG=stderr

   instead of NGINX_ERRORLOG=/dev/stderr to avoid duplicate
   error messages during startup.

Do not bump PORTREVISION.
2009-07-20 10:56:44 +00:00

11 lines
384 B
C

--- ../nginx-notice-2/ngx_http_notice_module.c.orig 2009-07-16 18:37:57.000000000 +0200
+++ ../nginx-notice-2/ngx_http_notice_module.c 2009-07-16 08:09:38.000000000 +0200
@@ -153,7 +153,7 @@
return NGX_HTTP_NOT_ALLOWED;
}
- rc = ngx_http_discard_body(r);
+ rc = ngx_http_discard_request_body(r);
if (rc != NGX_OK && rc != NGX_AGAIN) {
return rc;