-
Notifications
You must be signed in to change notification settings - Fork 41
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
Switch to Java11 HttpClient #205
Comments
I'm off till end of year starting today. In previous cases (e.g. httpclient 3->4, 4->5) Platform went with just including latest and it being default. If there is issue by the time of M2, revert to httpclient 5 can be done. |
Cool |
If possible switch to the new provider early M1 to find issues with it. IMHO it would be a nice win to get rid of the httpclient dependency. |
It should now be available in the target platform, so if you like, just exchange the features and open a PR so we can see what happens :-) |
I leave that to the more involved people like you or Alex. Would be strange to me to change a feature without having worked / looked at the actual change. |
I think I have prepared all that is required for "platform" here, Tycho already uses a custom transport for this so if someone is interested in bring this forward it would be good to take over. |
I hope to try it out soon(ish). But others are more than welcome to try themself and report issues. |
I see that Tycho 4 will start using this. Why not merge this one and revert if we see issue with it? |
Tycho 4 is using an own transport independent from P2... last time I checked P2 test failed, so someone is needed to look into this: |
Now that this is in an I-build , will java11 httpclient be used instead of apache hc one if both providers are installed ? |
I've just updated my SDK to latest I-Build and I see that the httpclient5 ECF connector was removed as part of the update. |
Could it be, it is not included in the SDK package?
Shouldn't there be some org.eclipse.ecf.provider.filetransfer.httpclient5 non-source jar? |
Actually the httpclient5.source ones would better be gone one we are sure of the implementation. |
I would try to help more, but I really need to get a new version of ant (1.10.14) ready ASAP... |
I've done installation and it works fine but having people behind weird proxies test would be much appreciated. |
Yes, I tested the installer and stuff too a few months ago. It all seems fine. But weird networks with firewalls and proxies with authentication are my biggest concern... Perhaps @sratz is familiar with such environments and has time to try it out... |
It's actually not an issue for me, but more the confirmation that the installation and replacement process is going fine. We do not want httpclient5 anymore, but httpclientjava (which is provided with the update). |
Even if such a thing is feasible, no one will actually invest effort to implement that. 😱 |
Maintaining two implementations is actually the opposite of what the goal here is. |
The following p2 issue drives these changes: eclipse-equinox/p2#205
The following might not determine the winner, but it does ensure that
FYI, I've been able to get the installer fully working with the new implementation, including in Oomph's ECFURIHandlerImpl. I think we could no proceed with the remaining cleanup... |
I believe the cleanup is done. A new problem with authentication is tracked by this new issue: |
ECF now includes the Java 11 HttpClient (see eclipse/ecf#12 (comment))
We should include this as early as possible to have enough time to test and get feedback and/or regressions.
I could see two possible options:
FYI @akurtakov what do you think? Maybe (2) for 2023-03 and switch to (1) in 2023-06?
The text was updated successfully, but these errors were encountered: