lib/protocol/http1/body/fixed.rb in protocol-http1-0.8.2 vs lib/protocol/http1/body/fixed.rb in protocol-http1-0.8.3
- old
+ new
@@ -45,10 +45,10 @@
super
end
def read
if @remaining > 0
- if chunk = @stream.read_partial(@remaining)
+ if chunk = @stream.readpartial(@remaining)
@remaining -= chunk.bytesize
return chunk
end
end