Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

fixes wrongly used call to `Socket#shutdown`

refs #176
  • Loading branch information...
commit a0d4a21fd3fec5441e257c62030e46d47f20af56 1 parent 3b872c6
@niklasb niklasb authored halogenandtoast committed
Showing with 3 additions and 1 deletion.
  1. +3 −1 spec/browser_spec.rb
View
4 spec/browser_spec.rb
@@ -68,7 +68,9 @@
after do
@server_thread.kill
- @server.shutdown
+ # workaround for ENOTCONN error triggered by `shutdown` on some platforms
+ @server.shutdown rescue Errno::ENOTCONN nil
+ @server.close
end
it "doesn't accept a self-signed certificate by default" do

0 comments on commit a0d4a21

Please sign in to comment.
Something went wrong with that request. Please try again.