nginx-0.0.7-2004-06-24-11:53:37 import
diff --git a/src/http/ngx_http_request.c b/src/http/ngx_http_request.c
index e935afb..d1ed4f3 100644
--- a/src/http/ngx_http_request.c
+++ b/src/http/ngx_http_request.c
@@ -161,6 +161,7 @@
}
}
+ r->signature = NGX_HTTP_MODULE;
r->http_state = NGX_HTTP_INITING_REQUEST_STATE;
/* find the server configuration for the address:port */
@@ -1382,6 +1383,8 @@
c->tcp_nopush = NGX_TCP_NOPUSH_UNSET;
}
+ r->http_state = NGX_HTTP_KEEPALIVE_STATE;
+
if (rev->ready) {
ngx_http_keepalive_handler(rev);
}
@@ -1688,6 +1691,8 @@
ctx = log->data;
ctx->url = NULL;
+ r->request_line.len = 0;
+
ngx_destroy_pool(r->pool);
return;