aboutsummaryrefslogtreecommitdiff
path: root/src/http/modules/perl/ngx_http_perl_module.h
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2008-02-16 14:23:14 +0000
committerIgor Sysoev <igor@sysoev.ru>2008-02-16 14:23:14 +0000
commit0a0c02f58b477257dd3e7e7f62274e5671b88e8e (patch)
tree6f51ea7b1224d4b344062a3b70eb2e51f83df66f /src/http/modules/perl/ngx_http_perl_module.h
parent5fa1146dd5bfd68bc8212935a509edb6d2d0a4af (diff)
downloadnginx-0a0c02f58b477257dd3e7e7f62274e5671b88e8e.tar.gz
nginx-0a0c02f58b477257dd3e7e7f62274e5671b88e8e.zip
optimize $r->sleep
Diffstat (limited to 'src/http/modules/perl/ngx_http_perl_module.h')
-rw-r--r--src/http/modules/perl/ngx_http_perl_module.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/http/modules/perl/ngx_http_perl_module.h b/src/http/modules/perl/ngx_http_perl_module.h
index 6ae63e820..23969bcd4 100644
--- a/src/http/modules/perl/ngx_http_perl_module.h
+++ b/src/http/modules/perl/ngx_http_perl_module.h
@@ -25,9 +25,8 @@ typedef struct {
ngx_str_t redirect_args;
SV *next;
- int sleep;
- ngx_uint_t done; /* unsigned done:1; */
+ ngx_uint_t done; /* unsigned done:1; */
ngx_array_t *variables; /* array of ngx_http_perl_var_t */
@@ -61,6 +60,7 @@ extern void boot_DynaLoader(pTHX_ CV* cv);
void ngx_http_perl_handle_request(ngx_http_request_t *r);
+void ngx_http_perl_sleep_handler(ngx_http_request_t *r);
#endif /* _NGX_HTTP_PERL_MODULE_H_INCLUDED_ */