Browse Source

New TODO, related to a known crash

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

+ 3 - 0
server.go

@@ -1039,6 +1039,9 @@ func (sc *serverConn) processData(f *DataFrame) error {
 		case stateOpen:
 			st.state = stateHalfClosedRemote
 		case stateHalfClosedLocal:
+			// TODO: this causes a known crash (currently skipped
+			// test in server_test.go). We shouldn't leave
+			// streams in the map in stateClosed.
 			st.state = stateClosed
 		}
 	}