diff options
Diffstat (limited to 'src/nxt_http_parse.h')
-rw-r--r-- | src/nxt_http_parse.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/nxt_http_parse.h b/src/nxt_http_parse.h index 293c4d0e..0a0ca340 100644 --- a/src/nxt_http_parse.h +++ b/src/nxt_http_parse.h @@ -8,6 +8,12 @@ #define _NXT_HTTP_PARSER_H_INCLUDED_ +typedef enum { + NXT_HTTP_PARSE_INVALID = 1, + NXT_HTTP_PARSE_TOO_LARGE_FIELD, +} nxt_http_parse_error_t; + + typedef struct nxt_http_request_parse_s nxt_http_request_parse_t; typedef struct nxt_http_field_s nxt_http_field_t; typedef struct nxt_http_fields_hash_s nxt_http_fields_hash_t; |