Tom Crasset
9ca2b0b763
omit http and https ports when using X-Forwarded-Port ( #6527 )
2 weeks ago
Tom Crasset
a7b964af96
add s3 signature tests and prepare implementation of STREAMING-UNSIGNED-PAYLOAD-TRAILER ( #6525 )
* add tests for s3 signature
* add test for newSignV4ChunkedReader.Read()
* add glog import
2 weeks ago
Tom Crasset
a250699225
use X-Forwarded-Host and X-Forwarded-Port to determine correct host for AWS signature ( #6514 )
2 weeks ago
steve.wei
88fa64a01a
change comment for expect header ( #6289 )
* remove case of expect
* Set the default value of the Expect header for compatibility.
3 months ago
chrislu
1c2b10303a
remove X-Forwarded-For
fix https://github.com/seaweedfs/seaweedfs/issues/6136
4 months ago
chrislu
a3a8f6217e
fix
5 months ago
Er2
5644bc8f01
s3api: Fix signature v4 with reverse proxy at sub-path ( #6092 )
5 months ago
chrislu
f747767aa1
support load balancer in front of s3
5 months ago
clonefetch
9e07a87fcb
chore: fix function names in comment ( #5478 )
11 months ago
Patrick Schmidt
98dcec0ee2
Clean up old signature hash pools
1 year ago
Patrick Schmidt
cdd817edf9
Improve S3 request signing performance
This change is caching HMAC hashers for repeated use in subsequent
requests and chunks, so they don't have to be initialized from
scratch every time.
On my local computer this gives me ~5-6 times faster signature
calculation and ~5-6.5% more throughput in S3 requests. The smaller
the payload the better the throughput gets.
2 years ago
Ryan Russell
6f7ef8711a
docs(s3api): readability improvements ( #3696 )
Signed-off-by: Ryan Russell <git@ryanrussell.org>
Signed-off-by: Ryan Russell <git@ryanrussell.org>
2 years ago
chrislu
21c0587900
go fmt
2 years ago
chrislu
26dbc6c905
move to https://github.com/seaweedfs/seaweedfs
3 years ago
Eng Zer Jun
a23bcbb7ec
refactor: move from io/ioutil to io and os package
The io/ioutil package has been deprecated as of Go 1.16, see
https://golang.org/doc/go1.16#ioutil . This commit replaces the existing
io/ioutil functions with their new definitions in io and os packages.
Signed-off-by: Eng Zer Jun <engzerjun@gmail.com>
3 years ago
Konstantin Lebedev
ba175f81b5
add auth aws signV4
4 years ago
Chris Lu
62563a895a
refactoring
4 years ago
Chris Lu
29abe980df
s3: add support for PostPolicy
fix https://github.com/chrislusf/seaweedfs/issues/1426
4 years ago
Chris Lu
5b40a2690a
refactoring
4 years ago
Chris Lu
ed0acd1722
go fmt
5 years ago
Chris Lu
b4abe3c081
unused
5 years ago
Chris Lu
f3ce3166ad
add streaming v4
5 years ago
Chris Lu
9ed364f053
support acl
5 years ago