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

46 Commits

Author SHA1 Message Date
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
DarthSim
83948d0126 Drop Go <1.8 support 2018-09-10 12:17:04 +06:00
DarthSim
47b621542b Add Content-Length header 2018-04-26 18:17:17 +06:00
DarthSim
04871c8b7f Add CORS headers 2018-04-26 17:22:31 +06:00
DarthSim
f6fa71810e Remove wait timeout 2018-03-19 14:58:52 +06:00
DarthSim
9ba634fc35 Add request ID 2018-03-19 14:57:31 +06:00
DarthSim
f569067588 Add info to timers 2018-03-15 21:21:43 +06:00
DarthSim
ec627e3345 Check authorization before semaphore 2018-03-15 21:12:06 +06:00
DarthSim
1deb2b9c54 Ass wait timeout 2018-03-15 20:53:46 +06:00
DarthSim
66cea81602 Refactor ETag support 2018-02-26 15:41:37 +06:00
Ilja Hämäläinen
178cd5de55 Add support of ETag caching (#47)
* Add ETag caching support

* Update the readme file

* Typo

* Calculate ETag before image processing, rename Env Var

* Make PO struct field public

* Generate random value on server startup to be used in ETag calculation

* Minor refactoring

* Adjust boolean value parsing as discussed in GitHub PR page

* Move random value generation to the config

* Update README

* Revert changes

* Use footprint to calculate the hash of an image
2018-02-26 11:45:52 +03:00
ben
2f4d70bcd0 correct Cache-contol header missusage. 2017-10-30 10:53:51 +01:00
Mikuláš Dítě
8b7cfa2e25 add /health endpoint
Returns 200 OK after server starts.

This greatly simplifies container deployment. For example,
Kubernetes can be configured to not route traffic to imgproxy Pods
that did not pass Readiness check against /health.
2017-10-25 11:57:19 +02:00
DarthSim
5c8dfd1b2f Use httpHandler pointer 2017-10-07 03:57:41 +06:00
DarthSim
c72c86a921 Precheck vips image types support 2017-10-07 02:54:24 +06:00
DarthSim
55b972106c Fair timeout; Better errors handling 2017-10-05 05:59:35 +06:00
DarthSim
51a57d43d0 Drop bimb dependency 2017-09-27 14:42:49 +06:00
Alexey Palazhchenko
c48c40ca0b Fix typo 2017-07-07 11:48:43 +03:00
DarthSim
842d46fe66 Content type based on processiong options 2017-07-06 03:09:41 +06:00
DarthSim
d3f93f1a9a Tune up downloading 2017-07-05 18:28:22 +06:00
DarthSim
9163e3f4ed Add concurrency 2017-07-04 20:05:53 +06:00
DarthSim
4773874fcd Add cache control 2017-07-03 16:10:44 +06:00
DarthSim
1ba9360599 Use Authorization header for secret 2017-07-03 15:36:37 +06:00
DarthSim
dafbcaac7a Log processing time 2017-07-03 10:08:47 +06:00
DarthSim
fa5cf7045e Prevent direct requests with X-Imgproxy-Secret header 2017-07-02 03:25:08 +06:00
DarthSim
6c8e068b4e Move server funcs to separate file 2017-06-27 12:00:33 +03:00