summaryrefslogtreecommitdiff
path: root/inc
Commit message (Collapse)AuthorAgeFilesLines
* util.h: fix MAX_URI_SIZE sizeof usageDanny Al-Gaaf2014-05-151-1/+1
| | | | | | | | | Fix for : inc/request.h:131:14: error: sizeof on pointer operation will return size of 'char *' instead of 'char [9]' [-Werror,-Wsizeof-array-decay] Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
* Incorporated change from Yehuda Sadeh which allows runtimeBryan Ischo2011-09-283-13/+49
| | | | | | customization of the S3 server to talk to, with additional small improvements, enhanced by me to support multiple S3 hosts in the same runtime.
* * Fixed some issues that were breaking recent Windows builds with recent MinGWBryan Ischo2009-02-131-0/+3
|
* * Added support for Mac OS XBryan Ischo2009-02-122-6/+1
| | | | * Fixed a few minor comment issues and some small makefile issues
* * Undid my last change. Now I realize why you should only ever use spacesBryan Ischo2008-12-3010-1144/+1144
| | | | | | | in code indentations (because it's impossible to get everything to line up if tabs of arbitrary width are used), and so I'm reverting back to spaces for everything.
* * tabify source, to fix the broken .emacs configuration I have been usingBryan Ischo2008-12-3010-1144/+1144
| | | | | since forever (finally realized it was broken and fixed it today!)
* * Fixed a bug with query parameters using double-? in URI, breaking listBryan Ischo2008-12-111-1/+1
| | | | | | | | | | | | | functionality (and possibly other functionality) * Fixed a memory leak in the list_bucket operation, which was not destroying the simplexml structure when finished with it * Fixed a bug discovered and fixed by Erez Strauss, caused by compiler-dependent ordering of a = b = c statments (I don't understand how this is compiler-dependent, I thought it was well-defined, but oh well), the symptoms of which were double calls to the request complete callback when using request contexts * Improved some comments
* * Implemented Authenticated Query String supportBryan Ischo2008-10-283-39/+153
| | | | | | | * Implemented Server Access Logging support * Added "Log Delivery" S3 Group to support Server Access Logging * Fixed some minor compiler warnings, due to red-herring signedness issues
* * Added -Wextra and -Wshadow compiler options, to enforce extra warnings, andBryan Ischo2008-10-083-8/+12
| | | | | | | | | | | | | | | fixed the code necessary to comply with these flags * Fixed a bug introduced in the 1.0 release, that caused last modified time not to be reported to callbacks * Changed the semantics of the put data callback, to only make the callback enough times to get enough data to satisfy the content length * Fixed the error status when curl doesn't get a valid HTTP response from S3 to be S3StatusConnectionFailed instead of S3StatusHttpErrorUnknown * Fixed a bug where S3_runall_request_context would stop even though a callback had added another request * libs3.h doesn't need sys/time.h anymore, it just needs sys/select.h * Some minor documentation enhancements
* * Remove time_t from API, replace with int64_t, which is of known size andBryan Ischo2008-09-282-8/+25
| | | | | | | | | | avoids problems with structure sizes of precompiled libraries differing from that of compiled programs using libs3 * Fixed S3RequestContext functionality; it was untested and nonworking before this change * Added S3_get_request_context_timeout function for allowing callers to assist libs3 to support curl internal timeouts
* * Minor cleanupsBryan Ischo2008-09-041-0/+9
| | | | | | | | * Fixed bug where list bucket common prefixes were not being properly parsed * Fix typo in s3 argument * Reset the curl handle after each request, this fixes problems with issuing multiple requests by re-use of curl handles
* * Clean up stuffBryan Ischo2008-08-252-37/+9
|
* * Implement custom HMAC_SHA1 and thus eliminate all direct dependency onBryan Ischo2008-08-211-0/+37
| | | | | openssl/GnuTLS/any other cryptographic library
* * Revert GnuTLS back to openssl, since GnuTLS is too hard to get working onBryan Ischo2008-08-211-10/+1
| | | | | Windows
* * Support GNUTLS on Windows. But - it doesn't work. Maybe my GNUTLSBryan Ischo2008-08-141-4/+4
| | | | | | library is too old? Since openssl does work, I expect that I will branch this and revert.
* * Replaced openssl library with GnuTLS, libgcrypt, and hand-written base 64Bryan Ischo2008-08-132-17/+17
| | | | | encoding routine
* * Implement required pthreads functions for WindowsBryan Ischo2008-08-121-0/+45
|
* * Remove the threading callbacks in favor of using pthreads API. Will haveBryan Ischo2008-08-121-85/+1
| | | | | | | to implement relevent pthreads API pieces on Windows now to restore the Windows build.
* * Incorporated fixes submitted by Bryan Donlan <bdonlan@gmail.com>:Bryan Ischo2008-08-113-7/+41
| | | | | | | | | | | | | | - Fixed missing return statement after error in S3_list_bucket - Fixed integer types in string functions - Added flags to S3_initialize(), and be sure to call curl_global_init() and curl_global_cleanup() * Changed s3 utility to use path-style URI as default, but to refuse to create a bucket which fails virtual-host-style validation unless the -f (--force) option is passed to s3 * Allow S3_initialize() to be called more than once with no side effects, as long as S3_deinitialize() is called the same number of times when libs3 is being shut down
* * Support build on Microsoft Windows via MingWBryan Ischo2008-08-073-0/+72
| | | | | | | * Don't verify Amazon S3's SSL certificate, doing so causes problems * Added error code to properly report the case where the SSL certificate verification fails
* * Added Debian package build targetBryan Ischo2008-08-068-0/+32
| | | | | * Updated copyrights to give openssl exception
* * Improve build systemBryan Ischo2008-08-051-3/+3
| | | | | * Add libs3.spec for building RPMs
* * Changed default retries in s3 to 5Bryan Ischo2008-08-041-1/+1
|
* * Added TODO and COPYINGBryan Ischo2008-07-298-113/+97
| | | | | * Updated copyrights to GPLv3
* * Completed s3 documentationBryan Ischo2008-07-291-9/+15
| | | | | | | | * Made threading functions optional for libs3 * Implemented retries in s3 * Fixed bug in s3 with error codes with no error details * Made allDetails version of getacl the default, improved its formatting
* * Workaround for buggy libcurl nonsupport for large filesBryan Ischo2008-07-291-4/+57
| | | | | * Improved libs3.h comments
* * Minor doc fixesBryan Ischo2008-07-221-11/+27
|
* * Fixed some error handlingBryan Ischo2008-07-222-28/+93
| | | | | | | * Report HTTP errors when S3 doesn't supply error details * Complete libs3.h header documentation * Bumped version to 0.2
* * Minor updates, and complete documentation for libs3.h in progressBryan Ischo2008-07-222-229/+647
|
* * Removed http response code from complete callback (libs3 users should onlyBryan Ischo2008-07-212-7/+26
| | | | | | | care about the actual response code) * Cleaned up some stuff * Added S3_status_is_retryable
* * Fixed some issues that were uncovered when compiling -O3. libcurl issueBryan Ischo2008-07-191-1/+1
| | | | | with curl_off_t unresolved.
* * Fixed some bugs, prettified s3Bryan Ischo2008-07-151-1/+1
|
* * S3RequestContext is now code complete, haven't tested it yet thoughBryan Ischo2008-07-153-14/+23
|
* * ACL support completeBryan Ischo2008-07-151-25/+59
|
* * Work in progress. All file operations except for ACL stuff are working.Bryan Ischo2008-07-142-36/+33
|
* * Work in progress, head object now implementedBryan Ischo2008-07-131-1/+0
|
* * More work in progress, get object is now completeBryan Ischo2008-07-132-5/+18
|
* * More work in progress; fixed some bugs, initial get object implementationBryan Ischo2008-07-134-61/+80
|
* * Work in progress: put object now worksBryan Ischo2008-07-124-70/+59
|
* * More work in progress. Initial list_bucket support.Bryan Ischo2008-07-112-22/+34
|
* * Work in progress - reorganized alot, completed list bucket, create bucket,Bryan Ischo2008-07-109-416/+648
| | | | | delete bucket, test bucket
* * More work, XML parsing for S3_list_serviceBryan Ischo2008-07-082-8/+76
|
* * Reorganized errors; it's all simpler nowBryan Ischo2008-07-072-155/+177
|
* * More work in progress. Better S3 error support, still needs some cleanup ↵Bryan Ischo2008-07-062-37/+57
| | | | work.
* * Work in progress. Completed simplexml API.Bryan Ischo2008-07-052-14/+56
|
* * More work in progress; headers and stuffBryan Ischo2008-07-032-1/+22
|
* * Work in progress. list, test, create, and delete buckets kinda worksBryan Ischo2008-07-022-7/+19
|
* * Work in progress, code reorg, looking goodBryan Ischo2008-07-011-16/+21
|
* * More work in progress - list buckets starting to workBryan Ischo2008-07-012-5/+16
|
* * Checkpoint work in progressBryan Ischo2008-07-012-76/+141
|