lib/protocol/http/body/readable.rb in protocol-http-0.23.8 vs lib/protocol/http/body/readable.rb in protocol-http-0.23.9
- old
+ new
@@ -94,10 +94,9 @@
def join
buffer = String.new.force_encoding(Encoding::BINARY)
self.each do |chunk|
buffer << chunk
- chunk.clear
end
if buffer.empty?
return nil
else