All new code of the whole pull request, including one or several files
that are either new files or modified ones, are contributed under the
BSD-new license. I am contributing on behalf of my employer Amazon Web
Services, Inc.
LibXML has been removed in favour of a modified version of xml.c
(modified to work with AWS responses and our code base usage).
Also fixes:
* AC_MSG_ERROR usage (fixes#83)
* Some places where we weren't using ms3_c alloc functions
* ms3_get doing an ms3_list with an empty key (fixes#82)
This function acts like ms3_list() but only looks in the prefix up to
the first slash and includes directory names.
Also remove the 1MB lower limit on chunk size
* ms3_server_error() gets the last server error or Curl error
* Remove the deprecated ms3_init(), it could not work with
ms3_server_error() and no one uses it
* Test cleanups
* Version bump for semver
CURL will automatically reuse connections if the CURL object is reused.
This commit adds functionality so that a thread can have a CURL object
that can be reused without dramatically altering the API.
It add two new functions:
* ms3_library_init() - to initialize curl for multithreaded operations
* ms3_thread_init() - to initialize a connection object for a thread
This patch also fixes tests that are affecting each other.