mirror of
https://github.com/nginx/nginx.git
synced 2025-02-03 20:10:42 -06:00
fix request counter for $r->sleep(), the bug was introduced in r3050
This commit is contained in:
parent
d1311dfc71
commit
68813cae41
@ -944,6 +944,7 @@ sleep(r, sleep, next)
|
|||||||
ngx_add_timer(r->connection->write, sleep);
|
ngx_add_timer(r->connection->write, sleep);
|
||||||
|
|
||||||
r->write_event_handler = ngx_http_perl_sleep_handler;
|
r->write_event_handler = ngx_http_perl_sleep_handler;
|
||||||
|
r->main->count++;
|
||||||
|
|
||||||
|
|
||||||
void
|
void
|
||||||
|
Loading…
Reference in New Issue
Block a user