summaryrefslogtreecommitdiff
path: root/usr.sbin/httpd/server_fcgi.c
AgeCommit message (Expand)Author
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
2014-08-03c-type functions / makros need a cast to unsigned char, not intFlorian Obser
2014-08-03spacingReyk Floeter
2014-08-03Dynamically pass HTTP request headers as protocol-specific HTTP_* CGIReyk Floeter
2014-08-03Add function to iterate all headers. No functional change.Reyk Floeter
2014-08-03Split fastcgi socket path and document root option and add theReyk Floeter
2014-08-03Add missing log call for FastCGI requests.Reyk Floeter
2014-08-02don't leak fcgi fdFlorian Obser
2014-08-02Padding of fcgi records is optional, but if we receive padding data weFlorian Obser
2014-08-02We need to read from the fcgi bufferevent until it's empty because theFlorian Obser
2014-08-02Allow to specify a FastCGI TCP socket on localhost (eg. :9000). UsedReyk Floeter
2014-08-02spacingReyk Floeter
2014-08-01Rewrite fcgi_add_param and hand over a lot more http headers etc. toFlorian Obser
2014-08-01Correctly parse fcgi records if we don't get the whole record in oneFlorian Obser
2014-07-31Only write the HTTP header for the first fastcgi chunk.Reyk Floeter
2014-07-31some fastcgi improvements:Reyk Floeter
2014-07-31One bufferevent can be shared by file and fcgi.Reyk Floeter
2014-07-31Allow to specify a non-default fastcgi socket.Reyk Floeter
2014-07-31Put in first stab at fastcgi. Very early work in progress. Putting itFlorian Obser