1
0
mirror of https://github.com/imgproxy/imgproxy.git synced 2024-11-29 08:22:11 +02:00
Commit Graph

75 Commits

Author SHA1 Message Date
DarthSim
70e26cdd97 Add IMGPROXY_PATH_PREFIX config 2020-04-07 17:54:00 +06:00
DarthSim
8e3cf54d85 Get rid of os.Exit 2020-02-27 21:44:59 +06:00
DarthSim
45306adc23 IMGPROXY_NETWORK config 2020-02-03 18:03:18 +06:00
DarthSim
aa8cff62f4 Respond to HEAD 2020-01-30 20:41:28 +06:00
DarthSim
16784fb1e2 New logging; JSON and structured log formats 2019-09-16 15:53:45 +06:00
DarthSim
337bb38a16 Favicon dummy handler & hello message at the root 2019-08-20 19:26:17 +06:00
DarthSim
b104c5c973 Better stacktrace in errors 2019-08-19 18:05:34 +06:00
DarthSim
98ad26644e Report only unexpected errors 2019-08-15 19:15:37 +06:00
DarthSim
c76696caf7 SO_REUSEPORT support 2019-06-27 14:00:39 +06:00
DarthSim
8517402e7e Add IMGPROXY_KEEP_ALIVE_TIMEOUT config 2019-06-21 16:32:37 +06:00
DarthSim
a9244a7063 Extract processing handler and imageType functions from server.go 2019-06-03 23:02:46 +06:00
DarthSim
86c883f04b HEIC images support 2019-06-03 22:07:03 +06:00
DarthSim
ab9363e989 Simple http router for better looking server code 2019-06-03 21:16:54 +06:00
DarthSim
2a7715540b Allow query params for health endpoint; Log health response 2019-06-03 17:06:13 +06:00
DarthSim
bd95447ca5 Add development errors mode 2019-05-08 20:51:39 +06:00
DarthSim
023dcadc34 Better stacktrace of processing errorf 2019-05-08 20:37:26 +06:00
DarthSim
3d13e6afb2 Back to net/http
Month of testing and profiling show that fasthttp doesn't gives us significatnt profit in memory and performance while being incompatible with many third-side packages and http/2
2019-05-08 17:42:48 +06:00
DarthSim
0346b6b45e Typo 2019-05-06 16:57:44 +06:00
DarthSim
afe1557057 Send and receive X-Reqiest-ID header 2019-05-06 14:42:30 +06:00
DarthSim
d5b7e2aa13 Lint with golangci-lint; Fix linter issues; Add Go 1.12 to CircleCI 2019-04-11 20:07:15 +06:00
DarthSim
67bbf14ba4 Back to fasthttp 2019-03-22 21:07:31 +06:00
DarthSim
c21e211c5a Fix GZip pool calibration 2019-01-31 19:00:13 +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
e566aedcc3 Add prometheus metrics for buffers 2019-01-28 22:18:54 +06:00
DarthSim
c18f2d9ac4 Merge branch 'master' into version/2.2 2019-01-17 19:32:51 +06:00
Koen Punt
24562a246f move healthcheck before the secret checking (#130)
since health checks on AWS target groups do not support sending headers, it's impossible to use the health check when a secret is configured.
2019-01-17 19:01:15 +06:00
Leo Pangan
47e35a224e Add Vary response header (#119) 2019-01-17 19:00:33 +06:00
DarthSim
f4f746489c Optimized memory usage; Reducing memory fragmentation 2019-01-17 14:51:26 +06:00
DarthSim
ed795675be Refactored logging; Syslog support 2019-01-14 16:50:59 +06:00
DarthSim
70b1214552 Proper filename in Content-Disposition 2019-01-10 11:49:34 +06:00
DarthSim
e453d9db51 Some optimizations 2019-01-09 18:41:00 +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
c03a9c69c3 Move health response before semaphore 2018-11-16 16:07:30 +06:00
DarthSim
b66b27bef9 Errors reporting 2018-11-14 19:41:16 +06:00
DarthSim
2c0b538eb5 GIF output support 2018-11-13 18:32:47 +06:00
DarthSim
7f5f312dfc Add Content-Disposition header 2018-11-01 20:34:28 +06:00
DarthSim
dd85087e6a Prometheus metrics 2018-10-29 18:04:47 +06:00
DarthSim
fe4810609a Reset response buffer 2018-10-28 17:57:40 +06:00
DarthSim
0f92ff2532 New Relic support 2018-10-25 19:34:16 +06:00
DarthSim
ceec679c81 Back to net/http because of fasthttps incompatibiliti with almost everything 2018-10-25 18:08:44 +06:00
DarthSim
d4ca9af5be Fix path parsing 2018-10-08 13:42:08 +06:00
DarthSim
776f57d003 Predefine static errors 2018-10-06 02:29:55 +06:00
DarthSim
d333c7ca61 Little cleanup 2018-10-06 00:22:11 +06:00
DarthSim
2f8d7b8ad6 return ETag support 2018-10-05 22:20:29 +06:00
DarthSim
77d86d0e2d Fix secret checking 2018-10-05 22:10:17 +06:00
DarthSim
34a61d287f fasthttp; Optimized memory allocation 2018-10-05 21:17:36 +06:00
DarthSim
c5adf1b3a5 Rename processing options constants and move them to processing_options.go 2018-10-02 17:30:20 +06:00
DarthSim
5dcad5430a Advanced url format 2018-10-02 17:30:20 +06:00