95 Commits (a620f80b77be952011ae326b4609f2f3fb7684b0)

Author SHA1 Message Date
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 4 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
Glenn Strauss 9bc61f16cb [core] attempt to quiet coverity false positives 5 years ago
Glenn Strauss 86bb8be2c8 [core] perf: skip redundant strlen() if len known 5 years ago
Glenn Strauss 40f72a41b9 [core] omit default port from normalized host str 5 years ago
Glenn Strauss a448886485 [core] inet_pton(), inet_ntop() on (sock_addr *) 5 years ago
Glenn Strauss 1104afc49b [core] export http_request_host_policy() for reuse 5 years ago
Glenn Strauss a53f662a30 [core] remove some unused header includes 5 years ago
Glenn Strauss 14890c1c89 [core] remove redundant Content-Length digit check 5 years ago
Glenn Strauss 37dac9a23c [core] support Expect: 100-continue with HTTP/1.1 (fixes #377, #1017, #1953, #2438) 6 years ago
Glenn Strauss 4d7f5737f1 [core] support Transfer-Encoding: chunked req body (fixes #2156) 6 years ago
Glenn Strauss 8047c2f448 fix errors detected by Coverity Scan 6 years ago
Glenn Strauss 38139fa1a9 [core] permit IPv6 address scope identifier 6 years ago
Glenn Strauss fe02be7e34 [core] make server.max-request-size scopeable (fixes #1901) 6 years ago
Glenn Strauss 28841bfc3d [core] fix server.max-request-size to be precise (fixes #2131) 6 years ago
Glenn Strauss 72b133f595 fix errors detected by Coverity Scan 6 years ago
Glenn Strauss 879a282de7 fix errors detected by Coverity Scan 6 years ago
Glenn Strauss f3e36ccdbb use buffer_string_set_length() to truncate strings 6 years ago
Glenn Strauss df8032a7c8 use buffer_string_set_length() to truncate strings 6 years ago
Glenn Strauss b47494d4cd [config] opts for http header parsing strictness (fixes #551, fixes #1086, fixes #1184, fixes #2143, #2258, #2281, fixes #946, fixes #1330, fixes #602, #1016) 6 years ago
Glenn Strauss 06d3c75440 [core] respond 411 Length Required if request has Transfer-Encoding: chunked (fixes #631) 6 years ago
Glenn Strauss 8abd06a7ff consistent inclusion of config.h at top of files (fixes #2073) 6 years ago
Stefan Bühler ad3e93ea96 Use buffer API to read and modify "used" member 8 years ago
Stefan Bühler 6afad87d2e fix buffer, chunk and http_chunk API 8 years ago
Stefan Bühler d1a2356916 fix SQL injection / host name validation (thx Jann Horn) 9 years ago