Skip to content

Commit

Permalink
Fix compatibility with nginx-1.11.6+
Browse files Browse the repository at this point in the history
  • Loading branch information
Sułowicz Paweł authored and denji committed Feb 21, 2017
1 parent 9077804 commit d2f6d1d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions ngx_cache_purge_module.c
Original file line number Diff line number Diff line change
Expand Up @@ -518,7 +518,11 @@ typedef struct {
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;

Expand Down

0 comments on commit d2f6d1d

Please sign in to comment.