test_http_parser: fix for URI too long errors (again)
commite9e7a1c7c1778ed7cd7c724b26362d1f89b2801c
authorEric Wong <normalperson@yhbt.net>
Wed, 15 Jun 2011 00:56:47 +0000 (15 00:56 +0000)
committerEric Wong <normalperson@yhbt.net>
Wed, 15 Jun 2011 00:56:47 +0000 (15 00:56 +0000)
tree08221c44c87531fd6ea81d2fcf8bf932adf5dbc3
parenta7d9eb03bf3ac554854990018a67f34c2221fb20
test_http_parser: fix for URI too long errors (again)

The random garbage generator may occasionally generate URIs that
are too long and cause the URI-specific error to be raised
instead of the generic parser error we recently introduced.

Follow-up-to: commit 742c4d77f179a757dbcb1fa350f9d75b757acfc7
test/unit/test_http_parser.rb