1
0
mirror of https://github.com/minio/minio.git synced 2025-03-18 09:48:30 -04:00
Commit Graph

19 Commits

Author SHA1 Message Date
Harshavardhana
14cf8f1b22
upgrade deps for minio/pkg v1.6.1 to include groups conditions () 2023-02-06 09:27:29 -08:00
Harshavardhana
b4ef5ff294
remove unnecessary code checking for supported features () 2023-01-17 19:37:47 +05:30
Klaus Post
ebe395788b
feat: Encrypt s3zip file index () 2022-12-07 14:56:07 -08:00
Klaus Post
98cffbce03
s3zip: Limit over-read for single file () 2022-12-02 08:53:24 -08:00
Klaus Post
1cd875de1e
Persist updated metadata () 2022-12-02 08:35:04 -08:00
Harshavardhana
23b329b9df
remove gateway completely () 2022-10-24 17:44:15 -07:00
Klaus Post
86d543d0f6
Check for s3zip content offset () 2022-10-21 15:37:48 -07:00
Klaus Post
ff12080ff5
Remove deprecated io/ioutil () 2022-09-19 11:05:16 -07:00
Harshavardhana
433b6fa8fe
upgrade golang-lint to the latest () 2022-08-26 12:52:29 -07:00
Klaus Post
0149382cdc
Add padding to compressed+encrypted files ()
Add up to 256 bytes of padding for compressed+encrypted files.

This will obscure the obvious cases of extremely compressible content 
and leave a similar output size for a very wide variety of inputs.

This does *not* mean the compression ratio doesn't leak information 
about the content, but the outcome space is much smaller, 
so often *less* information is leaked.
2022-07-13 07:52:15 -07:00
Harshavardhana
f293df647c
s3/zip: extract metadata properly for Zipped objects ()
s3/zip: extra metadata properly for Zipped objects

fixes 
2022-06-21 14:11:12 -07:00
Harshavardhana
f527c708f2
run gofumpt cleanup across code-base () 2022-01-02 09:15:06 -08:00
Klaus Post
34dc725d26
fix: s3zip in fs mode ()
The index was converted directly from bytes to binary. This would fail a roundtrip through json.

This would result in `Error: invalid input: magic number mismatch` when reading back.

On non-erasure backends store index as base64.
2021-11-25 09:11:25 -08:00
Harshavardhana
14d8a931fe
re-use io.Copy buffers with 32k pools ()
Borrowed idea from Go's usage of this
optimization for ReadFrom() on client
side, we should re-use the 32k buffers
io.Copy() allocates for generic copy
from a reader to writer.

the performance increase for reads for
really tiny objects is at this range
after this change.

> * Fastest: +7.89% (+1.3 MiB/s) throughput, +7.89% (+1308.1) obj/s
2021-11-02 08:11:50 -07:00
Klaus Post
76239fa1ae
Fix s3zip not returning data ()
We do not reliably know the length of compressed data, including headers.

Request until the end-of-stream. Results will still be properly truncated.

Fixes 
2021-10-14 12:37:30 -07:00
Harshavardhana
a2cd3c9a1d
use ParseForm() to allow query param lookups once ()
```
cpu: Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz
BenchmarkURLQueryForm
BenchmarkURLQueryForm-4         247099363                4.809 ns/op           0 B/op          0 allocs/op
BenchmarkURLQuery
BenchmarkURLQuery-4              2517624               462.1 ns/op           432 B/op          4 allocs/op
PASS
ok      github.com/minio/minio/cmd      3.848s
```
2021-08-07 22:43:01 -07:00
Harshavardhana
cdeccb5510
feat: Deprecate embedded browser and import console ()
This feature also changes the default port where
the browser is running, now the port has moved
to 9001 and it can be configured with

```
--console-address ":9001"
```
2021-06-17 20:27:04 -07:00
Harshavardhana
da74e2f167
move internal/net to pkg/net package () 2021-06-14 14:54:37 -07:00
Anis Elleuch
ba5fb2365c
feat: support of ZIP list/get/head as S3 extension ()
When enabled, it is possible to list/get files
inside a zip file without uncompressing it.

Signed-off-by: Anis Elleuch <anis@min.io>
2021-06-10 08:17:03 -07:00