5 second timeout? wtf

This commit is contained in:
Thomas Zarebczan 2019-03-21 23:22:31 -04:00 committed by GitHub
parent 7a618f4228
commit 4569d04522
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -111,7 +111,7 @@ func (s *Server) handleConnection(conn net.Conn) {
} }
}() }()
timeoutDuration := 5 * time.Second timeoutDuration := 1 * time.Minute
for { for {
var request []byte var request []byte