diff options
| author | Paul Sokolovsky <pfalcon@users.sourceforge.net> | 2016-07-10 23:01:52 +0300 |
|---|---|---|
| committer | Paul Sokolovsky <pfalcon@users.sourceforge.net> | 2016-07-10 23:01:52 +0300 |
| commit | e3f0f31e07091642a938d7f243f5803588e409b1 (patch) | |
| tree | 41fcfced25b4110578dc84aa526d3ed31968fdaa /unix/alloc.c | |
| parent | 1459a8d5c9b29c78da2cf5c7cf3c37ab03b34b8e (diff) | |
examples/http_server*: Update for buffered-like streams (read line by line).
Since "read-exactly" stream refactor, where stream.read(N) will read
exactly N bytes (unless EOF), http_server* examples can't any longer do
client_socket.read(4096) and expect to get full request (it will block
on HTTP/1.1 client). Instead, read request line by line, as the HTTP
protocol requires.
Diffstat (limited to 'unix/alloc.c')
0 files changed, 0 insertions, 0 deletions
