1
0
mirror of https://github.com/minio/minio.git synced 2025-04-26 21:12:28 -04:00

6 Commits

Author SHA1 Message Date
Anis Elleuch
53011606a5 Show 401 unauthorized msg when nodes are started with different creds ()
Before this commit, nodes wait indefinitely without showing any
indicate error message when a node is started with different access
and secret keys.

This PR will show '401 Unauthorized' in this case.
2019-04-02 12:25:34 -07:00
Harshavardhana
396d78352d Support HTTP/2.0 ()
Fixes 
2019-02-14 17:53:46 -08:00
Harshavardhana
817269475f Make sure to drain body upon an error ()
Also cleanup redundant code and use it at a common place
2019-02-06 12:07:03 -08:00
Krishna Srinivas
98c950aacd Streaming bitrot verification support () 2019-01-17 18:28:18 +05:30
Anis Elleuch
69bd6df464 storage: Implement Close() in REST client ()
Calling /minio/prometheuses/metrics calls xlSets.StorageInfo() which creates a new
storage REST client and closes it. However, currently, closing does nothing
to the underlying opened http client.

This commit introduces a closing behavior by calling CloseIdleConnections
provided by http.Transport upon the initialization of this latter.
2018-11-20 11:07:19 -08:00
Krishna Srinivas
81bee93b8d Move remote disk StorageAPI abstraction from RPC to REST () 2018-10-04 17:44:06 -07:00