Permalink
Switch branches/tags
Nothing to show
Commits on Feb 19, 2013
  1. Merge pull request #1 from jonludlam/rpclib

    jonludlam committed Feb 19, 2013
    Update to use rpclib rather than a bespoke xmlrpc lib
  2. Update to use rpclib rather than a bespoke xmlrpc lib

    jonludlam committed Jan 5, 2013
    Signed-off-by: Jon Ludlam <jonathan.ludlam@eu.citrix.com>
Commits on Jan 17, 2013
Commits on Nov 27, 2012
  1. Merge pull request #6 from jonludlam/events

    djs55 committed Nov 27, 2012
    Add the event helper modules.
  2. Add the event helper modules.

    jonludlam committed Nov 27, 2012
    Signed-off-by: Jon Ludlam <jonathan.ludlam@eu.citrix.com>
Commits on Sep 23, 2012
  1. Merge pull request #5 from djs55/async

    djs55 committed Sep 23, 2012
    Comment out unneeded debugging code.
  2. Comment out unneeded debugging code.

    David Scott
    David Scott committed Sep 23, 2012
  3. Merge pull request #4 from djs55/fix-oasis

    djs55 committed Sep 23, 2012
    Fix the autogenerated OASIS files
  4. Fix the autogenerated OASIS files

    David Scott
    David Scott committed Sep 23, 2012
    The previous lot were generated with a patched oasis, and this broke
    the execution of the unit tests.
  5. Merge pull request #3 from djs55/async

    djs55 committed Sep 23, 2012
    Add support for core/async as an alternative to lwt
  6. Transliterate lwt example into async

    David Scott
    David Scott committed Sep 23, 2012
  7. Add (untested) core/async implementation

    David Scott
    David Scott committed Sep 23, 2012
  8. IO.open_connection now takes a Uri.t, rather than a concrete address

    David Scott
    David Scott committed Sep 23, 2012
    This will allow an app not to know how addresses are stored internally,
    and allows xen-api clients to support different address types such as
    * unix domain sockets -- never appropriate for mirage
    * SSL -- future work for mirage
    
    Of course the cost of this flexibility is the run-time error that
    will be generated if the client doesn't support the Uri/address/scheme.
    Given that runtime errors are usually possible anyway (eg DNS lookup
    failures), the app has to be defensively-written anyway.
  9. Merge pull request #2 from djs55/ssl

    djs55 committed Sep 23, 2012
    Add SSL support, simplify the interface
  10. Properly close SSL channels as well as plaintext ones

    David Scott
    David Scott committed Sep 23, 2012
  11. Add SSL support, but close is missing due to an interface difference …

    David Scott
    David Scott committed Sep 23, 2012
    …between Lwt_io and Lwt_ssl
  12. Switch to using a URI string in the xen-api interface

    David Scott
    David Scott committed Sep 23, 2012
Commits on Sep 22, 2012
  1. Merge pull request #1 from djs55/functorize

    djs55 committed Sep 22, 2012
    Functorize, add unit tests
  2. Test Session.login_with_password

    David Scott
    David Scott committed Sep 22, 2012
  3. Test retries will be attempted if No_response is received from the se…

    David Scott
    David Scott committed Sep 22, 2012
    …rver.
  4. Add skeleton for oUnit test

    David Scott
    David Scott committed Sep 22, 2012
  5. Add a TODO file

    David Scott
    David Scott committed Sep 22, 2012
  6. Rename 'of_sockaddr' to 'make'

    David Scott
    David Scott committed Sep 22, 2012
  7. Classify valid but unrecognised HTTP responses as fatal errors, empty…

    David Scott
    David Scott committed Sep 22, 2012
    … responses as possible transients
  8. Simplify disconnect/connect logic

    David Scott
    David Scott committed Sep 22, 2012
    We disconnect if an error is received, otherwise we keep connections open.
  9. The retry policy should be applied over the whole operation, not on i…

    David Scott
    David Scott committed Sep 22, 2012
    …ndividual sub-operations
  10. The interface now specifies a retry period, rather than a maximum num…

    David Scott
    David Scott committed Sep 22, 2012
    …ber of requests to be sent
  11. Check the HTTP response is `OK

    David Scott
    David Scott committed Sep 22, 2012
  12. Move timeout/retry logic into the functor, for less lwt-dependence (a…

    David Scott
    David Scott committed Sep 22, 2012
    …nd hopefully to make it easier to test)
  13. Replace while-loop with invariant with a more straightforward recursi…

    David Scott
    David Scott committed Sep 22, 2012
    …ve function
  14. Switch to using a 'type ('a, 'b) result' in the 'more core' (ie centr…

    David Scott
    David Scott committed Sep 22, 2012
    …al) part of the client
    
    The plan is:
    * to make the HTTP client robust and lwt-agnostic
    * to upstream HTTP client improvements to cohttp
    * to make the xen-api client async-compatibile
  15. Switch over to using Cohttp for HTTP client stuff

    David Scott
    David Scott committed Sep 22, 2012
  16. Temporarily add fork of the cohttp lwt unix client

    David Scott
    David Scott committed Sep 22, 2012
    I'd like to make this capable of handling persistent connections
    and transparent reconnection. When this works I'll upstream it
    separately.