summaryrefslogtreecommitdiffhomepage
path: root/src/http/ngx_http.h
diff options
context:
space:
mode:
authorMaxim Dounin <mdounin@mdounin.ru>2011-09-15 19:22:35 +0000
committerMaxim Dounin <mdounin@mdounin.ru>2011-09-15 19:22:35 +0000
commitf2fcf11b25ead5b0c3c0f015a7203f2d30619396 (patch)
tree0ffe5f9e4658b37c898aaff4c3b76bf3454635c3 /src/http/ngx_http.h
parentf84c69a3014dd2c4479e4c07e487f8aaa22d336f (diff)
downloadnginx-f2fcf11b25ead5b0c3c0f015a7203f2d30619396.tar.gz
nginx-f2fcf11b25ead5b0c3c0f015a7203f2d30619396.tar.bz2
Protocol version parsing in ngx_http_parse_status_line().
Once we know protocol version, set u->headers_in.connection_close to indicate implicitly assumed connection close with HTTP before 1.1.
Diffstat (limited to '')
-rw-r--r--src/http/ngx_http.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/http/ngx_http.h b/src/http/ngx_http.h
index e3619e148..3c1a9d275 100644
--- a/src/http/ngx_http.h
+++ b/src/http/ngx_http.h
@@ -52,6 +52,7 @@ struct ngx_http_log_ctx_s {
typedef struct {
+ ngx_uint_t http_version;
ngx_uint_t code;
ngx_uint_t count;
u_char *start;