You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
forgejo/modules/graceful
zeripath 1a5659943e
Add timeout to writing to responses (#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>
3 years ago
..
context.go Graceful: Xorm, RepoIndexer, Cron and Others (#9282) 5 years ago
manager.go Move install pages out of main macaron routes (#13195) 4 years ago
manager_unix.go Pause, Resume, Release&Reopen, Add and Remove Logging from command line (#11777) 4 years ago
manager_windows.go Drop back to use IsAnInteractiveSession for SVC (#15749) 3 years ago
net_unix.go Re-attempt to delete temporary upload if the file is locked by another process (#12447) 4 years ago
net_windows.go Fix missed change to GetManager() (#9361) 5 years ago
restart_unix.go Graceful: Xorm, RepoIndexer, Cron and Others (#9282) 5 years ago
server.go Add timeout to writing to responses (#15831) 3 years ago
server_hooks.go Graceful: Xorm, RepoIndexer, Cron and Others (#9282) 5 years ago
server_http.go Make internal SSH server host key path configurable (#14918) 3 years ago