diff --git a/CHANGES b/CHANGES index ead3cdf..afb9e78 100644 --- a/CHANGES +++ b/CHANGES @@ -1,3 +1,9 @@ +2021-05-24 VERSION 2.5 + * Fix compatibility with nginx-1.19.3+. + +2017-02-02 VERSION 2.4 + * Fix compatibility with nginx-1.11.6+. + 2014-12-23 VERSION 2.3 * Fix compatibility with nginx-1.7.9+. diff --git a/ngx_cache_purge_module.c b/ngx_cache_purge_module.c index 62d3818..804e46f 100644 --- a/ngx_cache_purge_module.c +++ b/ngx_cache_purge_module.c @@ -487,12 +487,19 @@ typedef struct { ngx_array_t *cookie_domains; ngx_array_t *cookie_paths; # endif /* nginx_version >= 1001015 */ +# if (nginx_version >= 1019003) + ngx_array_t *cookie_flags; +# endif /* nginx_version >= 1019003 */ # if (nginx_version < 1007008) ngx_str_t body_source; # endif /* nginx_version < 1007008 */ +# if (nginx_version >= 1011006) + ngx_http_complex_value_t *method; +# else ngx_str_t method; +# endif /* nginx_version >= 1011006 */ ngx_str_t location; ngx_str_t url;