summaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2010-02-12 09:32:02 +0000
committerIgor Sysoev <igor@sysoev.ru>2010-02-12 09:32:02 +0000
commit68813cae41039d7e150589f7ef1344a1ad0546f5 (patch)
tree5a15667f3ad85f37b2c64096a3c38ada8740b2d1 /src
parentd1311dfc716ee2927f6f04aba3ce5ea23e3d77f4 (diff)
downloadnginx-68813cae41039d7e150589f7ef1344a1ad0546f5.tar.gz
nginx-68813cae41039d7e150589f7ef1344a1ad0546f5.tar.bz2
fix request counter for $r->sleep(), the bug was introduced in r3050
Diffstat (limited to 'src')
-rw-r--r--src/http/modules/perl/nginx.xs1
1 files changed, 1 insertions, 0 deletions
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