Bala FA
|
bef0a50bc1
|
Cleanup and fixes (#3273)
* newRequestID() (previously generateUploadID()) returns string than byte array.
* Remove unclear comments and added appropriate comments.
* SHA-256, MD5 Hash functions return Hex/Base64 encoded string than byte array.
* Remove duplicate MD5 hasher functions.
* Rename listObjectsValidateArgs() into validateListObjectsArgs()
* Remove repeated auth check code in all bucket request handlers.
* Remove abbreviated names in bucket-metadata
* Avoid nested if in bucketPolicyMatchStatement()
* Use ioutil.ReadFile() instead of os.Open() and ioutil.ReadAll()
* Set crossDomainXML as constant.
|
8 years ago |
Harshavardhana
|
5885ffc8ae
|
signature: Add legacy signature v2 support transparently. (#2811)
Add new tests as well.
|
8 years ago |
Harshavardhana
|
64083b9227
|
signature: Region changes should be handled just like AWS. (#2805)
- PutBucket happens with 'us-east-1'.
- ListBuckets happens with any region.
- GetBucketLocation happens with 'us-east-1' and location is returned.
|
8 years ago |
Harshavardhana
|
79888bfff7
|
tests: Add auth-handler. (#2721)
Fixes #2658
|
8 years ago |
Harshavardhana
|
bccf549463
|
server: Move all the top level files into cmd folder. (#2490)
This change brings a change which was done for the 'mc'
package to allow for clean repo and have a cleaner
github drop in experience.
|
8 years ago |
Harshavardhana
|
7e46055a15
|
api/handlers: Implement streaming signature v4 support. (#2370)
* api/handlers: Implement streaming signature v4 support.
Fixes #2326
* tests: Add tests for quick/safe
|
8 years ago |
karthic rao
|
1494af485e
|
tests: signature-utils test (#2342)
|
9 years ago |
Harshavardhana
|
1f9e38e3cd
|
api: Add bucket notification util tests. (#2289)
|
9 years ago |
Harshavardhana
|
86d31e99d5
|
api: use checkAuth now at PutBucket, DeleteBucket handlers. (#2225)
Additionally add a unit test for isReqAuthenticated function.
|
9 years ago |