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

78 Commits

Author SHA1 Message Date
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