Commits
- 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.
- Commit:
3b486b32233bf7e55e12e568e2c799990abf9e37
- From:
- Omar Polo <op@omarpolo.com>
- Date:
fix the POST handling
- Commit:
04e4e99327c1aa645f591ea2a47ac2f4c13fe4c1
- From:
- Omar Polo <op@omarpolo.com>
- Date:
add amused-web, a web interface to control amused
It's a first stab at it, some planned features (like the search)
are missing but the basic ones work. It's not hooked in the main
build yet.
- Commit:
96621d9401fa4c4a0c9233330f154c02b9172467
- From:
- Omar Polo <op@omarpolo.com>
- Date:
contrib/amusing: use fancy unicode characters for the controls
taken from: https://en.wikipedia.org/wiki/Media_control_symbols