1
0
mirror of https://github.com/imgproxy/imgproxy.git synced 2025-06-17 22:37:33 +02:00
Commit Graph

94 Commits

Author SHA1 Message Date
528ece8da1 Revised errors for better error reporting 2025-02-17 22:11:40 +03:00
cb32e71788 Rename IMGPROXY_WRITE_TIMEOUT to IMGPROXY_TIMEOUT and IMGPROXY_READ_TIMEOUT to IMGPROXY_READ_REQUEST_TIMEOUT 2024-06-03 20:36:32 +03:00
01b053277d Add request ID to error reports 2024-03-10 21:12:43 +03:00
71aea9b507 Add processing options and source image URL to error reports 2024-03-10 20:44:45 +03:00
fb028170b3 Explicitly set Content-Type header; Ensure that response body contains at least one byte 2024-02-10 20:39:52 +03:00
c3466c4ac1 Fix landing when non-empty path prefix is set 2024-01-25 19:09:44 +03:00
2026de092b Don't log healthcheck and favicon requests 2024-01-19 18:41:37 +03:00
925dac28bb Create and destroy a tiny image during health check to check that vips is operational 2023-08-21 20:48:47 +03:00
67cd992e12 Set cache-control: no-cache to heath response 2022-12-11 22:14:48 +06:00
0f7281e56e raw processing option 2022-09-07 18:03:12 +06:00
9c920bc893 Ser ErrorLog for server 2022-07-19 18:04:54 +06:00
bb3a9c77f7 Set default IMGPROXY_MAX_CLIENTS value to 2048; Allow unlimited connections 2022-07-19 18:04:22 +06:00
46ba726af0 Grab more stacktrace lines in panic handler 2022-04-11 15:42:11 +06:00
df818706c2 IMGPROXY_HEALTH_CHECK_PATH config 2022-02-21 18:06:20 +06:00
b5863c808b Move metrics.StartRequest to middleware && Fix Datadog 2022-01-14 00:40:14 +06:00
86b646fe1b Move panic handling out of router 2022-01-13 22:36:06 +06:00
7709b74a5e Bump version 2021-09-30 20:23:30 +06:00
2ea1466d96 Global refactoring 2021-05-07 17:10:21 +06:00
08b70d8b91 Better imgproxyError handling 2021-03-22 22:46:15 +06:00
70e26cdd97 Add IMGPROXY_PATH_PREFIX config 2020-04-07 17:54:00 +06:00
8e3cf54d85 Get rid of os.Exit 2020-02-27 21:44:59 +06:00
45306adc23 IMGPROXY_NETWORK config 2020-02-03 18:03:18 +06:00
aa8cff62f4 Respond to HEAD 2020-01-30 20:41:28 +06:00
16784fb1e2 New logging; JSON and structured log formats 2019-09-16 15:53:45 +06:00
337bb38a16 Favicon dummy handler & hello message at the root 2019-08-20 19:26:17 +06:00
b104c5c973 Better stacktrace in errors 2019-08-19 18:05:34 +06:00
98ad26644e Report only unexpected errors 2019-08-15 19:15:37 +06:00
c76696caf7 SO_REUSEPORT support 2019-06-27 14:00:39 +06:00
8517402e7e Add IMGPROXY_KEEP_ALIVE_TIMEOUT config 2019-06-21 16:32:37 +06:00
a9244a7063 Extract processing handler and imageType functions from server.go 2019-06-03 23:02:46 +06:00
86c883f04b HEIC images support 2019-06-03 22:07:03 +06:00
ab9363e989 Simple http router for better looking server code 2019-06-03 21:16:54 +06:00
2a7715540b Allow query params for health endpoint; Log health response 2019-06-03 17:06:13 +06:00
bd95447ca5 Add development errors mode 2019-05-08 20:51:39 +06:00
023dcadc34 Better stacktrace of processing errorf 2019-05-08 20:37:26 +06:00
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
0346b6b45e Typo 2019-05-06 16:57:44 +06:00
afe1557057 Send and receive X-Reqiest-ID header 2019-05-06 14:42:30 +06:00
d5b7e2aa13 Lint with golangci-lint; Fix linter issues; Add Go 1.12 to CircleCI 2019-04-11 20:07:15 +06:00
67bbf14ba4 Back to fasthttp 2019-03-22 21:07:31 +06:00
c21e211c5a Fix GZip pool calibration 2019-01-31 19:00:13 +06:00
250ee7914e Better buffers calibration 2019-01-30 16:31:00 +06:00
b8fc6dc9f0 Smart bufPool 2019-01-30 14:36:19 +06:00
e566aedcc3 Add prometheus metrics for buffers 2019-01-28 22:18:54 +06:00
c18f2d9ac4 Merge branch 'master' into version/2.2 2019-01-17 19:32:51 +06:00
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
47e35a224e Add Vary response header (#119) 2019-01-17 19:00:33 +06:00
f4f746489c Optimized memory usage; Reducing memory fragmentation 2019-01-17 14:51:26 +06:00
ed795675be Refactored logging; Syslog support 2019-01-14 16:50:59 +06:00
70b1214552 Proper filename in Content-Disposition 2019-01-10 11:49:34 +06:00