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.
|
2016-11-21 13:51:05 -08:00 |
Harshavardhana
|
a8ab02a73a
|
v4/presign: Fix presign requests when there are more signed headers. (#3222)
This fix removes a wrong logic which fails for requests which
have more signed headers in a presign request.
Fixes #3217
|
2016-11-10 21:57:15 -08:00 |
Krishna Srinivas
|
61a18ed48f
|
sha256: Verify sha256 along with md5sum, signature is verified on the request early. (#2813)
|
2016-10-02 15:51:49 -07:00 |
Harshavardhana
|
5885ffc8ae
|
signature: Add legacy signature v2 support transparently. (#2811)
Add new tests as well.
|
2016-09-30 14:32:13 -07:00 |
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.
|
2016-09-29 15:51:00 -07:00 |
Mohit Agarwal
|
418921de89
|
minor cleanup
- Reused contains() from utils.go at a couple of places
- Cleanup in return statements and boolean checks
|
2016-08-24 22:54:34 -07:00 |
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.
|
2016-08-18 16:23:42 -07:00 |