lib/httpx/connection.rb in httpx-0.8.0 vs lib/httpx/connection.rb in httpx-0.8.1

- old
+ new

@@ -279,15 +279,15 @@ ex.set_backtrace(caller) on_error(ex) return end - log { "READ: #{siz} bytes..." } - if siz.zero? read_drained = @read_buffer.empty? break end + + log { "READ: #{siz} bytes..." } parser << @read_buffer.to_s break if @state == :closing || @state == :closed