aboutsummaryrefslogtreecommitdiff
path: root/src/http/ngx_http_request.h
diff options
context:
space:
mode:
authorValentin Bartenev <vbart@nginx.com>2013-03-07 18:14:27 +0000
committerValentin Bartenev <vbart@nginx.com>2013-03-07 18:14:27 +0000
commitbf23093e108db534e6d9deaac605fbd909172d2a (patch)
tree8e4588f809fa16bb68da1c58c4e24a9252eb979a /src/http/ngx_http_request.h
parenta32d3f8b6b63672fd96ca5ffb82e3e2ee0719850 (diff)
downloadnginx-bf23093e108db534e6d9deaac605fbd909172d2a.tar.gz
nginx-bf23093e108db534e6d9deaac605fbd909172d2a.zip
Refactored ngx_http_init_request().
Now it can be used as the request object factory with minimal impact on the connection object. Therefore it was renamed to ngx_http_create_request().
Diffstat (limited to 'src/http/ngx_http_request.h')
-rw-r--r--src/http/ngx_http_request.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/http/ngx_http_request.h b/src/http/ngx_http_request.h
index fd004e8f1..c33f9a945 100644
--- a/src/http/ngx_http_request.h
+++ b/src/http/ngx_http_request.h
@@ -308,8 +308,9 @@ typedef struct {
ngx_buf_t **free;
ngx_int_t nfree;
- unsigned pipeline:1;
- unsigned ssl:1;
+#if (NGX_HTTP_SSL)
+ ngx_uint_t ssl; /* unsigned ssl:1; */
+#endif
} ngx_http_connection_t;