mirror of
https://github.com/openresty/openresty.git
synced 2024-10-13 00:29:41 +00:00
Compare commits
4 Commits
v1.0.10.13
...
v1.0.10.21
Author | SHA1 | Date | |
---|---|---|---|
f4745c3d28 | |||
99f0e9f829 | |||
96c2c3559a | |||
650f75a1f9 |
@ -1,9 +1,9 @@
|
|||||||
--- nginx-1.0.10/src/event/modules/ngx_epoll_module.c 2011-09-30 22:12:53.000000000 +0800
|
--- nginx-1.0.10/src/event/modules/ngx_epoll_module.c 2011-09-30 22:12:53.000000000 +0800
|
||||||
+++ nginx-1.0.10-patched/src/event/modules/ngx_epoll_module.c 2011-11-07 18:07:04.764111952 +0800
|
+++ nginx-1.0.10-patched/src/event/modules/ngx_epoll_module.c 2011-11-30 11:08:46.775817019 +0800
|
||||||
@@ -681,6 +681,18 @@
|
@@ -682,6 +682,17 @@
|
||||||
|
|
||||||
wev = c->write;
|
wev = c->write;
|
||||||
|
|
||||||
|
if ((revents & EPOLLOUT) && wev->active) {
|
||||||
+ if (c->fd == -1 || wev->instance != instance) {
|
+ if (c->fd == -1 || wev->instance != instance) {
|
||||||
+
|
+
|
||||||
+ /*
|
+ /*
|
||||||
@ -15,7 +15,6 @@
|
|||||||
+ "epoll: stale event %p", c);
|
+ "epoll: stale event %p", c);
|
||||||
+ continue;
|
+ continue;
|
||||||
+ }
|
+ }
|
||||||
+
|
|
||||||
if ((revents & EPOLLOUT) && wev->active) {
|
|
||||||
|
|
||||||
if (flags & NGX_POST_THREAD_EVENTS) {
|
if (flags & NGX_POST_THREAD_EVENTS) {
|
||||||
|
wev->posted_ready = 1;
|
||||||
|
@ -107,7 +107,7 @@ mv chaoslawful-drizzle-nginx-module-* drizzle-nginx-module-$ver || exit 1
|
|||||||
|
|
||||||
#################################
|
#################################
|
||||||
|
|
||||||
ver=0.3.1rc34
|
ver=0.3.1rc37
|
||||||
$root/util/get-tarball "http://github.com/chaoslawful/lua-nginx-module/tarball/v$ver" -O lua-nginx-module-$ver.tar.gz || exit 1
|
$root/util/get-tarball "http://github.com/chaoslawful/lua-nginx-module/tarball/v$ver" -O lua-nginx-module-$ver.tar.gz || exit 1
|
||||||
tar -xzf lua-nginx-module-$ver.tar.gz || exit 1
|
tar -xzf lua-nginx-module-$ver.tar.gz || exit 1
|
||||||
mv chaoslawful-lua-nginx-module-* ngx_lua-$ver || exit 1
|
mv chaoslawful-lua-nginx-module-* ngx_lua-$ver || exit 1
|
||||||
|
Reference in New Issue
Block a user