-
-
Notifications
You must be signed in to change notification settings - Fork 6.8k
GHA/windows: enable MulitSSL in an MSVC job #14276
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
Conversation
Can you make this part of an existing job? These jobs are already flaky and each one added increases the chance for a PR to go red. |
This PR is just meant to show the compilation problem. When it solve, we can think where to put the multissl. |
e1fed55
to
3ce5893
Compare
9b83dea
to
4faa896
Compare
@vszakats I add another suggestion. |
I think the link is misleading, because it talk another warning. |
There is a problem with forward deceleration and const. Maybe it is msvc bug? |
Global variables are guaranteed to be initialized to zero according to the standard. So what exactly does this mean? |
On the original code on line 417, is forward declaration, not a definition. It should not do initialization on this line. |
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.
Looking good! As discussed earlier, I'd prefer integrating this into an existing job, rather than adding a new one, to avoid adding more chance for flakiness.
How about enabling Schannel in the existing 'openssl' job?
I know you don't want to add many tests. but my plan is to have multissl to install as much ssl backends for curl together.
|
Tests will only run on the default TLS backend, so running with extra backends will not increase test coverage. Having a single extra backend tests the MultiSSL codepath, this is covered in this PR. Adding more backends would only add build tests for the extra backends. We have this covered for many now in separate jobs, and new ones can be appended to an existing job. I think the situation with flaky MSVC jobs is already very bad, breaking almost all runs. I don't know why that it, but adding more flaky jobs don't seem to help us because of this. All in all, I think we'd better off we using the existing |
Can we just build the tests without running them on multissl job? Build the tests in different compiler will raise new warning that we can solve like this one. |
Why would that be better than adding it to an existing job? |
My goal is to add on the same build, as much backend together. If I add more backends in openssl test, it will be not be a default anymore, because curl choose the default automatic according the first in the alphabet order. |
3258212
to
59f4231
Compare
I am not sure why the ci is failing. |
You can manually select the default TLS backend using The MultiSSL compiler warning came up because of enabling MultiSSL at all. Adding more backends will not uncover more such issues. Either way I've nowhere said not to enable more backends, but to add new ones to an existing job. Also notice that MultiSSL isn't really where the puck is going in curl, e.g. because it lacks support for HTTP/3 and the original reasons for having it are now obsolete: |
ok. I will Enable Schannel in openssl job. |
we can wait until the PR #14305 will be merge, and I will rebase this PR from the master after the merge. |
We need to find another job for MultiSSL. The openssl one has HTTP/3 enabled which is incompatible with MultiSSL. Hence the CI failure. How about the 'Schannel U' job? It needs the |
a9e2df8
to
e815503
Compare
Done. |
Thanks @talregev! |
Ref: 98da147 #14305
Closes #14276