Skip to content

Conversation

@lindig
Copy link
Contributor

@lindig lindig commented Feb 15, 2023

This is a backport of several commits; we omit those that in the original code deal with certificate checking as this is not present in this code base.

The original code is in xen-api.git but in the backport is split into xe-api.git, xenopsd.git, and xen-api-libs-transitional.git.

Socket keepalives do not work when stunnel is used, as the given fd is the local connection to stunnel, and are not set in HTTPS mode. This is fine, because the stunnel client is already set up with keepalives.

@lindig lindig requested a review from robhoes February 15, 2023 11:15
This is a backport of several commits; we omit those that in the
original code deal with certificate checking as this is not present in
this code base.

The original code is in xen-api.git but in the backport is split into
xe-api.git, xenopsd.git, and xen-api-libs-transitional.git.

Socket keepalives do not work when stunnel is used, as the given fd is
the local connection to stunnel, and are not set in HTTPS mode. This is
fine, because the stunnel client is already set up with keepalives.

Signed-off-by: Christian Lindig <christian.lindig@citrix.com>
Signed-off-by: Christian Lindig <christian.lindig@cloud.com>
Add a local modified copy of with_open_uri to avoid a circular
dependency with xcp-idl.

Signed-off-by: Christian Lindig <christian.lindig@cloud.com>
Add modified copies of

  * open_uri
  * xcp_client

to handle https URIs. This can't be done in the original module in
xcp-idl as it would introduce a circular dependency.

Signed-off-by: Christian Lindig <christian.lindig@cloud.com>
@lindig lindig merged commit ded5bab into xapi-project:0.150-lcm Mar 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants