MagLev/maglev — Issue #97: SocketError_NotConnected instead of Errno::ECONNREFUSED
Author: timfel
Created: 2011-11-07 12:46:47+00:00
State: open

Writing to a TCPSocket that isn't connected should throw Errno::ECONNREFUSED instead of a SocketError. This breaks the new integration test in Sinatra (the rescue clause doesn't work, see http://ci.rkh.im/job/Sinatra%20%28master%29/rack=rack-1.3.0,ruby=maglev-head,tilt=tilt-1.3/lastCompletedBuild/testReport/)