From: Igor Sysoev Date: Fri, 12 Feb 2010 09:32:02 +0000 (+0000) Subject: fix request counter for $r->sleep(), the bug was introduced in r3050 X-Git-Tag: release-0.8.34~19 X-Git-Url: http://www.kaiwu.me/postgresql/commit/?a=commitdiff_plain;h=68813cae41039d7e150589f7ef1344a1ad0546f5;p=nginx.git fix request counter for $r->sleep(), the bug was introduced in r3050 --- diff --git a/src/http/modules/perl/nginx.xs b/src/http/modules/perl/nginx.xs index 0c2c9b617..357b1b9ae 100644 --- a/src/http/modules/perl/nginx.xs +++ b/src/http/modules/perl/nginx.xs @@ -944,6 +944,7 @@ sleep(r, sleep, next) ngx_add_timer(r->connection->write, sleep); r->write_event_handler = ngx_http_perl_sleep_handler; + r->main->count++; void