Commit Graph

58 Commits

Author SHA1 Message Date
Jan Halfar
d0c1b97406 better error handling for static files handler 2020-07-06 13:35:42 +02:00
Stefan Martinov
89d055706f
chore: update values for foomoproxy timeout
Add 5 minutes for read/write timeouts and 10 minutes for idle timeout
2017-12-28 11:32:53 +01:00
Stefan Martinov
eb9322e2e9 Update READ/WRITE timeout to 30 seconds to allow more time for requests 2017-12-14 11:57:02 +01:00
Stefan Martinov
5dbe5a9634 Remove log from imports 2017-12-13 13:45:04 +01:00
Stefan Martinov
8b122a5936 Add default timeouts to go HTTP server
Based on:
https://blog.cloudflare.com/exposing-go-on-the-internet/
https://blog.cloudflare.com/the-complete-guide-to-golang-net-http-timeouts/
2017-12-13 11:58:05 +01:00
Stefan Martinov
24c1aa2077
Remove "clampScreenWidthToGrid" log message 2017-10-31 13:07:10 +01:00
Jan Halfar
9b536267ea refactored main module handling 2017-07-11 18:59:34 +02:00
Jan Halfar
030048992f docker and env support extended 2017-07-11 15:47:25 +02:00
Frederik Löffert
c1cf1fbfb9 dockerized 2017-07-11 14:52:28 +02:00
Jan Halfar
7ccda9d1be using passed in basic auth to avoid conficts, if given 2017-07-11 14:24:14 +02:00
Jan Halfar
929ed74872 fixed concurrent cache map access 2017-03-27 18:16:16 +02:00
Jan Halfar
5d7c48cc39 better mimetype handling in proxy static files 2017-03-18 10:02:19 +01:00
smartinov
e51e6948ad Add ForceTLS param to TLS struct 2017-03-10 18:47:50 +01:00
Jan Halfar
6c328391a7 added SNI support to foomo proxy 2017-03-09 19:20:01 +01:00
Jan Halfar
33be67554e actually using the handler ... facepalm 2016-12-19 14:09:59 +01:00
Jan Halfar
099a5f951d fixed typo in public API 2016-12-19 13:41:32 +01:00
Jan Halfar
b860b267fb added *proxy.ListenAndServeWithHandler to make it easier to wrap things 2016-12-19 13:32:45 +01:00
Jan Halfar
50b5113a9e configs from remote servers 2016-11-15 14:40:05 +01:00
Jan Halfar
360bdfac5a refactored tmp dir handling in test 2016-02-17 14:19:16 +01:00
Jan Halfar
87b3b79626 fiddling with os.TempDir() and travis 2016-02-17 14:10:44 +01:00
Jan Halfar
c119afef99 Update client_test.go 2016-02-17 13:45:51 +01:00
Jan Halfar
a542642515 Merge branch 'master' of github.com:foomo/gofoomo 2016-02-17 13:38:17 +01:00
Jan Halfar
30f35fce9d HELLO travis 2016-02-17 13:38:06 +01:00
Jan Halfar
01bbafaebf Update README.md 2016-02-17 13:34:02 +01:00
Jan Halfar
9164c6064e housekeeping: code cleanup, tests and hello travis 2016-02-17 13:30:07 +01:00
Jan Halfar
a7f428b26d yaml update 2016-02-12 19:48:07 +01:00
Jan Halfar
68f652401e cleaning up bert 2016-02-12 16:35:42 +01:00
Jan Halfar
bd79ff22e6 Merge branch 'master' of github.com:foomo/gofoomo 2016-01-25 11:07:14 +01:00
Jan Halfar
39e344605d utils update for testing 2016-01-25 11:07:09 +01:00
Bostjan Marusic
70ea7410c2 Merge branch 'master' of github.com:foomo/gofoomo 2016-01-11 12:58:36 +01:00
Bostjan Marusic
72e355c236 images expire after 7 days (not 31) 2016-01-11 12:58:18 +01:00
Jan Halfar
893ed0fc2a improved help 2015-12-18 10:43:31 +01:00
Jan Halfar
aea94c9977 reorganized programs 2015-12-18 10:25:53 +01:00
Jan Halfar
f6c695977a better error handling for bert 2015-12-17 15:06:49 +01:00
Jan Halfar
95faf82098 early version of bert 2015-12-15 15:39:44 +01:00
Jan Halfar
0218dde7d3 started implementing bert in golang, prepared cli interface 2015-12-13 14:56:32 +01:00
Jan Halfar
8685d37bee exposing proxy tls config in order to provide a friendly way to enable additional tls configuration 2015-11-23 11:54:26 +01:00
franklin
4d2c26c6a1 adds TLS_RSA_WITH_AES_128_CBC_SHA to TLSModeLoose 2015-11-18 16:14:01 +01:00
Jan Halfar
1afcba13ef allowing tls.VersionTLS10 in loose proxy tls config 2015-09-18 15:23:05 +02:00
Jan Halfar
e2443e9874 Merge pull request #1 from ubaltzer/master
implemented tls configuration options
2015-09-16 10:19:38 +02:00
ulrich
eee1d25299 implemented tls configuration options 2015-09-16 10:14:26 +02:00
Jan Halfar
658cc1740d prepared foomo tls config, added better error handling 2015-09-15 09:37:44 +02:00
Jan Halfar
e4f3b99109 exposing ServeHTTPFunc 2015-06-26 11:49:50 +02:00
Bostjan Marusic
227c8cb95e added compression support, improved cache-control 2015-04-24 16:10:50 +02:00
Bostjan Marusic
378fae66c5 added proper cache-control 2015-04-24 16:08:54 +02:00
Jan Halfar
731e6822a4 fixed new interface 2015-03-26 10:39:41 +01:00
Jan Halfar
2a348aa875 fixed new interface usage 2015-03-26 10:39:01 +01:00
Jan Halfar
68328a22cd refactored basic auth and moved it to foomo, added an authwrapper for proxy handlers (which uses the new basic auth) and added proxy listeners, that can easily hijack the responsewriter 2015-03-26 10:36:05 +01:00
Jan Halfar
11321f81d3 adaptive image improvements, proxy fix 2015-01-14 18:21:33 +01:00
Jan Halfar
81f2eb63eb supporting expires and proper 304 handling 2015-01-08 18:39:09 +01:00