diff src/http/ngx_http.h @ 4125:e5df04b05e75

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.
author Maxim Dounin <mdounin@mdounin.ru>
date Thu, 15 Sep 2011 19:22:35 +0000
parents c1e3cb4c669c
children d620f497c50f
line wrap: on
line diff
--- 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;