Skip to content

Commit

Permalink
added the patch for a bug in ngx_http_named_location in the nginx core.
Browse files Browse the repository at this point in the history
  • Loading branch information
agentzh committed May 2, 2012
1 parent 74d66c1 commit 2762f39
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
11 changes: 11 additions & 0 deletions patches/nginx-1.0.15-reset_wev_handler_in_named_locations.patch
@@ -0,0 +1,11 @@
--- nginx-1.0.15/src/http/ngx_http_core_module.c 2012-03-05 21:03:39.000000000 +0800
+++ nginx-1.0.15-patched/src/http/ngx_http_core_module.c 2012-05-02 21:57:40.624937882 +0800
@@ -2567,6 +2567,8 @@

r->phase_handler = cmcf->phase_engine.location_rewrite_index;

+ r->write_event_handler = ngx_http_core_run_phases;
+
ngx_http_core_run_phases(r);

return NGX_DONE;
3 changes: 3 additions & 0 deletions util/mirror-tarballs
Expand Up @@ -60,6 +60,9 @@ patch -p1 < $root/patches/nginx-$main_ver-allow_request_body_updating.patch || e

patch -p1 < $root/patches/nginx-$main_ver-log_escape_non_ascii.patch || exit 1

echo applying reset_wev_handler_in_named_locations.patch ...
patch -p1 < $root/patches/nginx-$main_ver-reset_wev_handler_in_named_locations.patch || exit 1

#echo "INFO: applying null-character-fixes patch"
#patch -p0 < $root/patches/nginx-$main_ver-null_character_fixes.patch || exit 1

Expand Down

0 comments on commit 2762f39

Please sign in to comment.