summaryrefslogtreecommitdiff
path: root/usr.sbin/httpd/server_file.c
AgeCommit message (Expand)Author
2018-06-15Fix 304 Not Modified response: don't send a body, use the correct MIME type.Reyk Floeter
2017-02-02Fix support for HTTP pipelining by handling all requests in the buffer.Reyk Floeter
2017-01-31Reimplement httpd's support for byte ranges.Reyk Floeter
2017-01-30Fix error path of range requests, found while reviewing byte range support.Reyk Floeter
2016-05-17Repair some file descriptor leaks.Theo de Raadt
2016-03-08Set content charset for auto index generated page.Florian Obser
2015-08-03Fix rev 1.70 of server.c by only re-enabling the bufferevent if weFlorian Obser
2015-07-20ensure http_path is escaped before using it in Location redirection.Sebastien Marie
2015-07-18Fix check against NULL which was reverted by accident in r1.56.Matthias Kilian
2015-07-18Allow to change the default media type globally or per-location,Reyk Floeter
2015-07-17Adjust server_file_modified_since() to our style. Please keep httpd clean.Reyk Floeter
2015-07-16spacingReyk Floeter
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