We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9c4b3ad commit 1983bb7Copy full SHA for 1983bb7
http.go
@@ -54,7 +54,7 @@ func HTTPStatusCode(err error) int {
54
// package database/sql
55
case "sql: no rows in result set":
56
return http.StatusNotFound
57
- case "i/o timeout":
+ case "i/o timeout", "TLS handshake timeout":
58
return http.StatusRequestTimeout
59
}
60
cause, ok := err.(causer)
0 commit comments