diff options
author | Glenn Strauss <gstrauss@gluelogic.com> | 2021-06-13 23:11:18 -0400 |
---|---|---|
committer | Glenn Strauss <gstrauss@gluelogic.com> | 2021-08-27 02:16:53 -0400 |
commit | 0f90a9e3204fa563873abbc26784f689566b02e8 (patch) | |
tree | da6b3af452322bed4a5398d138e01720b5f93c8b /src/request.h | |
parent | 5beee8b2d4d1a84ce0d53c0ea787d2714693aec1 (diff) | |
download | lighttpd-git-0f90a9e3204fa563873abbc26784f689566b02e8.tar.gz |
[core] reduce memcmp in http_request_parse_header
extend http_header_parse_ctx to support enum http_header_h2_e
HTTP/2 pseudo-headers in hpctx->id before using memcmp()
Diffstat (limited to 'src/request.h')
-rw-r--r-- | src/request.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/request.h b/src/request.h index 457927bb..0f6793a0 100644 --- a/src/request.h +++ b/src/request.h @@ -206,7 +206,7 @@ typedef struct http_header_parse_ctx { uint8_t pseudo; uint8_t scheme; uint8_t trailers; - uint8_t id; + int8_t id; uint32_t max_request_field_size; unsigned int http_parseopts; } http_header_parse_ctx; |