bcf7f5cd52
A capybara driver that uses WebKit via QtWebKit. OK sthen@
13 lines
478 B
Plaintext
13 lines
478 B
Plaintext
$OpenBSD: patch-lib_capybara_webkit_connection_rb,v 1.1.1.1 2012/12/20 16:22:28 jeremy Exp $
|
|
--- lib/capybara/webkit/connection.rb.orig Wed Nov 28 17:00:38 2012
|
|
+++ lib/capybara/webkit/connection.rb Wed Nov 28 17:00:40 2012
|
|
@@ -115,7 +115,7 @@ module Capybara::Webkit
|
|
if defined?(Socket::TCP_NODELAY)
|
|
@socket.setsockopt(:IPPROTO_TCP, :TCP_NODELAY, 1)
|
|
end
|
|
- rescue Errno::ECONNREFUSED
|
|
+ rescue Errno::ECONNREFUSED, Errno::EINVAL
|
|
end
|
|
end
|
|
end
|