Commit Graph

10 Commits

Author SHA1 Message Date
70e9a83e87 Allow override of HTTP port via env-var
HTTP port can now be overriden through use of "port" environmental
variable.

Prefer messaging "want" over "wanted" in error messages, this is more
idiomatic Golang.

Move away from Go ARMv6 (RPi Zero) and give ARMv7 as a minimum
version for release binaries.

Signed-off-by: Alex Ellis (VMware) <alexellis2@gmail.com>
2018-03-17 20:18:09 +00:00
62900cf46e added go duration support for read_timeout, write_timeout, exec_timeout in watchdog
Signed-off-by: Vivek Singh <vivekkmr45@yahoo.in>

updated testcases

applied go fmt to readconfig

Signed-off-by: Vivek Singh <vivekkmr45@yahoo.in>

added requested changes in code review

Signed-off-by: Vivek Singh <vivekkmr45@yahoo.in>
2018-02-27 18:05:55 +00:00
b9f59f5150 Fixes 251. Set debug_write to false by default. Added log output of byte count when debug is false. Updated tests to match new default
Signed-off-by: Burton Rheutan <rheutan7@gmail.com>
2017-10-23 15:13:30 +01:00
b77268c6cc Correct typo via pmuens 2017-07-07 08:49:11 +01:00
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
569ccbf323 Add license into code files for MIT 2017-04-27 23:21:50 +01:00
f958e99bdc Allow override of contentType response from watchdog. (#46) 2017-04-10 22:18:37 +01:00
469fc690da Fix issue in watchdog - not reading false config overrides. 2017-04-05 09:13:18 +01:00
5db6013861 Use time / duration for config 2017-01-24 20:06:22 +00:00
ed47c36d59 Add timeouts and unit test config. 2017-01-24 20:00:15 +00:00