summaryrefslogtreecommitdiff
path: root/usr.sbin/relayd/relay_http.c
AgeCommit message (Expand)Author
2023-12-01relay_read_http: strip out Content-Length if we strip the body tooTodd C. Miller
2023-11-29relay_read_http: defer header parsing until after line continuationTodd C. Miller
2023-11-28relay_read_http: tighten up header parsingTodd C. Miller
2022-12-28{en,de}queing -> {en,de}queuing; from paul tagliamonteJason McIntyre
2021-10-23do not duplicate "Connection: close" headers and only add it if itsSebastian Benoit
2021-07-25The output of server_root_strip() is a string. Use the correct formatSebastian Benoit
2021-03-24Responses to HEAD requests must not have a message body (even though they haveSebastian Benoit
2021-01-09Add 'strip' directivedenis
2020-09-04Replace TAILQ concatenation loop with TAILQ_CONCATbket
2019-07-13Don't "forward to <table>" when a "forward to destination" address is set.Christopher Zimmermann
2019-07-05Add a new macro called $HOST that expands to the Host header's value or fallsRobert Nagy
2019-05-13Add Connection: close when switching to "unlimited" reading mode.Reyk Floeter
2019-05-13Fix filter rules with "forward to" statement in persistent connections.Reyk Floeter
2019-05-10Add support for from/to in relay filter rules.Reyk Floeter
2019-05-08Fix and tweak websocket upgrade handling.Reyk Floeter
2019-03-04Support for rfc 6455 Websockets connection upgrade. Add a new protocolSebastian Benoit
2018-08-06replace the current log optionsSebastian Benoit
2017-11-27rfc 7230 mandates that a "204 No Content" http status must not come with aSebastian Benoit
2017-11-27Simplify relay_close_http(), make relay_httpdesc_free() accept and ignoreClaudio Jeker
2017-11-15make the maximum size of http headers configurable in the protocol.Sebastian Benoit
2017-09-23The relayd regression tests for chunked HTTP traffic were failingAlexander Bluhm
2017-05-28use __func__ in log messages. fix some whitespace while here.Sebastian Benoit
2017-05-27Migrate relayd to use libtls for TLS. Still does the TLS privsep via theClaudio Jeker
2017-03-10DELETE can have a body.Reyk Floeter
2016-09-26spacingReyk Floeter
2016-08-01whitespace and 80 columns, no binary changeSebastian Benoit
2016-08-01rfc 7230 3.3.3 says: response with a status code of 1xxSebastian Benoit
2016-07-29Bump copyright in files that I touched last.Reyk Floeter
2016-07-29Add support for common WebDAV methods; from httpd.Reyk Floeter
2016-07-27According to RFC 7231 4.3.7, OPTIONS may have body. "Although thisReyk Floeter
2016-07-27Improve parsing of the Host by following RFC 7230 Section 5.4 more strictly:Reyk Floeter
2016-07-22fix some cases where we relay_abort_http() the connection too soon.Sebastian Benoit
2015-12-15PATCH is like PUT, data is expected.Reyk Floeter
2015-12-07Remove NULL-checks before free(). No functional change.mmcc
2015-09-27include <unistd.h> unconditionallyTheo de Raadt
2015-07-28spacingReyk Floeter
2015-07-18Fix unbounded buffer growth. In the case of a slow client reading large files,Sebastian Benoit
2015-06-12To match relayd's style, use an explicit enum with prefixed names forReyk Floeter
2015-06-08Introduce a state on the ctl_relay_event struct. This makes it possibleClaudio Jeker
2015-06-01Fix memory leak in error case. OK bluhm@ benno@Claudio Jeker
2015-05-22fix a non safe use of TAILQ_FOREACH with TAILQ_REMOVEJonathan Gray
2015-05-18Fix a crash reported and analyzed by Bertrand PROVOST. When a HTTPAlexander Bluhm
2015-05-18The first line of a HTTP request is the method-url-version. TheAlexander Bluhm
2015-04-29When the HTTP client did close the connection while relayd was stillAlexander Bluhm
2015-01-22Clean up the relayd headers with help of include-what-you-use and someReyk Floeter
2015-01-22spacingReyk Floeter
2015-01-16Adapt to <limits.h> universe.Theo de Raadt
2015-01-13bump copyright yearReyk Floeter
2015-01-01Merge error page changes from httpd: send Content-Length:, changeReyk Floeter
2015-01-01Use the recommended HTML5 doctype in error pages.Reyk Floeter