e274741f25d7da02199398d287a58961bba2190d
Commit Graph

865 Commits

This Branch
This Branch
All Branches
Author SHA1 Message Date
gholt
e274741f25 Remove the misleading "Always" 2011年01月23日 10:50:55 -08:00
gholt
778cb9dedc In-depth documentation on paste.deploy configuration files 2011年01月23日 10:42:31 -08:00
Chris Wedgwood
e724580e60 Fixes to get audit to run cleanly over datasets where people have i18n strings (ie. bit 7 set utf-8 bytes) in container and object names.
Arguably these fixes aren't the most elegant or complete, but for now it suffices to get things working until we re-factor things later.
Also tweak output from foo... to "foo" (so cut & paste works a little better).
2011年01月21日 20:46:51 +00:00
Colin Nicholson
d32def26fc During a CNAME lookup, exception NXDOMAIN isn't caught by the check for DNSException, so need to also check for it. 2011年01月21日 16:27:07 +00:00
Chris Wedgwood
4b4f07a039 Additional utf-8 encoding fixes to deal with containers. 2011年01月20日 16:11:23 -08:00
Chris Wedgwood
92e3364622 Make sure we pass strings correctly to functions that will behave
badly otherwise (fix suggested by Chuck Thier).
Tweak account & container name output slightly (makes cut & paste
easier).
2011年01月20日 14:57:06 -08:00
Colin Nicholson
1ab9614bfb Merged lp:~notmyname/swift/cname_exception_bug - added NoAnswer error catching 2011年01月20日 20:44:51 +00:00
John Dickinson
74a39c0f26 added NoAnswer error catching 2011年01月20日 14:15:05 -06:00
Colin Nicholson
66bef83cbc also catch NXDOMAIN exception 2011年01月20日 16:01:37 +00:00
Clay Gerrard
e784f1c3a4 obsolete PATH_TO_TEST_XFS 2011年01月20日 00:31:55 +00:00
gholt
f623f910c9 Updates to remove _ usage that is not i18n related 2011年01月20日 00:26:40 +00:00
FUJITA Tomonori
6f1cb46a4f This modifies http_connect() and http_connect_raw() to use the default ports if not given.
Modyfing only http_connect_raw is enough to fix swauth bins but both for symmetry.
2011年01月19日 23:26:42 +00:00
gholt
9dd1e2ae84 Updates to remove _ usage that is not i18n related 2011年01月19日 15:21:57 -08:00
Clay Gerrard
e64e21dd01 pep8 2011年01月19日 16:19:43 -06:00
Clay Gerrard
29eddb8c24 made tests play nice with standalone unittest, fixed some doc stuff 2011年01月19日 16:05:22 -06:00
FUJITA Tomonori
b2673df124 http_connect and http_connect_raw use the default http ports if no
port is given
2011年01月20日 06:22:05 +09:00
Clay Gerrard
105315dfc4 obsolete PATH_TO_TEST_XFS 2011年01月19日 14:18:37 -06:00
Clay Gerrard
efda6c0736 mocked out xattr in test_proxy 2011年01月19日 11:05:42 -06:00
Michael Barton
56791413b8 break up that giant chunked put test 2011年01月19日 15:16:44 +00:00
FUJITA Tomonori
72999be598 Update swift3 docs for auth changes 2011年01月19日 04:46:42 +00:00
FUJITA Tomonori
1abfc07bc7 Fixes swift3 middleware so that container listings work correctly with utf-8 encoded container names. 2011年01月19日 04:07:27 +00:00
Michael Barton
2fc5c401fa break up that chunked put test 2011年01月19日 03:56:13 +00:00
FUJITA Tomonori
7e392b70e9 s3api: update the comment for the id scheme change 2011年01月19日 08:41:11 +09:00
John Dickinson
97053abdd7 Stats system access log processor now allows for extra log fields to be at the end of the access log lines.
This allows the proxy server to freely append logged fields to log messages without breaking the stats system.
2011年01月18日 21:41:44 +00:00
gholt
6024b39314 client.py: Reset of streams during upload retries 2011年01月18日 21:37:34 +00:00
Michael Barton
20c23dfcbd shuffle nodes and cache files for better public serving performance 2011年01月18日 21:36:46 +00:00
Michael Barton
9ec4cf0023 shuffle nodes and cache files for public access performance 2011年01月18日 20:55:19 +00:00
Chris Wedgwood
fe8c09999d More fixes. 2011年01月18日 20:41:42 +00:00
Chris Wedgwood
8a5f21b3ac Fix output formatting (missing tuple).
Fix to be robust when container and object counts are None (this
happens if accounts can't be located).
2011年01月18日 12:08:22 -08:00
FUJITA Tomonori
5582fcd69b Fixes devauth error if s3 auth fails 2011年01月18日 19:01:58 +00:00
Michael Barton
50f3c9379b modify default_swift_cluster option format 2011年01月18日 15:21:45 +00:00
FUJITA Tomonori
ec32c55e40 s3api: fix devauth auth failure handling 2011年01月18日 14:44:00 +09:00
FUJITA Tomonori
48bade1a11 s3api: fix unicode name container and object 2011年01月18日 10:55:26 +09:00
FUJITA Tomonori
0996cd9b3a s3api: fix AWSAccessKeyId
We use cfaccount as AWSAccessKeyId (something like
AUTH_89308df71f274e33af17779606f08fa0). However, users with the same
account use the same cfaccount. In such case, we can't know which
password should be used as a secret key to calculate the HMAC.
This changes AWSAccessKeyId to the combination of account and user:
Authorization: AWS test:tester:xQE0diMbLRepdf3YB+FIEXAMPLE=
The auth validates the HMAC and sends a cfaccount back to the
proxy. The proxy rewrites the path with the cfaccount.
2011年01月17日 23:01:54 +00:00
gholt
56738b161f client.py: Dead code removal 2011年01月17日 14:44:55 -08:00
gholt
eed8c670d0 Merged from trunk 2011年01月17日 14:40:34 -08:00
gholt
a623aa5be5 client.py: Reset of streams during upload retries 2011年01月17日 14:36:28 -08:00
Chuck Thier
6fac078f71 Updates client.py to green HTTPS connections if eventlet is available 2011年01月17日 22:16:52 +00:00
Chuck Thier
9b702c64df Removed the bare excepts 2011年01月17日 22:08:07 +00:00
Chuck Thier
c63e6c7c9b Fixes issue of HTTPS not being greened 2011年01月17日 21:51:09 +00:00
Michael Barton
2fac1d53ef modify default_swift_cluster option format 2011年01月17日 21:49:48 +00:00
John Dickinson
d8810a1ed7 access processor now handles extra fields in the log line 2011年01月17日 11:07:58 -06:00
FUJITA Tomonori
d7b59e0b94 s3api: update unit tests for AWSAccessKeyId change 2011年01月17日 15:51:59 +09:00
FUJITA Tomonori
af1813ba4e s3api: fix AWSAccessKeyId
We use cfaccount as AWSAccessKeyId (something like
AUTH_89308df71f274e33af17779606f08fa0). However, users with the same
account use the same cfaccount. In such case, we can't know which
password should be used as a secret key to calculate the HMAC.
 
This changes AWSAccessKeyId to the combination of account and user:
 
Authorization: AWS test:tester:xQE0diMbLRepdf3YB+FIEXAMPLE=
 
The auth validates the HMAC and sends a cfaccount back to the
proxy. The proxy rewrites the path with the cfaccount.
2011年01月17日 15:42:20 +09:00
Michael Barton
b3c914e875 Execute object server fsyncs in a thread pool so they don't hold up the workers. 2011年01月14日 20:56:52 +00:00
Chuck Thier
1a17788071 Add docstrings and pointers in the docs for swift3 2011年01月14日 20:41:52 +00:00
Michael Barton
a4de88c3b4 Execute fsyncs in a thread pool. 2011年01月14日 20:30:38 +00:00
Chuck Thier
782b98b5bb Moved the main middleware docs to the module level 2011年01月14日 14:30:05 -06:00
Chuck Thier
e2c0a23839 Added doc strings and pointers to docs for swift3 2011年01月14日 13:49:05 -06:00
Michael Barton
d0651b914d Support more query args and headers in the swift3 middleware 2011年01月14日 18:07:00 +00:00