summaryrefslogtreecommitdiff
path: root/usr.sbin/relayd/relay_http.c
AgeCommit message (Expand)Author
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
2014-12-21Stop pulling in <arpa/inet.h> or <arpa/nameser.h> when unnecessary.Philip Guenther
2014-12-18Update relayd to use siphash instead of sys/hash. The source-hash,Reyk Floeter
2014-10-25Remove unnecessary netinet/in_systm.h include.Lawrence Teo
2014-09-15Make the HTTP version mandatory and abort if it is missing in the request.Reyk Floeter
2014-08-10There was a race in relayd that caused connections to hang. ItAlexander Bluhm
2014-07-17Move comment about strcasecmp() to a more suitable spot.Stefan Sperling
2014-07-14When a connection was spliced in one direction and in copy mode inAlexander Bluhm
2014-07-13Remove a debug messageReyk Floeter
2014-07-13improve log output for relays. adjust regress testsSebastian Benoit
2014-07-13repair matching of headers, add regress test for this errorSebastian Benoit
2014-07-12fix relay "append header" action, add regression test for appendSebastian Benoit
2014-07-12Move HTTP error codes into http.h.Reyk Floeter
2014-07-11optimize a FALLTHROUGHSebastian Benoit
2014-07-11Limit HTTP header length to about 8K (based on the default of 4-8K inReyk Floeter
2014-07-11Simplify the code that handles the HTTP headers by using an RB treeReyk Floeter
2014-07-10Print "%s (removed)" into relayd log and test for that string.Alexander Bluhm
2014-07-10Fix another free error.Reyk Floeter
2014-07-09Replace the protocol directives for HTTP with a new generic filteringReyk Floeter
2014-06-25sync copyright to reality according to my last changesReyk Floeter
2014-04-20Check for strlcpy overflow when expanding the HTTP input value.Reyk Floeter
2014-04-15Print hashkey to debug output, this helps hash-action use cases to be tested.andre