http1: reset parser instead of closing (it was removing the channel from the selector); this was making http1 pipelining fail

This commit is contained in:
HoneyryderChuck 2018-04-03 19:00:11 +01:00
parent 347b960de8
commit dfaa66fb6f

View File

@ -140,7 +140,7 @@ module HTTPX
response << @parser.upgrade_data
throw(:called)
end
close
reset
send(@pending.shift) unless @pending.empty?
return unless response.headers["connection"] == "close"
disable_concurrency