lib/httpx/io/ssl.rb in httpx-0.9.0 vs lib/httpx/io/ssl.rb in httpx-0.10.0
- old
+ new
@@ -40,10 +40,9 @@
def close
super
# allow reconnections
# connect only works if initial @io is a socket
@io = @io.io if @io.respond_to?(:io)
- @negotiated = false
end
def connected?
@state == :negotiated
end