23 Commits

Author SHA1 Message Date
Franklin Harding
6ebc314bdf Added os.TempDir() to replace using '/tmp/' to make the tempdir cross platform
Signed-off-by: Franklin Harding <franklinharding0.0@gmail.com>
2017-10-01 22:06:26 +02:00
Alex Ellis
b9be8293a8 Fix querystring passing
Signed-off-by: Alex Ellis <alexellis2@gmail.com>
2017-09-09 09:42:57 +01:00
Alex
6d436c576c watchdog - Write out headers with underscores
Signed-off-by: Alex <alexellis2@gmail.com>
2017-08-23 21:08:53 +01:00
Alex Ellis
ddc973c341 Watchdog - Write error / stack to caller. 2017-07-19 17:41:38 +01:00
Alex Ellis
4d05896798 Watchdog refurbishments
- Watchdog - allow new methods with and without body.
- Enforce hard-timeout via exec_timeout variable.
- Correct bug in timeouts for read/write of HTTP.
- Documentation for new verbs and hard timeout.

Signed-off-by: Alex Ellis <alexellis2@gmail.com>
2017-07-07 08:49:11 +01:00
Alex
cc0d351e69 Watchdog - enable forwarding of HTTP headers via CGI-like env vars. 2017-05-09 09:13:42 +01:00
Alex
fbb9646377 Add x-duration-seconds for all functions via watchdog 2017-05-03 18:49:30 +01:00
Alex
569ccbf323 Add license into code files for MIT 2017-04-27 23:21:50 +01:00
Alex Ellis
f958e99bdc Allow override of contentType response from watchdog. (#46) 2017-04-10 22:18:37 +01:00
Alex Ellis
469fc690da Fix issue in watchdog - not reading false config overrides. 2017-04-05 09:13:18 +01:00
Alex Ellis
93bdfba4b2 Rename marshal_request for watchdog, enable lock-file for healthcheck CMD. 2017-04-05 09:13:18 +01:00
Alex
c705cd8e33 Forward client HTTP headers through pipeline 2017-03-31 20:40:25 +01:00
Alex Ellis
04be17ce49 Add marshall_request to watchdog for passing header to functions 2017-03-31 20:40:25 +01:00
Alex Ellis
c2eb41ee4f Fix buffer dead-lock in Watchdog (#33)
* Go sync group to handle blocking on buffered-pipes
2017-03-28 19:05:33 +01:00
Alex
52266a6741 Match content-type of incoming request. Fix for Alexa. 2017-01-28 12:26:30 +00:00
Traun Leyden
dd67519cc4 Fix attempt for reported connection buildup
Regarding https://github.com/golang/go/issues/6785#issuecomment-275669472
2017-01-27 08:14:57 -08:00
Alex
d031e3154e Test makehandler 2017-01-24 20:54:24 +00:00
Alex
ed47c36d59 Add timeouts and unit test config. 2017-01-24 20:00:15 +00:00
Alex
b7d2845d6e Make timeouts configurable for watchdog process. Make debug into container optional. 2017-01-23 23:26:31 +00:00
Alex
502e13acab Combine stdout/stderr (experimental)
Don't panic on error, keep alive and return 500.
2017-01-23 18:32:35 +00:00
Alex Ellis
d181fed5fd Change samples to use get-stdin for brevity. 2016-12-30 19:40:49 +00:00
Alex Ellis
4573f14f65 Add changecolorintent 2016-12-30 19:24:25 +00:00
Alex Ellis
8fe7cb691d Initial 2016-12-22 13:08:32 +00:00