summaryrefslogtreecommitdiff
path: root/usr.sbin/httpd/server_http.c
AgeCommit message (Expand)Author
2024-02-13Stop logging misleading errors when custom generic error pages are in use.Claudio Jeker
2022-09-21Default request message body size should be 0.YASUOKA Masahiko
2022-09-01ugly whitespaceTheo Buehler
2022-08-15plug a fd leak in read_errdoc if fstat fails or if the file is emptyOmar Polo
2022-03-02Nothing uses kv_flags.Florian Obser
2021-11-11Move the assignment of http_query down. Also do not assign a non-mallocedClaudio Jeker
2021-11-05Perform stricter checking on the version string (which RFC 7230 saysSebastian Benoit
2021-10-24Add httpd custom error page facility. Adapted by me fromIan Darwin
2021-10-23annotate a 413 error with "request body too large" in the error log.Sebastian Benoit
2021-10-22return unsupported version for version less than HTTP/0.9 and higherSebastian Benoit
2021-10-21when a client sends header lines without a colon, respond with 400 BadSebastian Benoit
2021-01-05unwrap a lineTheo Buehler
2020-10-29Add location (found|not found) option to test for resource path existence.denis
2020-09-12Use the original requested URI for REQUEST_URI.YASUOKA Masahiko
2020-08-03remove another tautologySebastian Benoit
2020-05-22Use the simpler HTML5 idiom to declare charset in autogenerated pages.Anthony J. Bentley
2020-05-18httpd: add a "dark mode" in directory listings and error pagescwen
2020-02-25httpd: allow $REQUEST_SCHEME in redirect targets, ok jung@ florian@Stuart Henderson
2020-01-14Pick the value for "max requests number" from the correct server {}Sebastian Benoit
2019-11-04remove useless NULL check, it's checked 7 lines further up.Sebastian Benoit
2019-10-22Do not log "(null)" in debug logging.Florian Obser
2019-05-08The QUERY_STRING macro is not actually URL encoded, so fix the manual.Theo Buehler
2019-05-08Set the REQUEST_URI CGI variable to the requested URI and query stringTheo Buehler
2019-05-08spacingReyk Floeter
2019-05-03Add a "forwarded" log format that extends the "combined" log formatTheo Buehler
2019-02-10log X509 peer's cert subject name when tls client authentication is used,Sebastian Benoit
2018-12-04Check maxrequestbody when we found the right server / location.Florian Obser
2018-11-04isalpha(3) requires an unsigned char value (or -1).Philip Guenther
2018-10-15Omit HSTS headers over unencrypted connections, per RFC 6797.Anthony J. Bentley
2018-10-11Backout my previous commit:Sebastian Benoit
2018-10-01Only send 408 Timeout responses when we have seen at least part of aSebastian Benoit
2018-09-07Do not send a Content-Length header for 1xx and 204 status codes sinceFlorian Obser
2018-06-20Add support for simple one-off internal rewrites.Reyk Floeter
2018-06-15Fix 304 Not Modified response: don't send a body, use the correct MIME type.Reyk Floeter
2018-06-11The http_query is already url_encoded; don't encode it twice.Reyk Floeter
2018-04-06After processing of a range request httpd would never close theFlorian Obser
2017-12-14set Location header for 307 and 308 status codesSebastian Benoit
2017-05-15Avoid a crash servicing requests when a server is configured withJonathan Gray
2017-03-16Expand $HTTP_HOST in redirects.Florian Obser
2017-03-10Sync from relayd: DELETE can have a body.Reyk Floeter
2017-02-07Improve parsing of the HTTP request lineReyk Floeter
2017-02-02Fix support for HTTP pipelining by handling all requests in the buffer.Reyk Floeter
2017-01-31Reimplement httpd's support for byte ranges.Reyk Floeter
2017-01-31The variable clt_done is used in too many places.Reyk Floeter
2016-08-26Replace the static env variables with a single global variable.Rafael Zalamena
2016-07-27According to RFC 7231 4.3.7, OPTIONS may have body. "Although thisReyk Floeter
2016-05-27Return "400 Bad Request" instead of "500 Server Internal Error" forKenneth R Westerback
2016-05-22makes sure the value of the asprintf buffer is zeroed on errorJoerg Jung
2016-03-08Set content charset for auto index generated page.Florian Obser
2016-02-11Back out previous; requested by jung@Tim van der Molen