Andrew Gaul
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
Takeshi Nakatani
082eb24c12
Merge pull request #83 from tmwong2003/develop
...
Changed option processing to use strtol() to get a umask
2014-11-16 23:49:24 +09:00
Theodore Wong
f04b659f5e
Changed option processing to use strtol() to get a umask
...
get_mode()/s3fs_strtoofft() does not handle octal umask values, which
results in unexpected behavior when trying to set a world-readable umask
value.
2014-11-12 23:29:41 +00:00
Takeshi Nakatani
eedc621637
Merge pull request #79 from buptUnixGuys/master
...
Update curl.cpp
2014-11-09 00:05:04 +09:00
bupt_tengteng
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
Takeshi Nakatani
651e8c3158
Merge pull request #64 from andrewgaul/failed-read-eio
...
Return EIO on failed read
2014-11-03 01:03:32 +09:00
Takeshi Nakatani
77d4d066b5
Merge pull request #74 from vincentbernat/fix/url-may-omit-scheme
...
url: handle scheme omission
2014-10-26 16:18:03 +09:00
Takeshi Nakatani
1e97e99aa0
Merge pull request #73 from vincentbernat/fix/git-ignore
...
Small gitignore fixes
2014-10-26 16:12:44 +09:00
Vincent Bernat
7212072ff0
url: handle scheme omission
...
When the scheme is omitted in URL overriding (for example `example.com`
instead of `https://example.com `), s3fs is modifying the URL by
inserting `s3.` in the middle of the name (`examples3..com`).
This can be a bit difficult to troubleshoot and curl seems to handle
schema-less requests just fine. So, just handle this case correctly.
2014-10-23 10:25:17 +02:00
Vincent Bernat
8bcab645e1
gitignore: add test-driver
and compile
...
Those are generated by latest versions of autotools.
2014-10-23 10:02:59 +02:00
Vincent Bernat
9013917d58
gitignore: use absolute path
...
The current content of `.gitignore` is using relative paths. For
example, `test/config.log` would be ignored while it doesn't seem to be
the intent. Use absolute paths. They are still relative to the root of
the repository.
2014-10-23 10:01:08 +02:00
Takeshi Nakatani
1eddf92c35
Merge pull request #72 from s3fs-fuse/issue#68
...
Fixed #68(FreeBSD issue)
2014-10-22 23:30:32 +09:00
Takeshi Nakatani
28d82c9ccd
Fixed #68(FreeBSD issue)
2014-10-22 14:21:01 +00:00
Takeshi Nakatani
2f90a04513
Merge pull request #71 from s3fs-fuse/issue#68
...
Fixed for #68(FreeBSD issue)
2014-10-21 23:58:20 +09:00
Takeshi Nakatani
2724728476
Merge pull request #70 from s3fs-fuse/master
...
Fixed for #68(FreeBSD issue)
2014-10-21 23:56:41 +09:00
Takeshi Nakatani
ed8f424c1a
Merge pull request #69 from andrewgaul/always-true
...
Address clang always true warnings
2014-10-21 23:53:30 +09:00
Andrew Gaul
50137fe026
Address clang always true warnings
2014-10-16 23:34:12 -07:00
Takeshi Nakatani
9237d07226
Merge pull request #63 from jollyroger/spelling
...
Fix spelling errors
2014-10-13 11:38:13 +09:00
Takeshi Nakatani
8c2be4aa85
Merge pull request #62 from jollyroger/fix-stray-chars
...
Remove stray chars from source files
2014-10-13 11:34:52 +09:00
Takeshi Nakatani
ccaed9a91c
Merge pull request #60 from andrewgaul/check-bucket-disable-fail-on-error
...
Emit user-friendly log messages on failed CheckBucket requests
2014-10-13 11:33:17 +09:00
Andrew Gaul
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
Andriy Senkovych
6633366218
Fix spelling errors
2014-10-01 13:42:39 +03:00
Andriy Senkovych
22ea65f02c
Remove stray chars from source files
2014-10-01 13:20:29 +03:00
Andrew Gaul
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
Andrew Gaul
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
Takeshi Nakatani
38e6857824
Merge pull request #56 from s3fs-fuse/version1.78
...
version number increament.
2014-09-15 22:30:51 +09:00
Takeshi Nakatani
ca72b9a6d0
version number increament.
2014-09-15 13:26:35 +00:00
Takeshi Nakatani
741831344a
Merge pull request #55 from s3fs-fuse/cleanupcodes
...
Cleaned up codes for next packaging.
2014-09-08 00:10:49 +09:00
Takeshi Nakatani
7a7c7572ea
Cleaned up codes for next packaging.
2014-09-07 15:08:27 +00:00
Takeshi Nakatani
4c32bc0aa5
Merge pull request #54 from s3fs-fuse/bugfix#50
...
fixed a bug about configure.ac. issue #50
2014-09-07 22:58:07 +09:00
Takeshi Nakatani
0e9cfeb808
fixed a bug about configure.ac. issue #50
2014-09-07 13:53:20 +00:00
Takeshi Nakatani
ae4ae88b6d
Merge pull request #53 from s3fs-fuse/sse-c
...
Support for SSE-C #39
2014-09-07 22:31:33 +09:00
Takeshi Nakatani
f0c33f8ef2
clean codes
2014-08-27 00:59:49 +00:00
Takeshi Nakatani
e3a33343b9
Merge pull request #51 from masahide/master
...
Removed BOM
2014-08-27 02:24:47 +09:00
Takeshi Nakatani
20b1c207be
fixed issue #39
2014-08-26 17:11:10 +00:00
YAMASAKI Masahide
f1ca5d0340
:set nobomb
2014-08-25 19:18:34 +09:00
Takeshi Nakatani
cbec8da9a3
fixed a bug issue #49
2014-08-14 15:58:06 +00:00
Takeshi Nakatani
7a55eab399
Support for SSE-C, issue #39
2014-07-19 19:02:55 +00:00
Takeshi Nakatani
95f8cab139
Merge pull request #44 from s3fs-fuse/fixbug#40
...
Fixed a bug issue #40
2014-06-29 02:42:49 +09:00
Takeshi Nakatani
c1a6d76fc3
Fixed a bug issue #40
2014-06-28 17:36:35 +00:00
Takeshi Nakatani
08929696f7
Merge pull request #43 from s3fs-fuse/fixbug#41
...
Fixed a bug issue #41
2014-06-29 02:26:10 +09:00
Takeshi Nakatani
ba34ba181a
Fixed a bug issue #41
2014-06-28 17:24:25 +00:00
Takeshi Nakatani
d2c887a371
Merge pull request #38 from s3fs-fuse/path-request-style
...
Added explanation in man page for support for path API request style.
2014-06-03 23:48:27 +09:00
Takeshi Nakatani
d5113c0501
Added explanation in man page for support for path API request style.
2014-06-03 14:45:39 +00:00
Takeshi Nakatani
29a37645dd
Merge pull request #37 from Andrew-Dunn/path-request-style
...
Added support for path API request style.
2014-06-03 23:37:00 +09:00
Andrew Dunn
601482eff5
Added support for path API request style.
...
Rather than using virtual host style requests, path style requests can be used
instead.
i.e. rather than bucketname.s3.amazon.com/... the s3fs will be able to request
from s3.amazon.com/bucketname/...
This is useful for S3 compatible APIs which don't support the virtual host style
request.
It is enabled with the new option, `use_path_style_request`.
Example:
/usr/bin/s3fs data ~/netcdf -o url="https://swift.rc.nectar.org.au:8888/ " -o use_path_request_style -o allow_other -o uid=500 -o gid=500
2014-06-04 00:03:49 +10:00
Takeshi Nakatani
f141bbd4b4
Merge pull request #36 from s3fs-fuse/gc#417
...
Changed codes for CR code in passwd file(googlecode issue#417).
2014-06-03 01:16:03 +09:00
Takeshi Nakatani
61020370d5
Changed codes for CR code in passwd file(googlecode issue#417).
2014-06-02 16:12:55 +00:00
Takeshi Nakatani
f1f7e76be5
Merge pull request #35 from s3fs-fuse/cryptlibs
...
Supports more two SSL libraries for NSS and GnuTLS.
2014-06-01 23:15:59 +09:00
Takeshi Nakatani
160196798b
Changed initializing logic for nss lib/openssl lib/s3fs own.
2014-06-01 03:54:02 +00:00