arturobernalg opened a new pull request, #407: URL: https://github.com/apache/httpcomponents-core/pull/407
This commit adds a try-catch block to handle potential UnsupportedOperationExceptions when calling getApplicationProtocol on an SSLEngine instance. If such an exception is thrown, we now default to "http/1.1" as the application protocol. This change is necessary to ensure compatibility with older applications that do not support Application-Layer Protocol Negotiation (ALPN). However, this is a temporary workaround and upgrading to an SSL/TLS provider that supports ALPN is strongly recommended for better performance and security. -- 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: dev-unsubscr...@hc.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@hc.apache.org For additional commands, e-mail: dev-h...@hc.apache.org