minio/pkg
Klaus Post 26e760ee62 Fix JSON Close data race. (#8486)
The JSON stream library has no safe way of aborting while

Since we cannot expect the called to safely handle "Read" and "Close" calls we must handle this.

Also any Read error returned from upstream will crash the server. We preserve the errors and instead always return io.EOF upstream, but send the error on Close.

`readahead v1.3.1` handles Read after Close better.

Updates to `progressReader` is mostly to ensure safety.

Fixes #8481
2019-11-05 14:20:37 -08:00
..
auth Migrate config to KV data format (#8392) 2019-10-22 22:59:13 -07:00
bpool Replace Minio refs in docs with MinIO and links (#7494) 2019-04-09 11:39:42 -07:00
certs Replace Minio refs in docs with MinIO and links (#7494) 2019-04-09 11:39:42 -07:00
cgroup Replace Minio refs in docs with MinIO and links (#7494) 2019-04-09 11:39:42 -07:00
color Add etcd part of config support, add noColor/json support (#8439) 2019-10-30 00:04:39 -07:00
cpu Simplify and cleanup metadata r/w functions (#8146) 2019-09-11 22:52:12 +05:30
disk Add ability to test drive speeds on a MinIO setup (#7664) 2019-09-13 03:22:30 +05:30
dns Add etcd part of config support, add noColor/json support (#8439) 2019-10-30 00:04:39 -07:00
ellipses Replace Minio refs in docs with MinIO and links (#7494) 2019-04-09 11:39:42 -07:00
env Extend further validation of config values (#8469) 2019-10-30 23:39:09 -07:00
event Extend further validation of config values (#8469) 2019-10-30 23:39:09 -07:00
handlers federation: Avoid printing context canceled error (#7997) 2019-07-31 11:08:10 -07:00
hash Turn off md5sum optionally if content-md5 is not set (#7609) 2019-05-08 18:35:40 -07:00
iam/policy Migrate config to KV data format (#8392) 2019-10-22 22:59:13 -07:00
ioutil Detect underlying disk mount/unmount (#8408) 2019-10-25 10:37:53 -07:00
lifecycle Add bucket lifecycle expiry feature (#7834) 2019-08-09 10:02:41 -07:00
lock Start using new errors package (#8207) 2019-09-11 22:51:43 +05:30
madmin Enhance config restore to carry previous set content as well (#8483) 2019-11-05 06:18:26 -08:00
mem Replace Minio refs in docs with MinIO and links (#7494) 2019-04-09 11:39:42 -07:00
mimedb Replace Minio refs in docs with MinIO and links (#7494) 2019-04-09 11:39:42 -07:00
mountinfo Fixes for multiplatform dev and testing from forks (#7734) 2019-06-04 00:59:40 -07:00
net Extend further validation of config values (#8469) 2019-10-30 23:39:09 -07:00
policy Add support for {jwt:sub} substitutions for policies (#8393) 2019-10-16 08:59:59 -07:00
pubsub Add admin API to send console log messages (#7784) 2019-09-03 23:40:48 +05:30
quick Migrate config to KV data format (#8392) 2019-10-22 22:59:13 -07:00
s3select Fix JSON Close data race. (#8486) 2019-11-05 14:20:37 -08:00
safe Replace Minio refs in docs with MinIO and links (#7494) 2019-04-09 11:39:42 -07:00
sync/errgroup Replace Minio refs in docs with MinIO and links (#7494) 2019-04-09 11:39:42 -07:00
sys Replace Minio refs in docs with MinIO and links (#7494) 2019-04-09 11:39:42 -07:00
trace Cleanup ResponseWriter function for audit and trace (#8283) 2019-09-24 02:04:28 +05:30
trie Replace Minio refs in docs with MinIO and links (#7494) 2019-04-09 11:39:42 -07:00
wildcard Replace Minio refs in docs with MinIO and links (#7494) 2019-04-09 11:39:42 -07:00
words Replace Minio refs in docs with MinIO and links (#7494) 2019-04-09 11:39:42 -07:00