mirror of
https://github.com/MobileGL-Dev/MobileGL
synced 2026-11-16 22:43:24 +09:00
- TcpCarriesControlAndIndependentDataWithKeepalive had the same assumption as the InitialCapsStartup fixture: ConnectTo/AcceptPair over loopback TCP, paired by accept order; when the kernel reordered the two connects the bytes sent on the client's data socket arrived on the server's control socket and recv(serverData, MSG_WAITALL) hung until the 60 s kill - 3 of 500 runs under the same load, 0 of 500 afterwards - the case now opens the control connection, accepts it, then opens the data connection with a DataBind nonce and decodes it on the accepted side, exactly the shape the product uses on TCP; it keeps its NODELAY, keepalive and ShareFd-unsupported checks on both control transports and its independent-data check on the bound data sockets, and asserts that a control-only TCP transport owns no data descriptor (TakeDataFd == -1)