diff options
author | Eric Wong <normalperson@yhbt.net> | 2009-08-14 22:39:11 -0700 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2009-08-15 02:38:48 -0700 |
commit | 8c2e83f98ec8ba9dd2e02f9579b6b2cdefc1b8af (patch) | |
tree | 5310d6e90496b4a978a4e71ec815e93dcae11ef6 /test/unit/test_http_parser.rb | |
parent | 216308704cfc7a4ff50750822126584b54853bc1 (diff) | |
download | unicorn-8c2e83f98ec8ba9dd2e02f9579b6b2cdefc1b8af.tar.gz |
ab still sends this with HTTP/1.0 requests, which is unfortunate, but synthetic benchmarks are good for marketing purposes!
Diffstat (limited to 'test/unit/test_http_parser.rb')
-rw-r--r-- | test/unit/test_http_parser.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/unit/test_http_parser.rb b/test/unit/test_http_parser.rb index 6cef678..42aa1a3 100644 --- a/test/unit/test_http_parser.rb +++ b/test/unit/test_http_parser.rb @@ -79,7 +79,7 @@ class HttpParserTest < Test::Unit::TestCase req = {} tmp = "GET / HTTP/1.0\r\nConnection: keep-alive\r\n\r\n" assert_equal req.object_id, parser.headers(req, tmp).object_id - assert ! parser.keepalive? + assert parser.keepalive? end def test_parse_server_host_default_port |