From 17dc99cc5c3a3fc59145724059f36c5c907f6c3f Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Mon, 4 May 2009 06:08:36 +0000 Subject: Inline and remove the HttpRequest#reset method These potentially leaves an open file handle around until the next request hits the process, but this makes the common case faster. --- test/unit/test_request.rb | 1 - 1 file changed, 1 deletion(-) (limited to 'test') diff --git a/test/unit/test_request.rb b/test/unit/test_request.rb index a6cb13c..0bfff7d 100644 --- a/test/unit/test_request.rb +++ b/test/unit/test_request.rb @@ -77,7 +77,6 @@ class RequestTest < Test::Unit::TestCase client = MockRequest.new("GET #{abs_uri} HTTP/1.1\r\n" \ "Host: foo\r\n\r\n") assert_raises(HttpParserError) { @request.read(client) } - @request.reset end end -- cgit v1.2.3-24-ge0c7