-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
Remove check for ssl_enabled for ConfigBuilder #22535
Conversation
Error syncing changes upstream. Logs saved in error-snapshot-1545509473194. |
Oh crud, something's wrong with the WPT sync. cc @jdm |
In this case there's probably a merge conflict because we're 5 days behind. |
☔ The latest upstream changes (presumably #22536) made this pull request unmergeable. Please resolve the merge conflicts. |
a8938e7
to
0e93f41
Compare
Opened new PR for upstreamable changes. Completed upstream sync of web-platform-test changes at web-platform-tests/wpt#14662. |
r? @jdm This should fix the problems I'm encountering on Windows. Essentially, the SSL config getter should ALWAYS return a record, regardless of whether or not SSL was enabled. |
Should probably cc @jgraham as well. |
@KiChjang What is the effect of these changes on your local build? |
I think this is probably OK. |
Actually, I think I see how the SSL stuff works and why it's not working on Windows. Rather than making this change, I propose the following:
Since wptcommandline's |
The other reasonable solution here would be modifying our WPT initialization to use the pregenerated certs from tests/wpt/web-platform-tests/tools/certs by setting the |
@jdm Hrm, currently we do not require windows users to install openssl when configuring their system to build servo. Should we add that to the README.md? Or did you mean the python package that is called openssl? |
We automatically download openssl as part of the windows bootstrapping process: https://github.com/servo/servo/blob/master/python/servo/packages.py#L10 |
So, I found out that the |
I'm also seeing that the code behaves extremely weirdly where defaults are applied after the CLI kwargs are parsed, and not during parsing. This leads to surprising behavior where if the |
If I'm correct, your previous two comments refer to these bits of code: This is why I suggested adding the openssl binary to the path on Windows. Really, though, everything will be easier if we set up our ca_cert_path/host_cert_path/host_key_path defaults to point at the pregenerated certs on all platforms. It should be possible to do that in set_defaults, which calls check_args. |
Closing in favour of the description in #23133. |
Error syncing changes upstream. Logs saved in error-snapshot-1553873359641. |
Fixes #22252. This is a rebased version of #22253.
This change is![Reviewable](https://camo.githubusercontent.com/23b05f5fb48215c989e92cc44cf6512512d083132bd3daf689867c8d9d386888/68747470733a2f2f72657669657761626c652e696f2f7265766965775f627574746f6e2e737667)