mirror of
https://github.com/minio/minio.git
synced 2026-11-22 15:13:48 +00:00
Fix an issue with reusing closed network connetion, changing the way rateLimitedListener is initialized
This commit is contained in:
1 parent
dc11a411c7
commit
1f2e6a40a0
3 files changed
+9
-12
No files matched your search
@@ -87,7 +87,7 @@ func getAPIServer(conf api.Config, apiHandler http.Handler) (*http.Server, error
|
||||
func getRPCServer(rpcHandler http.Handler) *http.Server {
|
||||
// Minio server config
|
||||
httpServer := &http.Server{
|
||||
Addr: "127.0.0.1:9001", // TODO make this configurable
|
||||
Addr: ":9001", // TODO make this configurable
|
||||
Handler: rpcHandler,
|
||||
MaxHeaderBytes: 1 << 20,
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user