aboutsummaryrefslogtreecommitdiffstats
path: root/src/cowboy_http_websocket.erl
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2011-10-19 20:35:55 +0200
committerLoïc Hoguin <[email protected]>2011-10-19 20:35:55 +0200
commitfe5f0ca539fe883f397c97a5793f86e2de4a34f3 (patch)
treee5d1fd2627572d11b16b221a53d9c58eb620b20f /src/cowboy_http_websocket.erl
parent97df2a2d797818771aedff281c153d082470f7d2 (diff)
downloadcowboy-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 'src/cowboy_http_websocket.erl')
0 files changed, 0 insertions, 0 deletions