ok2c commented on PR #674: URL: https://github.com/apache/httpcomponents-core/pull/674#issuecomment-4749758551
> This introduces a trade-off between latency and heap allocation. We might consider whether to use a _slightly_ larger `outEncrypted` buffer so that we can get the first Application Data packet sent off immediately even if a handshake packet like ChangeCipherSpec is still sitting in the buffer; probably just a few dozen bytes would make a difference. The broader question is whether or how to support a _much_ larger output buffer so that we can batch encrypt many packets in a single event loop iteration. @rschmitt This decision could be delegated to a strategy interface or a new method in `SSLSessionInitializer`. -- 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]
