mirror of
https://github.com/HoneyryderChuck/httpx.git
synced 2025-08-10 00:01:27 -04:00
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:
parent
347b960de8
commit
dfaa66fb6f
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user