mirror of
https://github.com/minio/minio.git
synced 2025-11-22 10:37:42 -05:00
Fix an issue with reusing closed network connetion, changing the way rateLimitedListener is initialized
This commit is contained in:
@@ -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