added stream to streams in the proper place

This commit is contained in:
HoneyryderChuck 2017-12-12 15:39:21 +00:00
parent 1a7ad099c3
commit b197f2e14e

View File

@ -55,6 +55,7 @@ module HTTPX
stream.on(:data) do |data|
request.response << data
end
@streams[request] = stream
end
catch(:buffer_full) do
request.transition(:headers)