Closed wolfv closed 1 year ago
@wolfv I can work on the changes needed if you don't have the time to update this.
Note that I tested this PR as is with the current mamba integration PR and that seems to fix all the tests (except the ones that were always failing even with main) on my linux. I didn´t try on Windows yet.
So I removed the issue with the global by making the CURLSetup instance part of the Context (which is already forced to have exactly one instance) and made it easy to pass options to the context so that it does the right thing.
At this point, LGTM, other than the CI not passing for static build I think we can merge. Adding @JohanMabille for review if he find the time too.
Looks good to me, thanks for pushing your changes!
@wolfv If you have an occasion to test this on macos with last comits on mamba integration pr? if that works well for you and I manage to make it work for windows then we're probably "good enough"
I'll update this PR
Note: to make tests pass in mamba, we still need to implement the SSL stuff for CURLHandle.