summaryrefslogtreecommitdiff
path: root/usr.sbin/httpd/server_file.c
AgeCommit message (Expand)Author
2015-05-05Implement If-Modified-Since.Florian Obser
2015-05-03Implement byte ranges.Florian Obser
2015-04-25Prepend files or directories containing ":" with "./" in directoryFlorian Obser
2015-02-12Rename escape_uri() to url_encode() because it is the opposite ofReyk Floeter
2015-02-10Encode directory listings.Florian Obser
2015-02-08spacingReyk Floeter
2015-01-21httpd is based on relayd and had included many headers that are onlyReyk Floeter
2015-01-16Replace <sys/param.h> with <limits.h> and other less dirty headers whereTheo de Raadt
2015-01-13bump copyright yearReyk Floeter
2015-01-06Make httpd return "404 not found" if an intermediate component of a requestedStefan Sperling
2015-01-04add new url stripping option:Christopher Zimmermann
2015-01-01Use the HTML5 doctype for error and auto index pages because it isReyk Floeter
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-10-21Rework the error message a little bit: Do not send details of theReyk Floeter
2014-10-02Fix an error case that was never handled ending up in an endless eventReyk Floeter
2014-09-27In addition to READ, disable WRITE events when closing the fileReyk 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-14Remove obsolete struct stat parameters.Christopher Zimmermann
2014-08-08When opening directories, re-match the location after the index fileReyk Floeter
2014-08-06The watermark exposed a bug in server_write that broke keep-aliveReyk Floeter
2014-08-06Adjust the read/write watermarks according to the TCP send buffer.Reyk Floeter
2014-08-04Redirect to https:// if SSL/TLS is enabled.Reyk Floeter
2014-08-04httpd doesn't support SSL/TLS yet, remove the remaining bits.Reyk Floeter
2014-08-03Only allow GET and HEAD for static files or return 405.Reyk Floeter
2014-08-03Also write log messages, like 404 Not Found, on error. This is a bitReyk Floeter
2014-08-03Split fastcgi socket path and document root option and add theReyk Floeter
2014-08-02spacingReyk Floeter
2014-08-02scandir(3)-based directory auto index didn't work on NFS because theReyk Floeter
2014-07-31some fastcgi improvements:Reyk Floeter
2014-07-31One bufferevent can be shared by file and fcgi.Reyk Floeter
2014-07-31Rename the "docroot" variable to "path" because it will be used forReyk Floeter
2014-07-30Reserve an extra file descriptor per connection instead of perReyk Floeter
2014-07-29Add extended directory index options: "[no] index" and "[no] auto index".Reyk Floeter
2014-07-26Remove redundant slashReyk Floeter
2014-07-25It is recommended to use a URL in the Location header of 3xxReyk Floeter
2014-07-25Canonicalize the request path once without the docroot and prepend theReyk Floeter
2014-07-25Don't leak docroot in the error message if the default index file is missing.Reyk Floeter
2014-07-25Split server and server_config.Reyk Floeter
2014-07-25Rename a field, needed later, no functional change.Reyk Floeter
2014-07-25Move the docroot into the server block.Reyk Floeter
2014-07-23The default index page shouldn't be a directory. It's a 500.Reyk Floeter
2014-07-23Don't expose the docroot on error.Reyk Floeter
2014-07-23First attempt at verifying the request path and the accessReyk Floeter
2014-07-23Add canonicalize_path() to canonicalize the requested URL path.Reyk Floeter
2014-07-16Implement file descriptor accounting. The concept was taken fromReyk Floeter
2014-07-15don't diplay the full path in error messagesReyk Floeter