| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| |
|
|
|
|
| |
OK benno@
|
|
|
|
|
|
| |
This makes the output more readable and matches Apache's log encoding.
OK sthen@ brynet@
|
|
|
|
|
|
|
|
| |
default and only setting it to 0 on success, we don't have to set it
in each error case. While here, also remove two superfluous NULL
checks (as pointed out by semarie).
OK semarie@
|
|
|
|
|
|
| |
Based on a diff from Jack Burton <jack at saosce dot com dot au>.
ok reyk@
|
|
|
|
|
|
|
|
| |
TLS listen statement. A bug was introduced in r1.68 of parse.y, which
results in flags being directly copied from the parent, meaning that the
TLS flag for the second server gets lost.
ok reyk@
|
| |
|
|
|
|
| |
ok reyk@
|
|
|
|
|
|
|
| |
an attacker to push arbitaries characters in logs (newline for forging entries,
or some control escaping interpreted by terminal emulator).
OK reyk@
|
|
|
|
|
|
|
|
|
| |
including them in the IMSG_CFG_SERVER imsg. This allows the certificate
and key to each be almost 16KB (the maximum size for an imsg), rather than
having a combined total of less than 16KB (which can be reached with large
keys, certificate bundles or by including text versions of certificates).
ok reyk@
|
|
|
|
| |
ok reyk@
|
|
|
|
|
|
|
|
|
|
| |
config.c r1.34 and r1.30 introduced potential memory leaks for auth and
return_uri when config_getserver fails. Fix this by switching to
serverconfig_free() and adding the missing free for srv_conf->auth.
While here, make serverconfig_free() a little more bulletproof by
explicit_bzero()ing key material.
ok reyk@
|
|
|
|
| |
my apologies to semarie for not pointing this out when he asked for an ok...
|
|
|
|
|
|
| |
Suggestion from Theo Buehler.
OK jmc@ reyk@
|
|
|
|
|
|
|
|
| |
C-style (starting from 0) and not the Lua-style (starting from 1).
Patch from Theo Buehler.
OK reyk@
|
|
|
|
| |
OK reyk@
|
|
|
|
|
|
|
|
|
| |
- cleanup in included headers (removing unsed assert.h, and reorder)
- one remaining '%%' in an error string corrected in '%'
while here, add sys/types.h for off_t type.
OK reyk@
|
| |
|
|
|
|
| |
ok reyk@
|
|
|
|
|
|
|
| |
it was deprecated in lua code, but here the code is new. The documentation
don't mention it either.
ok reyk@
|
|
|
|
|
|
| |
With important help on the pattern matcher from semarie@
OK semarie@
|
|
|
|
|
|
| |
$REMOTE_USER before using them in the Location.
From Sebastien Marie (semarie)
|
|
|
|
|
|
|
|
| |
elements from the user input and not the constants from the
configuration. This makes it possible to specify chars like '?' in
the uri.
OK Sebastien Marie
|
|
|
|
|
|
| |
Pointed out by Markus Elfring
OK mikeb@ millert@
|
|
|
|
| |
ok claudio deraadt florian
|
|
|
|
|
| |
is non-portable. Also add missing asprintf() return value checks.
OK deraadt@ guenther@ doug@
|
| |
|
|
|
|
|
|
| |
process on shutdown.
Found while working on tame(2).
OK benno@
|
|
|
|
|
|
|
| |
constructing the Content-Length header field. Should fix some, but probably
not all, problems with serving files bigger than 2G on 32-bit architectures.
ok reyk@, florian@
|
|
|
|
| |
ok reyk@
|
|
|
|
|
|
|
|
|
| |
/usr/share/misc/mime.types; do not include shtml as it is for Server
Side Includes (SSI) -- we will never do SSI.
joint work with reyk@
ok reyk@
|
|
|
|
|
|
| |
we do not have to care about nginx anymore.
ok jmc@ (who thinks previously suggested removing it), and reyk@
|
|
|
|
|
|
| |
From Kyle Thompson <jmp AT giga DOT moe>.
Tweaks by me.
OK benno@
|
|
|
|
|
| |
From Sunil Nimmagadda <sunil At nimmagadda DOT net>
OK benno@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
indexes as per RFC 3986:
A path segment that contains a colon character (e.g., "this:that")
cannot be used as the first segment of a relative-path reference, as
it would be mistaken for a scheme name. Such a segment must be
preceded by a dot-segment (e.g., "./this:that") to make a relative-
path reference.
While here add a "/" to the end of directory names, this saves us one
redirect round trip.
Found the hard way & "functionality wise, OK" ajacoutot@
RFC pointer & OK benno@
|
|
|
|
|
|
|
| |
clt_log evbuffer.
server_close() calls server_log() which uses ctl_log.
Crash reported by Daniel Jakots <vigdis AT chown DOT me>, thanks!
OK benno
|
|
|
|
|
|
|
|
|
|
| |
newlines which could lead to http response splitting/smuggling
if a badly behaved proxy is in front of httpd.
Switch from evbuffer_readline() to evbuffer_readln() with
EVBUFFER_EOL_CRLF_STRICT to avoid this.
ok florian@
|
|
|
|
|
|
|
|
|
| |
appropriately. Otherwise imsg construction can silently fail, resulting in
non-obvious problems.
Found the hard way by Theodore Wynnychenko.
ok doug@ florian@
|
|
|
|
|
| |
I fscked up the testing, sorry!
Found the hard way by jsg@
|
|
|
|
|
|
| |
Pointed out by Regis Leroy (regis.leroy AT makina-corpus DOT com),
thanks!
Tweak and OK reyk@
|
|
|
|
|
|
|
|
|
|
| |
configuration for multiple listen statements in a server block.
Otherwise httpd will crash when a listen statement with tls is followed
by a listen statement without tls.
Problem reported by Kent Fritz on misc.
ok jsing@ looks good deraadt@
|
| |
|
|
|
|
|
|
|
|
|
| |
7230 and RFC 3875.
sthen@ suggested to add a comment to explain where the list of
characters is coming from.
Found the hard way and initial diff from Tim van der Molen (tbvdm at
xs4all), thanks! Some more allowed characters added by me.
OK sthen@
|
|
|
|
|
|
|
|
| |
While here unconditionally free clt and move declaration of
server_inflight_dec() into server.c
Found while investigating if (foo != NULL) free(foo) patterns pointed
out by Markus Elfring.
OK reyk
|
|
|
|
|
| |
somewhere over Siberia and I think I'm just getting into minor
turbulences.
|
|
|
|
| |
Figured out sthen@
|
|
|
|
|
|
|
|
| |
will be incompatible with this change. We do this early in the
release cycle, so there is a good chance to get more experience with
the impact of it and the upcoming restricted cipher modes.
OK jsing@ deraadt@ benno@ bmercer@ krw@ florian@
|
|
|
|
| |
OK deraadt@
|
|
|
|
| |
ok reyk@
|
|
|
|
| |
OK florian@
|