summaryrefslogtreecommitdiff
path: root/usr.sbin/httpd/server_fcgi.c
AgeCommit message (Expand)Author
2016-04-24Always pass QUERY_STRING variable.Christopher Zimmermann
2015-11-23Retire socket_set_blockmode() in favor of the SOCK_NONBLOCK type flag.Reyk Floeter
2015-10-08fix an fd leak if socket connection fails; from Carlin BinghamJonathan Gray
2015-10-08fix a typo; from Carlin BinghamJonathan Gray
2015-08-20Change httpd(8) to use C99-style fixed-width integers (uintN_t insteadReyk Floeter
2015-08-03Fix rev 1.70 of server.c by only re-enabling the bufferevent if weFlorian Obser
2015-07-31repair hsts header output, wrong format strings caused brokenSebastian Benoit
2015-07-29backout the previous: it broke wordpress somehow.Reyk Floeter
2015-07-29Read fcgi response records until we have the whole http header and canFlorian Obser
2015-07-28add HSTS to fcgi responsesFlorian Obser
2015-07-19handle error returns from bufferevent_write()Bret Lambert
2015-07-18remove XXX and handle error return from evbuffer_add()Bret Lambert
2015-07-18treat asprintf failure in REQUEST_URI case as a fatal errorBret Lambert
2015-07-17According to RFC 3875 PATH_INFO should either contain a full path orReyk Floeter
2015-06-09plug fd leak found by Todd MortimerJoerg Jung
2015-03-26Allow more characters in CGI environment variables as specified by RFCFlorian Obser
2015-02-23Use the rewritten (index file appended) uri as DOCUMENT_URI.Christopher Zimmermann
2015-01-21Ooops, no need to include sys/cdefs.h.Reyk Floeter
2015-01-21httpd is based on relayd and had included many headers that are onlyReyk Floeter
2015-01-19s/clt_fcgi_remote_user/clt_remote_user/Florian Obser
2015-01-19Decouple auth parameters from struct server_config into struct auth.Reyk Floeter
2015-01-18First stab at implementing basic auth.Florian Obser
2015-01-16Replace <sys/param.h> with <limits.h> and other less dirty headers whereTheo de Raadt
2015-01-13Abort if fcgi_chunked is not true to avoid sending additional garbageReyk Floeter
2015-01-04add new url stripping option:Christopher Zimmermann
2014-12-21Stop pulling in <arpa/inet.h> or <arpa/nameser.h> when unnecessary.Philip Guenther
2014-12-12Like previously done in relayd, change the keyword "ssl" to "tls" toReyk Floeter
2014-12-04stop viral header propagation. none of this code uses sys/hash.hTed Unangst
2014-10-25Remove unnecessary netinet/in_systm.h include.Lawrence Teo
2014-09-29whitespace spotted while studying the codeTheo de Raadt
2014-09-02FastCGI did not support persistent connections. Add initial supportReyk Floeter
2014-09-01Don't pass the local buffer array by reference.Reyk Floeter
2014-09-01Replace the code to get the FastCGI Status header with a proper way toReyk Floeter
2014-08-29Use two instead of one http descriptor for request and response.Reyk Floeter
2014-08-21Add Last-Modified: HTTP header.Christopher Zimmermann
2014-08-13For a non-existent root we don't want the root prefix to show up inChristopher Zimmermann
2014-08-13Provide a failsafe version of the path_info() function that doesn'tReyk Floeter
2014-08-11make a few variables more localTheo de Raadt
2014-08-08When opening directories, re-match the location after the index fileReyk Floeter
2014-08-07Don't try to ouput FCGI_STDERR into error.log if there is no data.Florian Obser
2014-08-07Opportunistically try to parse "Status: $code" in the very firstFlorian Obser
2014-08-06Write STDERR from the CGI to the web server error log as intended.Reyk Floeter
2014-08-06If the very first fcgi STDOUT record has length 0 the cgi scriptFlorian Obser
2014-08-06Always zero-out the fcgi record header for STDIN data.Reyk Floeter
2014-08-06Use memset(buf instead of memset(&buf.Reyk Floeter
2014-08-06http POST supportFlorian Obser
2014-08-06Content-Length and Content-Type are transmitted as CONTENT_LENGTH andFlorian Obser
2014-08-04Add HTTPS = on CGI variable.Reyk Floeter
2014-08-04Implement PATH_INFO and add DOCUMENT_ROOT.Reyk Floeter
2014-08-04httpd doesn't support SSL/TLS yet, remove the remaining bits.Reyk Floeter