| Commit message (Collapse) | Author | Age | Files | Lines |
| ... | |
| |
|
|
|
| |
Found by jasper@
OK florian@
|
| |
|
|
|
|
| |
add a configuration option to change the limit.
ok florian@
|
| |
|
|
| |
with & OK reyk@
|
| | |
|
| |
|
|
|
|
| |
max requests (per connection) and timeout. We don't want to add too
many button, and there are good defaults, but these ones are kind of
mandatory.
|
| |
|
|
| |
(Same default as in nginx and Apache).
|
| | |
|
| |
|
|
| |
The secrect plan is to add it later using the ressl wrapper library.
|
| | |
|
| |
|
|
|
|
|
| |
tricky because we couldn't guarantee a sane state after
server_response_http() so fail hard afterwards and close the connection.
ok doug@
|
| | |
|
| |
|
|
|
|
| |
meta-variables.
ok florian@
|
| | |
|
| |
|
|
|
| |
each connection, not every request. The code was already there and enabled
on debug, I just turned it into an alternative log format.
|
| |
|
|
|
| |
aware of the IPv6 scope Id. We already have a function print_host() that
uses getnameinfo, so no need for the inet_ntop cases. Confirmed by florian@
|
| |
|
|
|
|
| |
Add log to the server flags.
input/"Looks ok" reyk@
|
| |
|
|
|
|
| |
or the request completed. Turn the old log message into a debug message.
ok doug@
|
| |
|
|
| |
ok reyk@
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
- DPRINTF instead of log_info for internal debugging.
- submit QUERY_STRING, if it exists
- use a proper function to create an HTTP header.
- use server_file_error() to detect EOF and fastcgi stream errors.
- disable keep-alive/persist for now until we have a reliable way to
get the content length from the cgi response or support chunked
encoding.
"Cool, jep" florian@
|
| | |
|
| |
|
|
|
| |
in now so that we can quickly work on it in tree. Requested by reyk@.
deraadt@ is OK with this according to reyk@.
|
| | |
|
| |
|
|
|
| |
servers, for example auto index for a sub-directory only. Internally,
a "location" is just a special type of a "virtual" server.
|
| | |
|
| |
|
|
|
|
| |
responses. To accomplish this, add some semantics to retrieve the
server host name of a connection: either IP, IP:PORT (if not 80) or
[IP6]:PORT, or Host value (if valid).
|
| | |
|
| | |
|
| |
|
|
| |
docroot only only when it's needed. Suggested by deraadt@.
|
| |
|
|
|
|
| |
servers with the same or "overlapping" IP address but a different name.
ok beck@
|
| | |
|
| | |
|
| |
|
|
| |
all the headers etc. of a connection.
|
| |
|
|
|
| |
permissions. We also have to redirect with 301 if a directory name
was requested without the trailing slash.
|
| |
|
|
| |
ok reyk benno
|
| |
|
|
|
|
| |
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@
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
|
| |
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.
|
| |
|
|
| |
ok reyk@ florian@
|
| |
|
|
|
|
| |
messages because we love web hipsters.
ok beck@
|
|
|
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@
|