Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

client: remove 'make' function? #18

Open
djs55 opened this Issue · 0 comments

1 participant

@djs55
Owner

All users of the xenstore client do the following:

  lwt client = make () in
  immediate client (fun handle ->
    read handle "foo"
  )

where the make () step simply returns a cached global singleton multiplexing-client instance initialised on first use. We might as well instantiate this client automatically to simplify the user experience.

There's code in one or two apps to handle fork(). We should set the socket to close-on-exec and make the client reconnect automatically to cover this. If done sensibly, the reconnect logic would allow the daemon to be restarted without confusing the client.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.