-
Notifications
You must be signed in to change notification settings - Fork 41.2k
Avoid overly specific casting in SslConnectorCustomizer #43849
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
There are many more things to consider before we can look at Tomcat 11. This is going to be tackled in the Spring Boot 4 milestones but we're not there yet. |
That said, we could consider this in a similar manner to #42730 and #42731. We'd have to decide if it's worth the risk, though. #42730 added a smoke tests to cover the basics with Tomcat 11. It does not use SSL. #42731 removed the use of some deprecated Tomcat API that should have already been removed in Boot 3.3. The change proposed here is quite different as it would affect everyone using Tomcat and SSL and, therefore, brings with it much greater risk. apache/tomcat@2b4be93 is the commit that removed |
@markt-asf Is changing the code in SslConnectorCustomizer to refer to |
Should be, yes. There is no APR/native Connector/Endpoint in 10.1.x. |
Thanks, Mark. |
Closes spring-projectsgh-43849 Signed-off-by: arefbehboudi <[email protected]>
I am starting to experiment with Apache Tomcat 11 and Spring Boot 3.4.x. A first blocking issue I have run into is the following:
SslConnectorCustomizer
usesAbstractHttp11JsseProtocol
which seems to have been removed. However, I think this can be reworked to useAbstractHttp11Protocol
instead, regardless of Tomcat 11, and there should be no need to cast down toAbstractHttp11JsseProtocol
, unless I am missing something else.I realize that Tomcat 11 is not officially supported, but this change seemed like a step in the right direction, and a small one at that with I suspect no loss of functionality. I am happy to put together a pull request if this is something you'd like to see.
Thank you.
The text was updated successfully, but these errors were encountered: