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
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