From 8b987eda4a5ce46f769fa9d525ff991eb75e07aa Mon Sep 17 00:00:00 2001 From: Evan Phoenix Date: Sat, 25 Jan 2014 12:43:05 -0800 Subject: [PATCH] Fix url path length test --- test/test_http11.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/test_http11.rb b/test/test_http11.rb index 200f84ed..009ae0d7 100644 --- a/test/test_http11.rb +++ b/test/test_http11.rb @@ -94,7 +94,7 @@ class Http11ParserTest < Test::Unit::TestCase parser.reset # Raise exception if URI path length > 2048 - path = "/" + rand_data(2048, 100) + path = "/" + rand_data(2049, 100) http = "GET #{path} HTTP/1.1\r\n\r\n" assert_raises Puma::HttpParserError do parser.execute(req, http, 0)