Welcome! Log In Create A New Profile

Advanced

Patch for ngx_purge_cache on nginx-1.3.2 not working

June 27, 2012 05:14PM
--- a/ngx_cache_purge_module.c 2012-06-28 05:08:44.000000000 +0800
+++ b/ngx_cache_purge_module.c 2011-12-20 20:36:20.000000000 +0800
@@ -41,7 +41,7 @@ char *ngx_http_fastcgi_cache_purge
ngx_int_t ngx_http_fastcgi_cache_purge_handler(ngx_http_request_t *r);
# endif /* NGX_HTTP_FASTCGI */

-# if (NGX_HTTP_PROXY || nginx_version >= 1003002)
+# if (NGX_HTTP_PROXY)
char *ngx_http_proxy_cache_purge_conf(ngx_conf_t *cf,
ngx_command_t *cmd, void *conf);
ngx_int_t ngx_http_proxy_cache_purge_handler(ngx_http_request_t *r);
@@ -76,7 +76,7 @@ static ngx_command_t ngx_http_cache_pur
NULL },
# endif /* NGX_HTTP_FASTCGI */

-# if (NGX_HTTP_PROXY || nginx_version >= 1003002)
+# if (NGX_HTTP_PROXY)
{ ngx_string("proxy_cache_purge"),
NGX_HTTP_LOC_CONF|NGX_CONF_TAKE2,
ngx_http_proxy_cache_purge_conf,
@@ -257,7 +257,7 @@ ngx_http_fastcgi_cache_purge_handler(ngx
}
# endif /* NGX_HTTP_FASTCGI */

-# if (NGX_HTTP_PROXY || nginx_version >= 1003002)
+# if (NGX_HTTP_PROXY)
extern ngx_module_t ngx_http_proxy_module;

typedef struct {


--
MagicBear

_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-devel
Subject Author Views Posted

Patch for ngx_purge_cache on nginx-1.3.2 not working

magicbear 1401 June 27, 2012 05:14PM

Re: Patch for ngx_purge_cache on nginx-1.3.2 not working

magicbear 785 June 27, 2012 05:20PM

Re: Patch for ngx_purge_cache on nginx-1.3.2 not working

Ruslan Ermilov 596 June 28, 2012 09:46AM

Re: Patch for ngx_purge_cache on nginx-1.3.2 not working

Piotr Sikora 688 July 02, 2012 01:42PM



Sorry, you do not have permission to post/reply in this forum.

Online Users

Guests: 226
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready