Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

'segmentation fault' happens when nginx_version >= 1011006 #68

Open
ling-zhou opened this issue Aug 8, 2019 · 0 comments
Open

'segmentation fault' happens when nginx_version >= 1011006 #68

ling-zhou opened this issue Aug 8, 2019 · 0 comments

Comments

@ling-zhou
Copy link

fixing patch:

--- ngx_cache_purge_module.c
+++ ngx_cache_purge_module.c
@@ -492,7 +492,12 @@ 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
+
     ngx_str_t                      location;
     ngx_str_t                      url;
 
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant