diff options
author | Loïc Hoguin <[email protected]> | 2011-10-19 20:35:55 +0200 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2011-10-19 20:35:55 +0200 |
commit | fe5f0ca539fe883f397c97a5793f86e2de4a34f3 (patch) | |
tree | e5d1fd2627572d11b16b221a53d9c58eb620b20f /test/http_handler_long_polling.erl | |
parent | 97df2a2d797818771aedff281c153d082470f7d2 (diff) | |
download | cowboy-fe5f0ca539fe883f397c97a5793f86e2de4a34f3.tar.gz cowboy-fe5f0ca539fe883f397c97a5793f86e2de4a34f3.tar.bz2 cowboy-fe5f0ca539fe883f397c97a5793f86e2de4a34f3.zip |
Add a max_line_length to the HTTP protocol
Allows to limit the size of request and header lines, thus preventing
Cowboy from infinitely reading from the socket and never finding an
end of line.
Defaults to 4096 bytes.
Diffstat (limited to 'test/http_handler_long_polling.erl')
0 files changed, 0 insertions, 0 deletions