gitea/modules/graceful
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
..
context.go
manager.go Move install pages out of main macaron routes (#13195) 2020-10-19 17:03:08 -04:00
manager_unix.go Pause, Resume, Release&Reopen, Add and Remove Logging from command line (#11777) 2020-07-05 20:07:07 -04:00
manager_windows.go Drop back to use IsAnInteractiveSession for SVC (#15749) (#15762) 2021-05-07 17:44:35 +02:00
net_unix.go Re-attempt to delete temporary upload if the file is locked by another process (#12447) 2020-08-11 21:05:34 +01:00
net_windows.go Fix missed change to GetManager() (#9361) 2019-12-15 13:15:17 +00:00
restart_unix.go
server.go Add timeout to writing to responses (#15831) (#15872) 2021-05-14 17:42:27 +01:00
server_hooks.go
server_http.go Make internal SSH server host key path configurable (#14918) 2021-03-08 03:43:59 +01:00