From 6ec20b736ea0a8e8a2a216457273e4dd00b2f1d2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Hoguin?= Date: Sat, 9 Apr 2011 15:28:41 +0200 Subject: Limit the number of empty lines to allow before the request-line. Defaults to 5. Prevents someone from indefinitely sending empty lines. --- test/http_SUITE.erl | 1 + 1 file changed, 1 insertion(+) (limited to 'test') diff --git a/test/http_SUITE.erl b/test/http_SUITE.erl index 1bcdcc6..1d2ebb0 100644 --- a/test/http_SUITE.erl +++ b/test/http_SUITE.erl @@ -98,6 +98,7 @@ raw(Config) -> Tests = [ {"\r\n\r\n\r\n\r\n\r\nGET / HTTP/1.1\r\nHost: localhost\r\n\r\n", 200}, {"Garbage\r\n\r\n", 400}, + {"\r\n\r\n\r\n\r\n\r\n\r\n", 400}, {"GET / HTTP/1.1\r\nHost: dev-extend.eu\r\n\r\n", 400}, {"", 408}, {"\r\n", 408}, -- cgit v1.2.3