mirror of
https://github.com/MobileGL-Dev/MobileGL
synced 2026-11-19 16:01:57 +09:00
[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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user