summary refs log tree commit diff
path: root/FEATURES
Commit message (Collapse)AuthorAgeFilesLines
* detect and refuse pipeliningLeah Neukirchen2022-01-131-1/+1
| | | | | | | | | | | | | | | | | Previously, two HTTP requests within the same read() would both be parsed by http_parser_execute (and corrupted state). We don't support this, since we distinguish between reading and writing parts of the server action, and there's no way to let poll perform the writing part in this case. Detect pipelining by pausing the parser in on_message_complete and checking if we parsed fewer bytes than we passed. Then handle the first request and drop the connection; a compliant HTTP client must retry without pipelining. Found by @duncaen. Signed-off-by: Leah Neukirchen <leah@vuxu.org>
* explain how to run with CAP_NET_BIND_SERVICELeah Neukirchen2020-05-151-0/+5
|
* add FEATURESLeah Neukirchen2020-05-081-0/+31