nginx-0.0.1-2003-12-25-23:26:58 import
diff --git a/src/http/ngx_http_request.c b/src/http/ngx_http_request.c index 6a5fa98..6d11f4b 100644 --- a/src/http/ngx_http_request.c +++ b/src/http/ngx_http_request.c
@@ -142,6 +142,8 @@ } } + r->http_state = NGX_HTTP_INITING_REQUEST_STATE; + /* find the server configuration for the address:port */ /* AF_INET only */ @@ -1519,6 +1521,7 @@ } c->fd = -1; + c->data = NULL; ngx_destroy_pool(c->pool); @@ -1545,13 +1548,13 @@ if (ctx->url) { ngx_log_error(NGX_LOG_ERR, r->connection->log, 0, - client_header_errors[client_error - NGX_HTTP_CLIENT_ERROR], - ctx->client, ctx->url); + client_header_errors[client_error - NGX_HTTP_CLIENT_ERROR], + ctx->client, ctx->url); } else { ngx_log_error(NGX_LOG_ERR, r->connection->log, 0, - client_header_errors[client_error - NGX_HTTP_CLIENT_ERROR], - ctx->client); + client_header_errors[client_error - NGX_HTTP_CLIENT_ERROR], + ctx->client); } r->connection->log->handler = ngx_http_log_error;