07dc552e1c 
								
									
								
							
								 
							
						 
						
							
							
								
								master: Fix raft url ( #7255 )  
							
							
 
							
							
							* fix signature
* fix url scheme 
							
						 
						1 month ago  
				
					
						
							
							
								 
						
							
							
								
								
							
							
								
							
								c6d9756933 
								
									
								
							
								 
							
						 
						
							
							
								
								fix signature hashing for iam ( #7100 )  
							
							
 
							
							
							* fix signature hashing for iam
* add tests
* address comments
* Update weed/s3api/auto_signature_v4_test.go
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
* indention
* fix test
---------
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com> 
							
						 
						3 months ago  
				
					
						
							
							
								 
						
							
							
								
								
							
							
								
							
								72176601c1 
								
									
								
							
								 
							
						 
						
							
							
								
								S3: Fix iam payload hash ( #7081 )  
							
							
 
							
							
							* fix iam payload hash
* streaming hash
* Update weed/s3api/auto_signature_v4_test.go
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
* Update weed/s3api/auto_signature_v4_test.go
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
* address comments
---------
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com> 
							
						 
						3 months ago  
				
					
						
							
							
								 
						
							
							
								
								
							
							
								
							
								3d4e8409a5 
								
									
								
							
								 
							
						 
						
							
							
								
								Support X-Forwarded-Port ( #7070 )  
							
							
 
							
							
							* support for the X-Forwarded-Prefix header
* remove comments
* refactoring
* refactoring
* path.Clean
* support X-Forwarded-Port
* Update weed/s3api/auth_signature_v4.go
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
* Update weed/s3api/auto_signature_v4_test.go
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
* more tests
---------
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com> 
							
						 
						3 months ago  
				
					
						
							
							
								 
						
							
							
								
								
							
							
								
							
								f1eb4dd427 
								
									
								
							
								 
							
						 
						
							
							
								
								S3: support for the X-Forwarded-Prefix header ( #7068 )  
							
							
 
							
							
							* support for the X-Forwarded-Prefix header
* remove comments
* refactoring
* refactoring
* path.Clean 
							
						 
						3 months ago  
				
					
						
							
							
								 
						
							
							
								
								
							
							
								
							
								74f4e9ba5a 
								
									
								
							
								 
							
						 
						
							
							
								
								rewrite, simplify, avoid unused functions ( #6989 )  
							
							
 
							
							
							* adding cors support
* address some comments
* optimize matchesWildcard
* address comments
* fix for tests
* address comments
* address comments
* address comments
* path building
* refactor
* Update weed/s3api/s3api_bucket_config.go
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* address comment
Service-level responses need both Access-Control-Allow-Methods and Access-Control-Allow-Headers. After setting Access-Control-Allow-Origin and Access-Control-Expose-Headers, also set Access-Control-Allow-Methods: * and Access-Control-Allow-Headers: * so service endpoints satisfy CORS preflight requirements.
* Update weed/s3api/s3api_bucket_config.go
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* Update weed/s3api/s3api_object_handlers.go
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* Update weed/s3api/s3api_object_handlers.go
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* fix
* refactor
* Update weed/s3api/s3api_bucket_config.go
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* Update weed/s3api/s3api_object_handlers.go
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* Update weed/s3api/s3api_server.go
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* simplify
* add cors tests
* fix tests
* fix tests
* remove unused functions
* fix tests
* simplify
* address comments
* fix
* Update weed/s3api/auth_signature_v4.go
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* Apply suggestion from @Copilot 
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* rename variable
* Revert "Apply suggestion from @Copilot"
This reverts commit fce2d4e57e 
							
						 
						4 months ago  
				
					
						
							
							
								 
						
							
							
								
								
							
							
								
							
								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 
							
						 
						9 months ago  
				
					
						
							
							
								 
						
							
							
								
								
							
							
								
							
								5ffacbb6ea 
								
									
								
							
								 
							
						 
						
							
							
								
								refactor all methods strings to const ( #5726 )  
							
							
								
 
							
							
						 
						1 year ago  
				
					
						
							
							
								 
						
							
							
								
								
							
							
								
							
								9e07a87fcb 
								
									
								
							
								 
							
						 
						
							
							
								
								chore: fix function names in comment ( #5478 )  
							
							
								
 
							
							
						 
						2 years ago  
				
					
						
							
							
								 
						
							
							
								
								
							
							
								
							
								d8b424d123 
								
									
								
							
								 
							
						 
						
							
							
								
								[s3] optimization iam lookup for reducing algorithm complexity ( #4857 )  
							
							
 
							
							
							optimization iam lookup for reducing algorithm complexity
https://github.com/seaweedfs/seaweedfs/issues/4519 
Co-authored-by: Konstantin Lebedev <9497591+kmlebedev@users.noreply.github.co> 
							
						 
						2 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								cf28108ea4 
								
							
								 
							
						 
						
							
							
								
								fix grpd dial option  
							
							
								
 
							
							
						 
						2 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								98dcec0ee2 
								
							
								 
							
						 
						
							
							
								
								Clean up old signature hash pools  
							
							
								
 
							
							
						 
						2 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								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. 
							
						 
						3 years ago  
				
					
						
							
							
								 
						
							
							
								
								
							
							
								
							
								6f7ef8711a 
								
									
								
							
								 
							
						 
						
							
							
								
								docs(s3api): readability improvements ( #3696 )  
							
							
 
							
							
							Signed-off-by: Ryan Russell <git@ryanrussell.org>
Signed-off-by: Ryan Russell <git@ryanrussell.org> 
							
						 
						3 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								26dbc6c905 
								
							
								 
							
						 
						
							
							
								
								move to  https://github.com/seaweedfs/seaweedfs  
							
							
								
 
							
							
						 
						3 years ago  
				
					
						
							
							
								 
						
							
							
								
								
							
							
								
							
								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> 
							
						 
						4 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								ba175f81b5 
								
							
								 
							
						 
						
							
							
								
								add auth aws signV4  
							
							
								
 
							
							
						 
						5 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								e1190b3224 
								
							
								 
							
						 
						
							
							
								
								load S3 config from filer  
							
							
 
							
							
							https://github.com/chrislusf/seaweedfs/issues/1500  
						5 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								5b40a2690a 
								
							
								 
							
						 
						
							
							
								
								refactoring  
							
							
								
 
							
							
						 
						5 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								ed0acd1722 
								
							
								 
							
						 
						
							
							
								
								go fmt  
							
							
								
 
							
							
						 
						6 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								b90ad6f452 
								
							
								 
							
						 
						
							
							
								
								add v2 support  
							
							
								
 
							
							
						 
						6 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								9ed364f053 
								
							
								 
							
						 
						
							
							
								
								support acl  
							
							
								
 
							
							
						 
						6 years ago