Commits
- Commit:
970fa2f51df3518a71bc7bb67a987fece4d100e3
- From:
- Omar Polo <op@omarpolo.com>
- Date:
amused-web: drop double bufio_reset() prototype
- Commit:
dca29a891c8adedd8ab5f84d8df83a07a46573db
- From:
- Omar Polo <op@omarpolo.com>
- Date:
amused-web: remove the TLS handling from bufio
- Commit:
b8a11905ab2402519db36742b5eb16646ad0347b
- From:
- Omar Polo <op@omarpolo.com>
- Date:
amused-web: import bufio.[ch] from syncparty
- Commit:
3a60c27797deb05f9272733f00d59ea77ee2fb70
- From:
- Omar Polo <op@omarpolo.com>
- Date:
split out the various LDADD_* so we don't link everything to everything
- Commit:
077802c1fe99fb1d8fc34e7ca980e9b97991c763
- From:
- Omar Polo <op@omarpolo.com>
- Date:
fmt
- Commit:
703c260b128b46261e0b4564eec3efe14f3f7b2e
- From:
- Omar Polo <op@omarpolo.com>
- Date:
s/handle_client/web_accept
- Commit:
80d5f5adf3f74daeccd68ec6b3c9d41ee289c51e
- From:
- Omar Polo <op@omarpolo.com>
- Date:
use ev.c in amused-web too
- Commit:
969a02493ba6c440ba7700a2090b24cbc2bf5a38
- From:
- Omar Polo <op@omarpolo.com>
- Date:
add portability shim for timespecsub
- Commit:
27bf07a4f9592ac26e235e10f3a6eb24101aaa80
- From:
- Omar Polo <op@omarpolo.com>
- Date:
add missing #include <time.h>
- Commit:
3c6e1aaeede670574a0a880a27bd1fd85269024b
- From:
- Omar Polo <op@omarpolo.com>
- Date:
fix control_accept handling of ENFILE/EMFILE
Not sure how it worked with libevent before, but the reschedule is
wrong. We need to schedule a timer to re-add the event on the
listening fd.
- Commit:
0a53bd62d11ed31ce71da1fc9993bc25a6c93755
- From:
- Omar Polo <op@omarpolo.com>
- Date:
switch from libevent to a smaller, thin wrapper around poll()
libevent is a very cool library, I like its APIs and enjoy using
it. However, for amused it is maybe a bit too much since it doesn't
deal with too many file descriptors. Amused only needs to monitor
one fd for the player process and the currently connected clients.
Given that it runs per-user locally, having more than a dozen of
fds open is very, very rare.
- Commit:
87eb9c1e04bf4eeb12ede12213222168b6367609
- From:
- Omar Polo <op@omarpolo.com>
- Date:
amused-web: fix reading POST body
Some clients seem to include CRLF in the POST' Content-length, some
don't. Ignoring when clients send more data then advertised and
stripping CRLF at the end works fine across firefox, w3m and netsurf.
- Commit:
99b289691b96fd2ccc00e417a51b08377d781189
- From:
- Omar Polo <op@omarpolo.com>
- Date:
amused-web: ensure that path is completely filled with NUL to the end
- Commit:
b478a4bd62bf67f8603a0ec7e4fd533ba51d1008
- From:
- Omar Polo <op@omarpolo.com>
- Date:
amused-web: introduce an helper to print the unexpected imsg
- Commit:
c83e450a02fd06d73c5cbc444a1ccd6fc0bf0fa6
- From:
- Omar Polo <op@omarpolo.com>
- Date:
use Transfer-Encoding: chunked only on HTTP/1.1
w3m (HTTP/1.0) doesn't seem to like it.