Commits
- Commit:
35cca6c55330a7856d646faee8f4677796fe0b54
- From:
- Omar Polo <op@omarpolo.com>
- Date:
amused-web: allocate lazily the (double) buffer for chunking
- Commit:
2216d3fb02772c0d13430959e9545ce4749bd4ce
- From:
- Omar Polo <op@omarpolo.com>
- Date:
amused-web: parse POST data in bufio' rbuf
Add a proper upper limit (4096 seems enough for now) and safely
NUL-terminate the rbuf.
The idea is to later drop the clt->buf static buffer and allocate it on
demand only when we need to do (http) chunking.
- Commit:
b42d807fdc985cb3182193acd8220e9190857ae2
- From:
- Omar Polo <op@omarpolo.com>
- Date:
amused-web: add websocket support; send forms via js if available
This allows amused-web to stay in sync using websockets (much like
existing amused clients watch `amused monitor') and sends the forms
in the background to avoid refreshing the page.
Still missing is reopening the websocket, maybe blocking the UI in
that case and showing the progress.
- Commit:
c2117f4b55aab1b09cef4ca3ed556d54c7e7ce2a
- From:
- Omar Polo <op@omarpolo.com>
- Date:
amused-web: set http.[ch] as public domain code
- Commit:
3634fa709eb3bd3cacb762306ef62ff9698441b3
- From:
- Omar Polo <op@omarpolo.com>
- Date:
amused-web: rework client handling on top of bufio / ev
- 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:
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.