Browse Source

Updaet TODO about idle clients.

Brad Fitzpatrick 11 years ago
parent
commit
67607af558
1 changed files with 3 additions and 2 deletions
  1. 3 2
      server.go

+ 3 - 2
server.go

@@ -62,8 +62,9 @@ var (
 // TODO: finish GOAWAY support. Consider each incoming frame type and
 // TODO: finish GOAWAY support. Consider each incoming frame type and
 // whether it should be ignored during a shutdown race.
 // whether it should be ignored during a shutdown race.
 
 
-// TODO: send PING frames to idle clients and disconnect them if no
-// reply
+// TODO: disconnect idle clients. GFE seems to do 4 minutes. make
+// configurable?  or maximum number of idle clients and remove the
+// oldest?
 
 
 // TODO: turn off the serve goroutine when idle, so
 // TODO: turn off the serve goroutine when idle, so
 // an idle conn only has the readFrames goroutine active. (which could
 // an idle conn only has the readFrames goroutine active. (which could