[MG_Remote, MG_Test] (P7): pin the ended-control-stream note with a half-close case in fuzz arm 3

This commit is contained in:
2026-09-23 13:44:13 -04:00
parent e259d2017a
commit db4943601f
2 changed files with 43 additions and 14 deletions
+4 -4
View File
@@ -94,10 +94,10 @@ namespace MobileGL::MG_Remote::Client {
// PH-6's fuzz arm 3 ONLY (EventForfeitPeerTest): the control stream, so a peer that has
// stopped draining can still put on it the frames no ClientSession path would send at that
// moment - a malformed one, or a surface op queued behind a wait it did not drain for.
// Every production path that writes control holds
// m_remoteControlMutex and drains first; a caller of this does neither, which is the point.
Transport::ITransport* ControlTransportForTest() { return m_transport; }
// moment - a malformed one, a surface op queued behind a wait it did not drain for, or a
// half-close. Every production path that writes control holds m_remoteControlMutex and
// drains first; a caller of this does neither, which is the point. Null unless spawned.
Transport::SocketTransport* ControlSocketForTest() { return m_socketTransport.get(); }
// CONTRACT-P6 4.3: THE PID THE SERVER STATED IN ITS Welcome, which is not the same fact
// as the pid this session's launcher recorded - that one is local knowledge, this one