mirror of
https://github.com/HoneyryderChuck/httpx.git
synced 2025-08-10 00:01:27 -04:00
emit error for http1 parser errors as well
This commit is contained in:
parent
990e550a6e
commit
1e66528925
@ -164,6 +164,9 @@ module HTTPX
|
||||
@requests.each do |request|
|
||||
emit(:error, request, ex)
|
||||
end
|
||||
@pending.each do |request|
|
||||
emit(:error, request, ex)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
|
@ -31,6 +31,7 @@ module HTTPX
|
||||
end
|
||||
|
||||
def interests
|
||||
# waiting for WINDOW_UPDATE frames
|
||||
return :r if @buffer.full?
|
||||
|
||||
return :w if @connection.state == :closed
|
||||
|
Loading…
x
Reference in New Issue
Block a user