mirror of
https://github.com/HoneyryderChuck/httpx.git
synced 2025-10-04 00:00:37 -04:00
removing unneeded cond (it's already done in the initializer)
This commit is contained in:
parent
765fc540f4
commit
8a33a9f4db
@ -47,10 +47,6 @@ module HTTPX
|
||||
|
||||
def connect
|
||||
super
|
||||
if @keep_open
|
||||
@state = :negotiated
|
||||
return
|
||||
end
|
||||
return if @state == :negotiated ||
|
||||
@state != :connected
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user