can't reconnect here, just move it back to idle

This commit is contained in:
HoneyryderChuck 2018-01-14 22:46:50 +00:00
parent dcd90b706a
commit 29511246fb

View File

@ -89,7 +89,7 @@ module HTTPX
transition(:closed)
return true if hard
unless pr && pr.empty?
connect
transition(:idle)
@parser = pr
parser.reenqueue!
return false