Browse Source

Add a TODO about crypto/tls.Conn.CloseWrite

Brad Fitzpatrick 11 years ago
parent
commit
b2ca8da1f3
1 changed files with 3 additions and 0 deletions
  1. 3 0
      server.go

+ 3 - 0
server.go

@@ -749,6 +749,9 @@ func (sc *serverConn) processFrameFromReader(fg frameAndGate, fgValid bool) bool
 			// (e.g. CloseWrite) because they're done
 			// sending frames but they're still wanting
 			// our open replies?  Investigate.
+			// TODO: add CloseWrite to crypto/tls.Conn first
+			// so we have a way to test this? I suppose
+			// just for testing we could have a non-TLS mode.
 			return false
 		}
 	}