Skip to content
Snippets Groups Projects
Commit dd67519c authored by Traun Leyden's avatar Traun Leyden Committed by GitHub
Browse files

Fix attempt for reported connection buildup

parent d031e315
No related branches found
No related tags found
No related merge requests found
......@@ -29,6 +29,7 @@ func makeRequestHandler(config *WatchdogConfig) func(http.ResponseWriter, *http.
writer, _ := targetCmd.StdinPipe()
res, _ := ioutil.ReadAll(r.Body)
defer r.Body.Close()
writer.Write(res)
writer.Close()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment