#146 new
Hans de Graaff

HTTP Pipelining specs fail in thin 1.2.11.

Reported by Hans de Graaff | April 22nd, 2011 @ 02:08 PM

With thin 1.2.11 I get the following spec failures:

1)
'Thin::Server HTTP pipelining should pipeline request on same socket' FAILED
expected "HTTP/1.1 200 OK\r\nContent-Type: text/html\r\nContent-Length: 8\r\nConnection: keep-alive\r\nServer: thin 1.2.11 codename Bat-Shit Crazy\r\n\r\n/first-1" to include "/first-1" and "/second-2"
./spec/server/pipelining_spec.rb:25:
/usr/lib64/ruby/1.8/timeout.rb:53:in `timeout'

2)
'Thin::Server HTTP pipelining should pipeline requests by default on HTTP 1.1' FAILED
expected "HTTP/1.1 200 OK\r\nContent-Type: text/html\r\nContent-Length: 8\r\nConnection: keep-alive\r\nServer: thin 1.2.11 codename Bat-Shit Crazy\r\n\r\n/first-1" to include "/first-1" and "/second-2"
./spec/server/pipelining_spec.rb:39:
/usr/lib64/ruby/1.8/timeout.rb:53:in `timeout'

3)
'Thin::Server HTTP pipelining should not allow more persistent connection then maximum' FAILED
expected: 1,
     got: 0 (using ==)
./spec/server/pipelining_spec.rb:80:
/usr/lib64/ruby/1.8/timeout.rb:53:in `timeout'

4)
'Thin::Server HTTP pipelining should decrement persistent connection on close' FAILED
expected: 1,
     got: 0 (using ==)
./spec/server/pipelining_spec.rb:92:
/usr/lib64/ruby/1.8/timeout.rb:53:in `timeout'

No comments found

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

People watching this ticket

Pages