mirror of
https://github.com/TeamPiped/http3-ytproxy.git
synced 2024-08-14 23:56:43 +00:00
Increase write timeout to prevent forcibly closing connections.
This commit is contained in:
parent
696c07b8c7
commit
d759617d1f
1 changed files with 1 additions and 1 deletions
2
main.go
2
main.go
|
@ -263,7 +263,7 @@ func main() {
|
|||
listener, err := net.Listen("unix", socket)
|
||||
srv := &http.Server{
|
||||
ReadTimeout: 5 * time.Second,
|
||||
WriteTimeout: 10 * time.Second,
|
||||
WriteTimeout: 1 * time.Hour,
|
||||
Addr: ":8080",
|
||||
Handler: &requesthandler{},
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue