aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2012-09-29 13:57:30 +0200
committerLoïc Hoguin <[email protected]>2012-09-29 13:57:30 +0200
commit2e0a2a1c9e353d49f2746dfdb503e777c5b6ea6d (patch)
tree545f01e6299e991cede394b1de1f5af7d917bd85 /test
parent90c92850b7efa54933a6a1e42ce0c71bb5bb99e3 (diff)
downloadcowboy-2e0a2a1c9e353d49f2746dfdb503e777c5b6ea6d.tar.gz
cowboy-2e0a2a1c9e353d49f2746dfdb503e777c5b6ea6d.tar.bz2
cowboy-2e0a2a1c9e353d49f2746dfdb503e777c5b6ea6d.zip
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.
Diffstat (limited to 'test')
-rw-r--r--test/http_SUITE.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/http_SUITE.erl b/test/http_SUITE.erl
index bb0e345..cb59c07 100644
--- a/test/http_SUITE.erl
+++ b/test/http_SUITE.erl
@@ -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"},