Commits
- Commit:
f39ef3e41b3829f8d62c28e218bf9f7bb3743f1d
- From:
- Omar Polo <op@omarpolo.com>
- Date:
amused-web: http_reply: use http_* instead of bufio_compose_*
- Commit:
35cca6c55330a7856d646faee8f4677796fe0b54
- From:
- Omar Polo <op@omarpolo.com>
- Date:
amused-web: allocate lazily the (double) buffer for chunking
- Commit:
8701aaaaba7c99c87459f1d34a7b1acdd897f19c
- From:
- Omar Polo <op@omarpolo.com>
- Date:
amused-web: free ws secret as soon as possible
- 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:
99861c4aecd3ed686171dc9b6cf11626c5f8ea3a
- From:
- Omar Polo <op@omarpolo.com>
- Date:
fmt
- 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:
5ce4c55cc90bdd51007f40008c5044d451c6ea09
- From:
- Omar Polo <op@omarpolo.com>
- Date:
amused-web: simplify http_reply
- Commit:
5e3e94991603a0927a80cf12e7345dc4a9fba4ea
- From:
- Omar Polo <op@omarpolo.com>
- Date:
amused-web: rename variable for clarity
- Commit:
a22989555dc1675d7f1fad31f4b397ec17d462e2
- From:
- Omar Polo <op@omarpolo.com>
- Date:
amused-web: strip the query from the request path
- Commit:
c2117f4b55aab1b09cef4ca3ed556d54c7e7ce2a
- From:
- Omar Polo <op@omarpolo.com>
- Date:
amused-web: set http.[ch] as public domain code
- Commit:
6d85a326d3bad5bff84126662d045b3b207ffd7a
- From:
- Omar Polo <op@omarpolo.com>
- Date:
amused-web: set the chunking earlier
- Commit:
7add2c3c8e1dab441e58998cb408ee1d31be4edf
- From:
- Omar Polo <op@omarpolo.com>
- Date:
amused-web: simplify parsing of the first line of the request
- Commit:
9daa6569cac709d1ddd8e2f904a1728b6e80824a
- From:
- Omar Polo <op@omarpolo.com>
- Date:
amused-web: log the HTTP version too
- Commit:
2c962d053dc13e78db80d506191616a58ee99970
- From:
- Omar Polo <op@omarpolo.com>
- Date:
amused-web: reply with the right HTTP version
- Commit:
3634fa709eb3bd3cacb762306ef62ff9698441b3
- From:
- Omar Polo <op@omarpolo.com>
- Date:
amused-web: rework client handling on top of bufio / ev