mirror of https://github.com/tailscale/tailscale/
tstest/integration/testcontrol: fix AddRawMapResponse race condition
Only send a stored raw map message in reply to a streaming map response. Otherwise a non-streaming map response might pick it up first, and potentially drop it. This guarantees that a map response sent via AddRawMapResponse will be picked up by the main map response loop in the client. Fixes #15362 Signed-off-by: James Sanderson <jsanderson@tailscale.com>pull/15420/head
parent
b3455fa99a
commit
ea79dc161d
Loading…
Reference in New Issue