summaryrefslogtreecommitdiffstats
path: root/usr.sbin/httpd/server_http.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* First attempt at verifying the request path and the accessreyk2014-07-231-3/+19
| | | | | permissions. We also have to redirect with 301 if a directory name was requested without the trailing slash.
* Move comment about strcasecmp() to a more suitable spot.stsp2014-07-171-5/+6
| | | | ok reyk benno
* Implement file descriptor accounting. The concept was taken fromreyk2014-07-161-8/+5
| | | | | | relayd but had to be adjusted for httpd. It now handles single-pass HTTP connections, persistent connections with multiple requests, and body-less HEAD requests. With input from benno@
* Track Connection: Keep-Alivereyk2014-07-141-5/+11
|
* first step towards keep-alive/persistent connections supportreyk2014-07-141-3/+106
|
* Remove a debug messagereyk2014-07-131-2/+1
|
* Add support for media types (aka. MIME types): the types section isreyk2014-07-131-2/+2
| | | | | | compatible to nginx' mime.types file which can be included directly. If not present, use a few built-in defaults for html, css, txt, jpeg, gif, png, and js.
* Make error messages more obvious to the user.beck2014-07-131-4/+10
| | | | ok reyk@ florian@
* Use Comic Sans (or Chalkboard) as the default font for HTTP errorreyk2014-07-121-2/+3
| | | | | | messages because we love web hipsters. ok beck@
* Add httpd(8), an attempt to turn the relayd(8) codebase into a simplereyk2014-07-121-0/+735
web server. It is not finished yet and I just started it today, but the goal is to provide an HTTP server that a) provides minimal features, b) serves static files, c) provides FastCGI support, and d) follows common coding practices of OpenBSD. It will neither support plugins, nor custom memory allocators, EBCDIC support, PCRE or any other things that can be found elsewhere. httpd(8) is not intended to provide a fully-featured replacement for nginx(8) or the Apache, but it will provide enough functionality that is needed in the OpenBSD base system. ok deraadt@