mirror of
https://github.com/ninenines/cowboy.git
synced 2025-07-14 20:30:23 +00:00
Add max_headers option
It is only enforced when Cowboy needs to wait for more data. Also fix a few types and a few status codes.
This commit is contained in:
parent
90c92850b7
commit
2e0a2a1c9e
2 changed files with 21 additions and 13 deletions
|
@ -359,8 +359,8 @@ The document has moved
|
|||
{408, "GET / HTTP/1.1\r\nHost: localhost"},
|
||||
{408, "GET / HTTP/1.1\r\nHost: localhost\r\n"},
|
||||
{408, "GET / HTTP/1.1\r\nHost: localhost\r\n\r"},
|
||||
{413, Huge},
|
||||
{413, "GET / HTTP/1.1\r\n" ++ Huge},
|
||||
{414, Huge},
|
||||
{400, "GET / HTTP/1.1\r\n" ++ Huge},
|
||||
{505, "GET / HTTP/1.2\r\nHost: localhost\r\n\r\n"},
|
||||
{closed, ""},
|
||||
{closed, "\r\n"},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue