diff --git a/lib/httpx/channel.rb b/lib/httpx/channel.rb index e2b6582b..ab861f52 100644 --- a/lib/httpx/channel.rb +++ b/lib/httpx/channel.rb @@ -94,6 +94,7 @@ module HTTPX return if closed? dread dwrite + parser.consume nil end