Skip to content
Fossil Changes To branch/xfer-login-card
Login

Changes To branch/xfer-login-card

Initial version of "branch/xfer-login-card"








1
2
3
4
5
6
7
+
+
+
+
+
+
+
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.)