Commits
- Commit:
a4188b78652d42ce5c6c19d01347e8737dfc509f
- From:
- Omar Polo <op@omarpolo.com>
- Date:
echo parsing test result
- Commit:
27b2fa9ae5d7a3807eea150cef5163931929cc23
- From:
- Omar Polo <op@omarpolo.com>
- Date:
don't mmap
Before we mmap(2) file for reading, and use a buffer to handle CGI
scripts. Turns out, for sequential access over the whole mmap isn't
better than our loop on read. This has also the additional advantage
that we can use handle_cgi (now handle_copy) for both files and CGI,
which is pretty cool.
This also fixes a nasty bug where we could hang a connection forever,
because we scheduled the wrong type of event (read on POLLOUT and
write on POLLIN, it's the other way around!)
- Commit:
a6e689d7450c532baa306b293314e42c0b64a300
- From:
- Omar Polo <op@omarpolo.com>
- Date:
fix config reload
the old server processes would stick around waiting on the signals
events. While there, also drop the `struct server_events' and define
events as globals.
- Commit:
e1b46123590fc7a28efbf439bc9bdb3bf95d5eba
- From:
- Omar Polo <op@omarpolo.com>
- Date:
dup line
- Commit:
a72cc6be31afa97532ea4339ee6e5f3ea20fac68
- From:
- Omar Polo <op@omarpolo.com>
- Date:
improve compat/getprogname on GNU libc
but why'd they called it program_invocation_short_name? They couldn't
find a longer name?
- Commit:
4d7043e33c8d90402797c71ff96747897d053515
- From:
- Omar Polo <op@omarpolo.com>
- Date:
add check for program_invocation_short_name
- Commit:
1606927ea12340e93bef807d16cf71371dd016ea
- From:
- Omar Polo <op@omarpolo.com>
- Date:
add -levent in the example
- Commit:
8e56d6adc423e81f47259a50ac5b11a1dd3c9877
- From:
- Omar Polo <op@omarpolo.com>
- Date:
use fatal instead of err/fprintf+exit
fatal logs to the correct place, err only on stderr.
- Commit:
2a911637be035476640c5c65e45ff26cb6bf169a
- From:
- Omar Polo <op@omarpolo.com>
- Date:
fix compilation on OSes without sandbox
- Commit:
0b040b99091cee8048cfb4b164f3e0ddfa0d1631
- From:
- Omar Polo <op@omarpolo.com>
- Date:
fix setproctitle detection on FreeBSD
- Commit:
4ad0601d1857e509687d2466ffa0afaf3a82578c
- From:
- Omar Polo <op@omarpolo.com>
- Date:
link to compat/ even in regress
this unlocks the full regress tests on arch, for instance, or every
OS where we don't have strl*
- Commit:
6827d2781e8aaaa6aad1e32026a21863070c90f4
- From:
- Omar Polo <op@omarpolo.com>
- Date:
[seccomp] allow newfstatat and gettimeofday
these are required to run on arch linux (at least)
- Commit:
4c857c0afcb7d76cb03323ba7d0dfef60b27589f
- From:
- Omar Polo <op@omarpolo.com>
- Date:
[seccomp] epoll_wait(2) isn't available on every arch
- Commit:
aa37287565c6eb7ac3da814b334ab61a5b567a22
- From:
- Omar Polo <op@omarpolo.com>
- Date:
add newline after usage
- Commit:
49b73ba1ab4be9993532bdecaf14e74f45eca676
- From:
- Omar Polo <op@omarpolo.com>
- Date:
fix "first location" bug
reported by devel at datenbrei dot de. The first location would
overwrite the default value for a server, triggering the "`foo' rule
specified more than once" error. This also needed a small tweak on
how we match locations to avoid breaking other tests.