summaryrefslogtreecommitdiff
path: root/usr.sbin/relayd/relay_http.c
AgeCommit message (Expand)Author
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
2013-09-04Handling of HTTP requests with a body like POST were broken inAlexander Bluhm
2013-06-02With HTTP keepalive, relayd only filtered the first request andReyk Floeter
2013-05-30Safari doesn't like HTTP/1.x in the generated error messages (return error),Reyk Floeter
2013-05-07- Add a simple check to prevent that the client-provided hex HTTP chunk sizeReyk Floeter
2013-04-20print large time_t nicely; ok bennoTheo de Raadt
2013-03-10This diff changes relayd to use the monotonic clock instead ofReyk Floeter
2013-03-09Enable TCP socket splicing for HTTP persistent connection and chunkedAlexander Bluhm
2013-02-15Fix the toread check in the lateconnect case. This allowsAlexander Bluhm
2013-02-05Rework http content and chunk handling in relayd. Use specialAlexander Bluhm
2013-01-22Only send a single CRLF between chunks. A second CRLF seemed to beReyk Floeter
2013-01-17Remove unnecessary pointer casts. No binary diff.Alexander Bluhm
2012-11-27Add format attributes to the proper functions and then fix the warningsPhilip Guenthe
2012-11-21strtonum() can only handle a maximum of LLONG_MAXSebastian Benoit