This repository has been archived on 2024-01-04. You can view files and clone it, but cannot push or open issues or pull requests.
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>
2021-05-14 13:26:03 +01:00
..
context.go
manager.go
manager_unix.go
manager_windows.go Drop back to use IsAnInteractiveSession for SVC (#15749) 2021-05-07 11:27:31 +02:00
net_unix.go
net_windows.go
restart_unix.go
server.go Add timeout to writing to responses (#15831) 2021-05-14 13:26:03 +01:00
server_hooks.go
server_http.go