mirror of
https://github.com/go-gitea/gitea.git
synced 2025-12-14 21:15:18 +08:00
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> |
||
|---|---|---|
| .. | ||
| context.go | ||
| manager_unix.go | ||
| manager_windows.go | ||
| manager.go | ||
| net_unix.go | ||
| net_windows.go | ||
| restart_unix.go | ||
| server_hooks.go | ||
| server_http.go | ||
| server.go | ||