removing unneeded cond (it's already done in the initializer)

This commit is contained in:
HoneyryderChuck 2021-03-08 16:56:13 +00:00
parent 765fc540f4
commit 8a33a9f4db

View File

@ -47,10 +47,6 @@ module HTTPX
def connect
super
if @keep_open
@state = :negotiated
return
end
return if @state == :negotiated ||
@state != :connected