twitter / netty-http2

HTTP/2 for Netty
Apache License 2.0
120 stars 61 forks source link

Fix the way push streams are accepted in the write path #5

Closed madster26 closed 8 years ago

madster26 commented 8 years ago

Same patch as before but squashed this time.

Currently on the server when push traffic <<< non push traffic, the last stream Id >>> stream Id for a push stream when a push request does come through.

The current HttpConnectionHandler does not differentiate between locally initiated streams & remote streams while checking if (streamId < lastStreamId) and this results in the low traffic push writes to be rejected. This PR attempts to fix that problem.