net-http-server icon indicating copy to clipboard operation
net-http-server copied to clipboard

Figure out why the Rack specs do not start the Server.

Open postmodern opened this issue 14 years ago • 1 comments

The Rack specs do not start the Server in the background, causing all specs to fail to connect.

postmodern avatar Apr 06 '11 18:04 postmodern

If this is the same bug, I narrowed it down to this line:

https://github.com/postmodern/net-http-server/blob/master/spec/rack/handler/helpers/test_request.rb#L8

that is calling the dodgy code. What happens in my case is that the server starts, and accepts a connection, but doesn't send a response, and doesn't close the connection.

Problem is, I don't know enough about Rack to get the offending line to log it's error.

johncant avatar Sep 06 '12 00:09 johncant