Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
added the patch for a bug in ngx_http_named_location in the nginx core.
- Loading branch information
Showing
2 changed files
with
14 additions
and
0 deletions.
There are no files selected for viewing
11 changes: 11 additions & 0 deletions
11
patches/nginx-1.0.15-reset_wev_handler_in_named_locations.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters