apple / servicetalk

A networking framework that evolves with your application
https://docs.servicetalk.io
Apache License 2.0
927 stars 181 forks source link

Reset flush strategy after client request is written #3103

Closed idelpivnitskiy closed 1 week ago

idelpivnitskiy commented 1 week ago

Motivation:

Currently we reset the flush strategy after a request is written and its response is received. If client starts writing another pipelined request on the same connection, it ends up using an overridden flush strategy of the previous request that is still waiting for its response.

Modifications:

Result:

Second pipelined request on the same connection uses its own FlushStrategy.