-
Notifications
You must be signed in to change notification settings - Fork 292
CP-53951: XAPI should not depend on libssl #6366
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
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.
If some command was used to automatically reformat the dune file, it should be noted in the commit message
My editor did it via LSP. Although this should be equivalent:
We could also enable it globally in Added a note into the commit message. |
Used `dune format-dune-file dune >x && mv x dune`. Can also be done via LSP. No functional change. Signed-off-by: Edwin Török <edwin.torok@cloud.com>
XAPI dependended on vhd_lib, which depends on ssl and lwt. XAPI is not yet ready for Lwt (and mixing Lwt with blocking code is not a good idea). The library was only used to gain access to 1 variant used for parameter passing inside XAPI. Replace this with a polymorphic variant, and drop the dependency. Also allows to drop a match case that was dead code (proto was only ever set to NBD). Fixes: 044dc15 ("CP-45016: Add support for specifying nbd export in sparse_dd") Signed-off-by: Edwin Török <edwin.torok@cloud.com>
f51eba2
It usually uses
stunnel
for that purpose, and we don't want XAPI to be affected by OpenSSL bugs directly.We can't completely drop openssl because sparse_dd relies on it, but that is a separate executable.