pub const MAX_PKT_LEN: usize = 65_520;
Maximum on-wire pkt-line length, including the 4-byte length.
gitprotocol-common: implementations MUST NOT send a pkt-line whose length exceeds 65520.