Ewan Higgs
c7fcb9b94f
Allow compression at the transport level. ( #595 )
...
* Allow compression at the transport level.
* Do not enable compression but do decompress compressed content-encodings.
* Fix import in download.go to use std compress/go.
* Fix issue with err shadowing.
* Don't overwrite resBody on download of original image.
Set content length to 0 if data was compressed.
2021-03-25 16:43:30 +06:00
DarthSim
2765b71e9c
Dial => DialContext
2021-02-08 17:25:29 +06:00
DarthSim
e0a4ec1f1f
Azure Blob Storage support
2020-11-19 20:47:18 +06:00
DarthSim
6c348adb0b
Minor changes in fallback images feature; Add docs for fallback images
2020-04-08 21:15:07 +06:00
DarthSim
06c7df1e14
Properly name go module & update docs
2020-02-27 22:30:31 +06:00
DarthSim
8e3cf54d85
Get rid of os.Exit
2020-02-27 21:44:59 +06:00
DarthSim
af8366139f
Better SVG detection
2020-02-11 19:28:13 +06:00
DarthSim
65579a5770
Convert context value to string securely
2020-02-05 17:00:31 +06:00
DarthSim
372faba5c1
IMGPROXY_CACHE_CONTROL_PASSTHROUGH config
2020-02-04 15:23:41 +06:00
DarthSim
7c7ac56a48
Refactor subpackages
2019-12-25 15:18:51 +06:00
DarthSim
aac9997387
Fix lint errors
2019-10-10 19:20:25 +06:00
DarthSim
aa5ce8be8d
Add SVG pasthrough
2019-10-01 18:08:30 +06:00
DarthSim
0de6fc0aa6
IMGPROXY_REPORT_DOWNLOADING_ERRORS config
2019-10-01 15:18:37 +06:00
DarthSim
ed41919be2
Try to use Application Default Credentials when GCS is enabled but GCS key is not provided
2019-09-30 19:10:55 +06:00
DarthSim
7f4d57ab21
Reimplemented image format & size detection
2019-09-25 21:47:37 +06:00
DarthSim
f7ca800b36
Refactored image downloading and watermark preparation
2019-09-20 17:01:00 +06:00
DarthSim
c12a1a08cb
Proper stack trace for image header parsing errors
2019-09-19 19:23:53 +06:00
DarthSim
aa2e8bd90e
Better linter settings + linting errors fix
2019-09-11 14:42:36 +06:00
DarthSim
de31ee50d8
Mark downloading errors as unexpected
2019-08-20 20:23:26 +06:00
DarthSim
c6145a8e69
Check source content length before getting download buffer
2019-05-08 21:00:54 +06:00
DarthSim
8870d8dbd1
Simple filesystem transport
2019-02-04 20:06:46 +06:00
DarthSim
d63f0d5cbe
Pregrow buffers on Get
2019-01-30 17:45:31 +06:00
DarthSim
250ee7914e
Better buffers calibration
2019-01-30 16:31:00 +06:00
DarthSim
b8fc6dc9f0
Smart bufPool
2019-01-30 14:36:19 +06:00
DarthSim
4a89f0c355
Limit idle conections; Close response body on error
2019-01-28 22:19:59 +06:00
DarthSim
e566aedcc3
Add prometheus metrics for buffers
2019-01-28 22:18:54 +06:00
DarthSim
0027db5f8a
Src file size check
2019-01-21 16:36:57 +06:00
DarthSim
6fa0c539bd
Grow download buffer to Content-Length value
2019-01-21 16:36:57 +06:00
DarthSim
19cac3dd98
Grow download buffer if Content-Length is provided
2019-01-21 16:36:57 +06:00
DarthSim
f4f746489c
Optimized memory usage; Reducing memory fragmentation
2019-01-17 14:51:26 +06:00
DarthSim
e0f925daeb
Fix WebP detection in some cases
2019-01-14 16:50:28 +06:00
DarthSim
4549089183
ICO support
2018-12-02 19:06:16 +06:00
DarthSim
6997e585ef
Better expected errors handling
2018-11-20 18:53:44 +06:00
DarthSim
917357616e
Deprecate IMGPROXY_MAX_SRC_DIMENSION
2018-11-15 19:25:53 +06:00
DarthSim
2c0b538eb5
GIF output support
2018-11-13 18:32:47 +06:00
DarthSim
fcdc4580a5
Use TeeReader for download
2018-11-08 16:31:55 +06:00
DarthSim
e6a7c480b1
Plain source URLs support
2018-11-02 21:35:21 +06:00
DarthSim
9fe723e357
Merge branch 'master' into version/2.1
2018-11-02 19:14:45 +06:00
DarthSim
597a8d52c2
Remove redundant URL validation
2018-11-02 18:11:35 +06:00
printercu
7104622843
Validate url format after adding BASE_URL ( #97 )
2018-11-02 18:02:33 +06:00
DarthSim
ea10cbe059
Sending User-Agent with source image request
2018-10-30 19:37:41 +06:00
DarthSim
61ae01b0a4
Google Cloud Storage support
2018-10-30 18:12:56 +06:00
DarthSim
dd85087e6a
Prometheus metrics
2018-10-29 18:04:47 +06:00
DarthSim
0f92ff2532
New Relic support
2018-10-25 19:34:16 +06:00
DarthSim
776f57d003
Predefine static errors
2018-10-06 02:29:55 +06:00
DarthSim
34a61d287f
fasthttp; Optimized memory allocation
2018-10-05 21:17:36 +06:00
DarthSim
287b7e7560
Merge branch 'crohr/s3-protocol' into version/2.0
2018-10-05 00:46:04 +06:00
Cyril Rohr
7c7add8dc1
Enable s3 transport scheme
2018-10-04 21:03:59 +06:00
DarthSim
c5adf1b3a5
Rename processing options constants and move them to processing_options.go
2018-10-02 17:30:20 +06:00
DarthSim
b9cf4a054a
IMGPROXY_IGNORE_SSL_VERIFICATION option
2018-09-26 19:00:37 +06:00