lib/protocol/http/body/stream.rb in protocol-http-0.34.0 vs lib/protocol/http/body/stream.rb in protocol-http-0.35.0

- old
+ new

@@ -271,11 +271,11 @@ end end # Close the input and output bodies. def close(error = nil) - self.close_read - self.close_write + self.close_read(error) + self.close_write(error) return nil ensure @closed = true end