Fix the unix:/pipe: transport comment in ConfigLoader.

This commit is contained in:
2026-10-09 14:24:19 -04:00
parent 286e4af582
commit 13e8e095b4
+5 -4
View File
@@ -523,7 +523,7 @@ namespace MobileGL::MG_ConfigLoader {
"ring to an apply thread"); "ring to an apply thread");
return; return;
} }
// The three P6 forms. Recognised precisely, so the diagnostic can say "not yet" // The three P6 forms. Recognised precisely, so the diagnostic can say "rejected"
// rather than "unknown", which are different bugs on the operator's side. // rather than "unknown", which are different bugs on the operator's side.
// P6 `sm`/`cp`: spawn is IMPLEMENTED. It launches a server process on a // P6 `sm`/`cp`: spawn is IMPLEMENTED. It launches a server process on a
// rendezvous of its own and connects to it - the two processes are // rendezvous of its own and connects to it - the two processes are
@@ -547,9 +547,10 @@ namespace MobileGL::MG_ConfigLoader {
return; return;
} }
if (lowered.compare(0, 5, "unix:") == 0 || lowered.compare(0, 5, "pipe:") == 0) { if (lowered.compare(0, 5, "unix:") == 0 || lowered.compare(0, 5, "pipe:") == 0) {
// unix: and pipe: remain P6+ - connecting to an endpoint SOMEBODY // unix: and pipe: are NOT MOBILEGL_TRANSPORT values and are rejected here. Connecting
// ELSE is listening on needs the server lifecycle to be somebody // to a server somebody else is listening on is `spawn` plus
// else's too, which is P12's. Named, never a silent degrade. // MOBILEGL_IPC_CONTROL=unix:<path>|unix:@<name>|tcp://host:port (InitIpc); there is
// no pipe: form. Named, never a silent degrade.
MGLOG_E("Config: MOBILEGL_TRANSPORT='%s' names a transport P6 does not implement yet; " MGLOG_E("Config: MOBILEGL_TRANSPORT='%s' names a transport P6 does not implement yet; "
"staying on monolith. This run is NOT a split run.", "staying on monolith. This run is NOT a split run.",
value.c_str()); value.c_str());