-
Notifications
You must be signed in to change notification settings - Fork 5k
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
Add support for unix domain sockets (APR Protocol) #401
Conversation
Give me a couple of days and I will run this on FreeBSD and HP-UX. |
I still think it is a bad idea to continue to promote the APR connector. At least domain socket support won't be an excuse to keep it around longer than absolutely necessary. Anyway, if this ends up being included, I will then refactor the feature a bit more. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A few minor issues, but on both FreeBSD and HP-UX the tests with APR 1.6.6 and 1.7.0 passed for me.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add support and test case for Unix Domain Sockets in org.apache.coyote.http11.Http11AprProtocol, to support users using Java versions older than 16. Requires tomcat-native 1.2.26 and above.
In theory 96e241c should do the trick, can you confirm this is ready to merge? |
For me yes, but I want Rémy give a chance to do his improvements on top. |
I don't plan any improvements or changes at this time. |
Alright, I will merge this this week. |
Thanks for this. |
@minfrin I have now pushed this to master. Can you please backport to 9.0.x and 8.5.x and then I will merge them too? |
@michael-o Are new PRs needed ? We can cherry-pick the commits to the other branches |
@martin-g Not really, but I do not fully know which are revelant. I'd rather merge a complete, blessed set rather then some halfbreed. |
@michael-o You just pushed two commits to master: https://github.com/apache/tomcat/commits/master: I'd expect only those two to be backported. |
I tried with 9.0.x and compilation fails, precending commits are missing. That is why I requested a backport from @minfrin. |
A few fixups will follow, so they need to soak in then someone can cherry pick them to a branch and the squash. |
On the case, thank you. |
In trying to backport to 8.5.x, there are some further commits needing backporting to address conflicts: |
Yes, let's do 9.0.x first. @rmaucher has added an acceptable solution for Windows. This should be ported to the |
As far as I can tell, this PR was applied in a616bf3 |
Add support and test case for Unix Domain Sockets in
org.apache.coyote.http11.Http11AprProtocol, to support
users using Java versions older than 16.
Requires tomcat-native 1.2.26 and above.
https://bz.apache.org/bugzilla/show_bug.cgi?id=64943