瀏覽代碼

New TODO, related to a known crash

Brad Fitzpatrick 11 年之前
父節點
當前提交
7189a05631
共有 1 個文件被更改,包括 3 次插入0 次删除
  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
 		}
 	}