Commit Graph

118 Commits (d58787189a508629cdd1b4464a9583e4c91d9039)

Author SHA1 Message Date
Glenn Strauss d58787189a [core] handle common case of alnum or - field-name 3 years ago
Glenn Strauss 71a7b54947 [core] more 'const' in request.c prototypes 3 years ago
Glenn Strauss 36f3206a4c [core] pass ptr to http_request_parse() 3 years ago
Glenn Strauss 63e32e8100 [core] perf: HTTP header parsing using \n offsets 3 years ago
Glenn Strauss fa4ab19275 [core] reduce use of struct parse_header_state 3 years ago
Glenn Strauss cdf653f8ce [core] pass con around request, not srv and con 3 years ago
Glenn Strauss c22ec74770 [core] do not pass srv to http header parsing func 3 years ago
Glenn Strauss e2b4c309f6 [core] http_header_str_contains_token() 3 years ago
Glenn Strauss 6f803af03c [core] perf: request processing 3 years ago
Glenn Strauss f37c16aadd [core] fix one-byte OOB read (underflow) 3 years ago
Glenn Strauss 66624b375b [core] reject Transfer-Encoding + Content-Length (#2985) 3 years ago
Glenn Strauss 61f85d14ee [core] reject WS following header field-name (fixes #2985) 3 years ago
Glenn Strauss e3874a20ba [core] use buffer_eq_icase* funcs 3 years ago
Glenn Strauss 8441c9e8e8 [core] config option to allow GET w/ request body 4 years ago
Glenn Strauss fca9e5a0b1 [core] prefer memchr() over strchr() 4 years ago
Glenn Strauss daa5f7c576 [mod_accesslog] attempt to reconstruct req line 4 years ago
Glenn Strauss 950832af67 [core] RFC7230 HTTP-version parse 4 years ago
Glenn Strauss 9149b56418 [core] get_http_method_key() match by strlen first 4 years ago
Glenn Strauss b9a37291cb [core] lift code out of request line parse loop 4 years ago
Glenn Strauss e5d61e9a5f [core] http_request_parse() mark error paths cold 4 years ago
Glenn Strauss 25185d1de0 [core] pass req hdrs buffer to http_request_parse 4 years ago
Glenn Strauss 7493d628b9 [core] prefer buffer_caseless_compare() 4 years ago
Glenn Strauss d7ad5819e6 [core] copy request only if might need for logging 4 years ago
Glenn Strauss a620f80b77 [core] log_request_header_on_error in one place 4 years ago
Glenn Strauss 9ab5469365 [core] parse request in connection_read_header() 4 years ago
Glenn Strauss cef6ee675d [core] limit con->uri.authority < 1024 octets 4 years ago
Glenn Strauss f13db69012 [core] fix setting of headers previously reset (fixes #2919) 4 years ago
Glenn Strauss 15277bf9e1 [core] perf: one-element cache for host normalize 4 years ago
Glenn Strauss 062089ff14 [core] perf: array_reset_data_strings() 4 years ago
Glenn Strauss 3dd3cde902 [core] abstraction layer for HTTP header manip 4 years ago
Glenn Strauss c8159ee5f6 [core] http_request_parse_reqline() separate func 4 years ago
Glenn Strauss 28d6015b45 [core] simplify parsing hdr key whitespace then : 4 years ago
Glenn Strauss a7c27c9f99 [core] code reuse with array_insert_key_value() 4 years ago
Glenn Strauss 9d3cbaa74c [core] parse header line strings before copying 4 years ago
Glenn Strauss ad27206608 [core] redo HTTP header line folding 4 years ago
Stefan Bühler 3be0707839 [core] replace folding whitespace with a single space 4 years ago
Stefan Bühler df8e4f9561 [core,security] process headers after combining folded headers 4 years ago
Stefan Bühler a2cc330fb4 [core] header parsing: use goto for error handling 4 years ago
Stefan Bühler 725d951247 [core] explicitly return 0 instead of constant result 4 years ago
Stefan Bühler ed0054c2d3 [core] split parsing header line into separate function 4 years ago
Glenn Strauss d161f53de0 [core] security: use-after-free invalid Range req 4 years ago
Glenn Strauss 3eb7902e10 [core] server.http-parseopts URL normalization opt (fixes #1720) 4 years ago
Glenn Strauss c56b21084e [core] http_kv.[ch] method, status, version str 4 years ago
Glenn Strauss 04d76e7afd [core] some header cleanup 5 years ago
Glenn Strauss cd2b51cb1a [core] fix CONNECT w strict header parsing enabled 5 years ago
Glenn Strauss e6564641d8 [core] remove unused func 5 years ago
Glenn Strauss 1367f60626 [core] isolate sock_addr manipulation 5 years ago
Glenn Strauss 60b5826849 [core] stricter validation of request-URI begin 5 years ago
Glenn Strauss fa1eef0071 [core] permit LF to end lines if !header-strict 5 years ago
Glenn Strauss 513887fa52 [core] URI scheme is case-insensitive 5 years ago