1
2
3
4
5
6
7
|
1
2
3
4
5
6
7
8
9
10
11
|
+
+
+
+
|
The goals of this branch are:
- Reduce memory cost of outbound payloads which have a login card by eliminating one of the copies of the payload.
- Keep downstream clients (read as "libfossil") from having to perform the same memory-hungry juggling to generate their sync payloads.
It achieves those by enabling the sync layer's login card to be stored as the `X-Fossil-Xfer-Login` header instead of in the sync body payload. The /xfer layer enables this based on client/server version info, and this branch must be able to interact with any older versions for both push and pull operations. (Any deviation from that is a bug.)
Open issues:
- CGI-hosted fossils do not get the HTTP headers, so cannot use this approach. We can possibly worked around this by passing the card as a URL parameter during sync and handling it early on in fossil like we do `?skin=...`.
|