aboutsummaryrefslogtreecommitdiff
path: root/weed/command/download.go
AgeCommit message (Collapse)AuthorFilesLines
2024-07-16Added tls for http clients (#5766)vadimartynov1-4/+5
* Added global http client * Added Do func for global http client * Changed the code to use the global http client * Fix http client in volume uploader * Fixed pkg name * Fixed http util funcs * Fixed http client for bench_filer_upload * Fixed http client for stress_filer_upload * Fixed http client for filer_server_handlers_proxy * Fixed http client for command_fs_merge_volumes * Fixed http client for command_fs_merge_volumes and command_volume_fsck * Fixed http client for s3api_server * Added init global client for main funcs * Rename global_client to client * Changed: - fixed NewHttpClient; - added CheckIsHttpsClientEnabled func - updated security.toml in scaffold * Reduce the visibility of some functions in the util/http/client pkg * Added the loadSecurityConfig function * Use util.LoadSecurityConfiguration() in NewHttpClient func
2024-07-16Added loadSecurityConfigOnce (#5792)vadimartynov1-1/+1
2024-06-14Added context for the MasterClient's methods to avoid endless loops (#5628)vadimartynov1-1/+2
* Added context for the MasterClient's methods to avoid endless loops * Returned WithClient function. Added WithClientCustomGetMaster function * Hid unused ctx arguments * Using a common context for the KeepConnectedToMaster and WaitUntilConnected functions * Changed the context termination check in the tryConnectToMaster function * Added a child context to the tryConnectToMaster function * Added a common context for KeepConnectedToMaster and WaitUntilConnected functions in benchmark
2022-07-29move to https://github.com/seaweedfs/seaweedfschrislu1-4/+4
2021-10-14refactor: move from io/ioutil to io and os packageEng Zer Jun1-6/+6
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>
2021-09-12change server address from string to a typeChris Lu1-1/+2
2021-08-12use grpc and jwtChris Lu1-8/+13
2021-02-17go fmtChris Lu1-1/+1
2021-02-17refactoring to get master function, instead of passing master values directlyChris Lu1-6/+6
this will enable retrying later
2020-09-09return http response directlyChris Lu1-7/+7
2020-07-16resolve directories if containing home directoryChris Lu1-1/+1
2020-02-14properly close http responseChris Lu1-0/+1
2018-09-21able to sync the changesChris Lu1-2/+2
2016-06-02directory structure change to work with glideChris Lu1-0/+130
glide has its own requirements. My previous workaround caused me some code checkin errors. Need to fix this.