net-http-server
net-http-server copied to clipboard
Figure out why the Rack specs do not start the Server.
The Rack specs do not start the Server in the background, causing all specs to fail to connect.
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.