aboutsummaryrefslogtreecommitdiff
path: root/src/http/ngx_http_request.h
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2004-07-16 17:11:43 +0000
committerIgor Sysoev <igor@sysoev.ru>2004-07-16 17:11:43 +0000
commitf38e046a0a2e7437f8232ef2a99cead69c4b9ebb (patch)
tree5d9a68d757f7994506cdb497ce43d4ddd63c7eaa /src/http/ngx_http_request.h
parent0ad253766fb8d62f257c446410a632a596ac5783 (diff)
downloadnginx-f38e046a0a2e7437f8232ef2a99cead69c4b9ebb.tar.gz
nginx-f38e046a0a2e7437f8232ef2a99cead69c4b9ebb.zip
nginx-0.0.7-2004-07-16-21:11:43 import
Diffstat (limited to 'src/http/ngx_http_request.h')
-rw-r--r--src/http/ngx_http_request.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/http/ngx_http_request.h b/src/http/ngx_http_request.h
index 7abd57f80..a80e0a57d 100644
--- a/src/http/ngx_http_request.h
+++ b/src/http/ngx_http_request.h
@@ -31,7 +31,8 @@
#define NGX_HTTP_PARSE_NO_HOST_HEADER 16
#define NGX_HTTP_PARSE_INVALID_CL_HEADER 17
#define NGX_HTTP_PARSE_POST_WO_CL_HEADER 18
-#define NGX_HTTP_PARSE_INVALID_HOST 19
+#define NGX_HTTP_PARSE_HTTP_TO_HTTPS 19
+#define NGX_HTTP_PARSE_INVALID_HOST 20
#define NGX_HTTP_OK 200
@@ -217,6 +218,9 @@ struct ngx_http_request_s {
ngx_connection_t *connection;
+ ngx_recv_pt recv;
+ ngx_send_chain_pt send_chain;
+
void **ctx;
void **main_conf;
void **srv_conf;
@@ -292,6 +296,7 @@ struct ngx_http_request_s {
/* can we use sendfile ? */
unsigned sendfile:1;
+ unsigned plain_http:1;
unsigned chunked:1;
unsigned header_only:1;
unsigned keepalive:1;