test_http_parser: fix for URI too long errors (#3)
commitb08410facbccf96c67822a92888de0bc1910390e
authorEric Wong <normalperson@yhbt.net>
Fri, 17 Jun 2011 08:59:02 +0000 (17 08:59 +0000)
committerEric Wong <normalperson@yhbt.net>
Fri, 17 Jun 2011 08:59:02 +0000 (17 08:59 +0000)
treee88af92de8ae4ba5784b65d0c3d25625b89a834e
parent5f478f5a9a58f72c0a844258b8ee614bf24ea9f7
test_http_parser: fix for URI too long errors (#3)

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