1
0
Fork 0
mirror of https://github.com/puma/puma.git synced 2022-11-09 13:48:40 -05:00

Fix url path length test

This commit is contained in:
Evan Phoenix 2014-01-25 12:43:05 -08:00
parent 6f64bee090
commit 8b987eda4a

View file

@ -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)