gaojieliu opened a new pull request, #408: URL: https://github.com/apache/httpcomponents-core/pull/408
This code change checks the connection is ready to use or not before abandoning it. When it is ready to use, it will use the conn to complete all the callbacks in the request queue, otherwise, create a new conn. With the previous logic, under high load, H2ConnPool could create a lot of conns per endpoint and each conn will consume a lot of memory: a pair of input/output buffers. -- 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]
