Skip to content

Commit

Permalink
Fix attempt for reported connection buildup
Browse files Browse the repository at this point in the history
  • Loading branch information
tleyden authored and alexellis committed Jan 27, 2017
1 parent 501e813 commit 1297048
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions watchdog/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 1297048

Please sign in to comment.