lib/protocol/http2/framer.rb in protocol-http2-0.10.2 vs lib/protocol/http2/framer.rb in protocol-http2-0.10.3

- old
+ new

@@ -101,11 +101,12 @@ def write_frame(frame) # Async.logger.debug(self, name: "write") {frame.inspect} frame.write(@stream) - - @stream.flush + + # Don't call @stream.flush here because it can cause significant contention if there is a semaphore around this method. + # @stream.flush return frame end def read_header