Explorar o código

New TODO, related to a known crash

Brad Fitzpatrick %!s(int64=11) %!d(string=hai) anos
pai
achega
7189a05631
Modificáronse 1 ficheiros con 3 adicións e 0 borrados
  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
 		}
 	}