nginx-0.0.7-2004-07-14-00:24:56 import

This commit is contained in:
Igor Sysoev 2004-07-13 20:24:56 +00:00
parent a14f89c068
commit 846c27b2ac

View File

@ -643,7 +643,11 @@ static ngx_int_t ngx_rtsig_process_overflow(ngx_cycle_t *cycle)
rev = c->read;
if (overflow_list[i].revents & (POLLIN|POLLERR|POLLHUP|POLLNVAL)) {
if (rev->active
&& rev->event_handler
&& (overflow_list[i].revents
& (POLLIN|POLLERR|POLLHUP|POLLNVAL)))
{
tested++;
if (ngx_threaded) {
@ -658,7 +662,11 @@ static ngx_int_t ngx_rtsig_process_overflow(ngx_cycle_t *cycle)
wev = c->write;
if (overflow_list[i].revents & (POLLOUT|POLLERR|POLLHUP|POLLNVAL)) {
if (wev->active
&& wev->event_handler
&& (overflow_list[i].revents
& (POLLOUT|POLLERR|POLLHUP|POLLNVAL)))
{
tested++;
if (ngx_threaded) {