zeripath 41422f0df0 Add timeout to writing to responses (#15831) (#15872)
Backport #15831

In #15826 it has become apparent that there are a few occasions when a response can
hang during writing, and because there is no timeout go will happily just block
interminably. This PR adds a fixed 5 second timeout to all writes to a connection.

Fix #15826

Signed-off-by: Andrew Thornton <art27@cantab.net>
2021-05-14 17:42:27 +01:00
..
2021-05-10 16:38:37 -04:00
2021-03-16 00:20:05 +01:00
2021-02-03 22:36:38 +01:00
2021-04-20 12:01:58 -04:00
2021-01-26 16:36:53 +01:00