Mercurial > hg > nginx-quic
comparison 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 |
comparison
equal
deleted
inserted
replaced
4124:0c30976f5bfa | 4125:e5df04b05e75 |
---|---|
50 ngx_http_request_t *current_request; | 50 ngx_http_request_t *current_request; |
51 }; | 51 }; |
52 | 52 |
53 | 53 |
54 typedef struct { | 54 typedef struct { |
55 ngx_uint_t http_version; | |
55 ngx_uint_t code; | 56 ngx_uint_t code; |
56 ngx_uint_t count; | 57 ngx_uint_t count; |
57 u_char *start; | 58 u_char *start; |
58 u_char *end; | 59 u_char *end; |
59 } ngx_http_status_t; | 60 } ngx_http_status_t; |