Mercurial > hg > nginx-quic
comparison src/http/ngx_http_request.h @ 6993:8801ff7d58e1
Don't pretend we support HTTP major versions >1 as HTTP/1.1.
author | Ruslan Ermilov <ru@nginx.com> |
---|---|
date | Tue, 25 Apr 2017 23:39:13 +0300 |
parents | be5cfa918bfc |
children | 9552758a786e |
comparison
equal
deleted
inserted
replaced
6992:330b6c33a5c4 | 6993:8801ff7d58e1 |
---|---|
52 #define NGX_HTTP_PARSE_HEADER_DONE 1 | 52 #define NGX_HTTP_PARSE_HEADER_DONE 1 |
53 | 53 |
54 #define NGX_HTTP_CLIENT_ERROR 10 | 54 #define NGX_HTTP_CLIENT_ERROR 10 |
55 #define NGX_HTTP_PARSE_INVALID_METHOD 10 | 55 #define NGX_HTTP_PARSE_INVALID_METHOD 10 |
56 #define NGX_HTTP_PARSE_INVALID_REQUEST 11 | 56 #define NGX_HTTP_PARSE_INVALID_REQUEST 11 |
57 #define NGX_HTTP_PARSE_INVALID_09_METHOD 12 | 57 #define NGX_HTTP_PARSE_INVALID_VERSION 12 |
58 | 58 #define NGX_HTTP_PARSE_INVALID_09_METHOD 13 |
59 #define NGX_HTTP_PARSE_INVALID_HEADER 13 | 59 |
60 #define NGX_HTTP_PARSE_INVALID_HEADER 14 | |
60 | 61 |
61 | 62 |
62 /* unused 1 */ | 63 /* unused 1 */ |
63 #define NGX_HTTP_SUBREQUEST_IN_MEMORY 2 | 64 #define NGX_HTTP_SUBREQUEST_IN_MEMORY 2 |
64 #define NGX_HTTP_SUBREQUEST_WAITED 4 | 65 #define NGX_HTTP_SUBREQUEST_WAITED 4 |
134 #define NGX_HTTP_INTERNAL_SERVER_ERROR 500 | 135 #define NGX_HTTP_INTERNAL_SERVER_ERROR 500 |
135 #define NGX_HTTP_NOT_IMPLEMENTED 501 | 136 #define NGX_HTTP_NOT_IMPLEMENTED 501 |
136 #define NGX_HTTP_BAD_GATEWAY 502 | 137 #define NGX_HTTP_BAD_GATEWAY 502 |
137 #define NGX_HTTP_SERVICE_UNAVAILABLE 503 | 138 #define NGX_HTTP_SERVICE_UNAVAILABLE 503 |
138 #define NGX_HTTP_GATEWAY_TIME_OUT 504 | 139 #define NGX_HTTP_GATEWAY_TIME_OUT 504 |
140 #define NGX_HTTP_VERSION_NOT_SUPPORTED 505 | |
139 #define NGX_HTTP_INSUFFICIENT_STORAGE 507 | 141 #define NGX_HTTP_INSUFFICIENT_STORAGE 507 |
140 | 142 |
141 | 143 |
142 #define NGX_HTTP_LOWLEVEL_BUFFERED 0xf0 | 144 #define NGX_HTTP_LOWLEVEL_BUFFERED 0xf0 |
143 #define NGX_HTTP_WRITE_BUFFERED 0x10 | 145 #define NGX_HTTP_WRITE_BUFFERED 0x10 |