Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

ngx-build: no need to apply the resolver_wev_handler_segfault_with_po…

…ll patch to nginx 1.2.7+.
  • Loading branch information...
commit d78c4491f4cfcd667013510b1ac179806a017a0f 1 parent 9d73509
@agentzh agentzh authored
Showing with 3 additions and 1 deletion.
  1. +3 −1 ngx-build
View
4 ngx-build
@@ -280,7 +280,9 @@ sub apply_patches {
chdir ".." or die "cannot switch to ..\n";
}
- shell("patch -p0 < $root/../ngx_openresty/patches/nginx-$version-resolver_wev_handler_segfault_with_poll.patch");
+ unless ($ver ge '001002007') {
+ shell("patch -p0 < $root/../ngx_openresty/patches/nginx-$version-resolver_wev_handler_segfault_with_poll.patch");
+ }
}
sub usage {
Please sign in to comment.
Something went wrong with that request. Please try again.