headscale/hscontrol/mapper
Kristoffer Dalby f4eeb94b1c mapper: gate broadcast sends until a connection's initial map is delivered
AddNode registers the connection before sending the initial map, so a
batched delta could land first and become the stream's first frame;
Tailscale clients then kill the poll with "initial MapResponse lacked
Node" and a retry loop under steady change traffic leaves the netmap
empty. Skip connections awaiting their initial map and retry the
change next tick — the in-flight map may predate it, so it cannot be
dropped. Retries are prepended to keep patch order.
2026-06-11 16:28:25 +02:00
..
batch_coalesce_test.go mapper: keep one batched bundle per node in flight to preserve order 2026-06-08 10:04:49 +02:00
batcher.go mapper: gate broadcast sends until a connection's initial map is delivered 2026-06-11 16:28:25 +02:00
batcher_bench_test.go hscontrol/types: silence zerolog by default in tests 2026-04-17 16:31:49 +01:00
batcher_concurrency_test.go hscontrol/types: silence zerolog by default in tests 2026-04-17 16:31:49 +01:00
batcher_scale_bench_test.go hscontrol/types: silence zerolog by default in tests 2026-04-17 16:31:49 +01:00
batcher_test.go mapper, change: coalesce duplicate policy recomputes per tick 2026-06-03 19:05:24 +02:00
batcher_unit_test.go mapper: fix phantom updateSentPeers on disconnected nodes 2026-04-10 13:18:56 +01:00
builder.go all: apply godoc [Name] link conventions across comments 2026-05-19 09:55:22 +02:00
builder_test.go all: fix golangci-lint issues (#3064) 2026-02-06 21:45:32 +01:00
dns_extrarecords_race_test.go types: lock tailcfg DNS config access for extra-records updates 2026-06-08 10:04:49 +02:00
initialmap_phantom_test.go mapper: gate broadcast sends until a connection's initial map is delivered 2026-06-11 16:28:25 +02:00
mapper.go hscontrol: satisfy golangci-lint on changed lines 2026-06-09 15:21:18 +02:00
mapper_test.go hscontrol: satisfy golangci-lint on changed lines 2026-06-09 15:21:18 +02:00
node_conn.go mapper: gate broadcast sends until a connection's initial map is delivered 2026-06-11 16:28:25 +02:00
reconnect_cleanup_test.go mapper: register reconnecting node atomically against cleanup 2026-06-08 10:04:49 +02:00
tail_test.go capver, types: bump to tailscale v1.98, drop LegacyDERPString 2026-05-22 11:22:01 +02:00