net/socket: Disable backup connection for preamble requests

master
klzgrad 2026-09-10 23:40:16 +08:00
parent 931dacd3ed
commit 1e4e3579c4
1 changed files with 3 additions and 0 deletions

View File

@ -1599,6 +1599,9 @@ void TransportClientSocketPool::Group::OnNeedsProxyAuth(
void TransportClientSocketPool::Group::StartBackupJobTimer(
const GroupId& group_id) {
// Preamble is not an actual request for new socket.
if (group_id.destination().host() == "preamble")
return;
// Only allow one timer to run at a time.
if (BackupJobTimerIsRunning())
return;