Artifact 8bee8685a715b434ac23f7bc6a8dc247cbcda6c44e522237e2965ad88803ae67:
- File
transport.go
-
2026-10-25 23:29:04
— part of check-in
[8d16b7289c]
on branch main
— fix(sync): export OriginNamer so an embedder's transport keeps a horizon cursor
Sync and Clone keyed the horizon cursor (draft-fossil-horizon-00 ยง6.2.6) on an unexported syncOrigin method, which only the HTTP transport could satisfy. Any other Transport kept no cursor and announced its whole holding with igot on every pull.
OriginNamer is an optional interface, discovered by type assertion like FramedTransport, with SyncOrigin() string. The HTTP transport implements it in place of the unexported method, so one assertion serves both. The name must identify the peer stably and carry no credential.
Tracked in #488. (user: [email protected], size: 7438) [annotate] [blame] [check-ins using]
-
2026-10-25 23:36:32
— part of check-in
[a52911df25]
on branch main
— Merge pull request #498 from danmestas/fix/horizon-cursor-embedder-transport
fix(sync): export OriginNamer so an embedder's transport keeps a horizon cursor (user: [email protected], size: 7438) [annotate] [blame] [check-ins using]
-
2026-10-25 23:29:04
— part of check-in
[8d16b7289c]
on branch main
— fix(sync): export OriginNamer so an embedder's transport keeps a horizon cursor