chenBright opened a new pull request, #3749: URL: https://github.com/apache/brpc/pull/3749
### What problem does this PR solve? Issue Number: N/A (follow-up to #3382) Problem Summary: Oversized HTTP/2 DATA frames are rejected before their flow-control credit is recorded. Stream cleanup cannot recover that credit, gradually reducing the connection window and potentially stalling other streams. The memcache and Couchbase regression tests also retain the extra Socket creation reference, preventing the sockets from being recycled. ### What is changed and the side effects? Changed: - Record the full DATA payload, including padding, before body parsing so stream cleanup returns the offending frame's connection credit. - Release the Socket creation references in both parser tests and verify that the sockets are recycled. Side effects: - Performance effects: - Breaking backward compatibility: --- ### Check List: - Please make sure your changes are compilable. - When providing us with a new feature, it is best to add related tests. - Please follow [Contributor Covenant Code of Conduct](https://github.com/apache/brpc/blob/master/CODE_OF_CONDUCT.md). -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
