83d46ef8c6
Fixed bugs about a object larger than free disk space
2015-10-20 15:19:04 +00:00
d102eb752d
Supported a object which is larger than free disk space
2015-10-18 17:03:41 +00:00
f51ad1f33e
Supported for SSE KMS
2015-10-06 14:46:14 +00:00
92e52dadd4
Changed and cleaned the logic for debug message.
2015-09-30 19:41:27 +00:00
785ed642ba
Add support for standard_ia storage class
...
This enables storage with lower at-rest prices, higher request prices,
and lower availability. Also rework existing reduced redundancy
parsing into a more generic storage class. More background on
standard_ia:
https://aws.amazon.com/blogs/aws/aws-storage-update-new-lower-cost-s3-storage-option-glacier-price-reduction/
2015-09-17 13:35:25 -07:00
a3e820e733
Merge pull request #245 from andrewgaul/map-duplicate-lookups
...
Elide duplicate lookups of std::map via iterators
2015-08-20 01:22:06 +09:00
4ad57bdea5
Merge pull request #240 from andrewgaul/md5
...
Enable Content-MD5 during multipart upload part
2015-08-20 01:19:01 +09:00
fcb58aec3c
Merge pull request #238 from andrewgaul/cppcheck
...
Enable all cppcheck rules
2015-08-20 01:06:50 +09:00
026a9f2bdc
Merge pull request #235 from andrewgaul/complete-mpu-leak
...
Plug leak during complete multipart upload
2015-08-20 00:40:00 +09:00
67d1576dfb
Elide duplicate lookups of std::map via iterators
...
Also remove use of C++11 std::map::at.
2015-08-18 14:00:42 -07:00
a157ac59ca
Enable Content-MD5 during multipart upload part
...
This allows retries of multi-part uploads instead of discovering a
fatal error during complete multipart upload. Also enable Content-MD5
for integration tests and refactor hexadecimal code.
2015-08-18 02:54:00 -07:00
c0b21d8808
Enable all cppcheck rules
2015-08-16 17:13:24 -07:00
9c5bf0bb66
Plug leak during complete multipart upload
2015-08-15 22:38:24 -07:00
0ea88a73c7
Remove IntToStr
...
str duplicates this functionality. Also add unit test.
2015-08-12 08:25:09 -07:00
756d1e5e81
Configure cppcheck #224
2015-08-12 15:04:16 +00:00
64146f69a4
Merge pull request #221 from andrewgaul/compare
...
Compare idiomatically
2015-08-12 23:41:24 +09:00
49e32967ec
Merge pull request #219 from andrewgaul/coverity
...
Address Coverity errors
2015-08-12 23:40:47 +09:00
ff8a0c2eea
Parse ETag from copy multipart correctly
...
Previously s3fs misparsed this, preventing renames of files larger
than 5 GB. Integration test disabled until S3Proxy 1.5.0 is released.
2015-08-11 14:43:35 -07:00
801ca0c2d3
Compare idiomatically
2015-08-05 23:35:08 -07:00
8ee71caabb
Address Coverity errors
...
Fixed an uninitialized member, misordered NULL check, resource leak,
and unconsumed return value.
2015-08-05 23:28:06 -07:00
912bc58df0
Fixed a few small spelling issues.
2015-07-10 11:50:40 -07:00
3522e5eda3
Add no_check_certificate option which allows to ignore issues with self signed certs.
2015-05-20 17:32:36 +02:00
92fcee824b
curl: use pathrequeststyle option when constructing Host endpoint
...
Buckets with mixed-case names can't be accessed with the virtual-hosted
style API due to DNS limitations. S3FS has an option for
pathrequeststyle which is used for the URL, but it was not applied when
building the endpoint passed through the Host header. Fix this, and
relax the validation on bucket names when using this style.
See: http://docs.aws.amazon.com/AmazonS3/latest/dev/UsingBucket.html#access-bucket-intro
Signed-off-by: Peter A. Bigot <pab@pabigot.com >
2015-04-19 08:31:40 -05:00
490ed8f689
Reviewed and fixed response codes print in curl.cpp - #157
2015-04-18 13:32:04 +00:00
bd27294ab0
Increased default connecting/reading/writing timeout value
2015-04-12 02:04:13 +00:00
6e0a302f7d
refactor sigv4 to reduce code duplication
2015-04-09 15:11:59 -07:00
98af055d8b
send the correct Host header when using -o url
...
fixes #161
2015-04-09 13:53:50 -07:00
0f13c8fe97
Fixed a bug about ssl session sharing with libcurl older 7.23.0 - issue/#126
2015-03-21 07:04:20 +00:00
2fc3a4e91e
Fixed a bug: unable to mount bucket subdirectory
2015-03-21 04:31:59 +00:00
2f8ad7ace8
Merge pull request #135 from andrewgaul/mpu-v4
...
Correct V4 signature for initiate multipart upload
2015-03-01 22:57:10 +09:00
a07e804f57
Include Content-Type in complete MPU V2 signature
...
Previously this failed with SignatureDoesNotMatch since the headers
included it but the signature did not. Fixes #125 .
2015-02-28 18:03:21 -08:00
e9656810e3
Correct V4 signature for initiate multipart upload
...
Query parameters need a trailing = for V4 signatures. Send correct
content-sha256 although Amazon does not seem to enforce this for
zero-length bodies. Finally remove a stale comment. Fixes #133 .
2015-02-28 17:50:06 -08:00
1424f87754
Supported signature version 4 for GnuTLS/NSS and automatically set endpoint/sigv2
2015-02-02 16:36:08 +00:00
4f953f9bd7
Clean codes for signature v4 and added new sigv2 option
2015-01-28 17:13:11 +00:00
0d2f3e2dc4
Fixed bugs, segfault and signature error at listing.
2015-01-24 16:36:30 +00:00
bb1f1d3faa
Merged manually from caxapniy/s3fs-fuse/tree/1.77v4merge for signature v4 - #102
2015-01-20 16:31:36 +00:00
d0b82428d5
Merge pull request #100 from adobos/dns_ssl_switch_bugfix
...
CURL handles not properly initialized to use DNS or SSL session caching.
2015-01-14 00:11:46 +09:00
902911765e
Merge pull request #93 from andrewgaul/unit-test
...
Add simple unit tests for trim functions
2015-01-14 00:07:01 +09:00
045f1e7906
CURL handles were not properly initialized to use DNS caching, or SSL session caching.
2014-12-23 22:31:54 -08:00
a56b8db410
Add simple unit tests for trim functions
...
Subsequent commits will use this infrastructure. Also reparent
prepare_url which relies on unrelated bucket, foreground2, and
pathrequeststyle symbols.
2014-12-06 18:07:14 -08:00
b31ec5c4af
Update curl.cpp
...
The space causes signature mismatch when using "ahbe_conf" file to add additional headers.When s3 use the" x-amaz" header to calculates the signature, the format is as follow:
PUT
application/octet-stream
Wed, 05 Nov 2014 03:05:08 GMT
x-amz-acl:private
x-amz-meta-gid:0
x-amz-meta-mode:33188
x-amz-meta-mtime:1415156708
x-amz-meta-uid:0
There is no space after colon.
2014-11-05 11:28:33 +08:00
651e8c3158
Merge pull request #64 from andrewgaul/failed-read-eio
...
Return EIO on failed read
2014-11-03 01:03:32 +09:00
9237d07226
Merge pull request #63 from jollyroger/spelling
...
Fix spelling errors
2014-10-13 11:38:13 +09:00
a1ca8b7124
Return EIO on failed read
...
Previously S3fsMultiCurl::MultiRead did not report read errors since
it did not treat failed callback setup as a fatal operation error.
Failed callback setups usually result from exceeding the number of
allowed retries. Previously cp did not report an error during a
network outage but now does:
$ cp ~/s3-path/s3-file .
cp: error reading ‘/home/gaul/s3-path/s3-file’: Input/output error
cp: failed to extend ‘./s3-file’: Input/output error
2014-10-03 21:30:11 -07:00
6633366218
Fix spelling errors
2014-10-01 13:42:39 +03:00
3d69ee0c30
Emit response on failed CheckBucket requests
...
This allows callers to diagnose errors like InvalidAccessKeyId and
RequestTimeTooSkewed.
2014-09-28 16:12:53 -07:00
c88a5f38be
Disable CURLOPT_FAILONERROR for CheckBucket
...
curl will not consume the body of a response when CURLOPT_FAILONERROR
is set. This prevents logging of responses for failed requests.
2014-09-28 16:12:43 -07:00
7a7c7572ea
Cleaned up codes for next packaging.
2014-09-07 15:08:27 +00:00
f0c33f8ef2
clean codes
2014-08-27 00:59:49 +00:00
20b1c207be
fixed issue #39
2014-08-26 17:11:10 +00:00