Browse Source
Currently, whenever remote-curl reads pkt-lines from its response file descriptor, only the payload is written to its buf, not the 4 characters denoting the length. A future patch will require the ability to also write those 4 characters, so in preparation for that, refactor this read into its own function. Signed-off-by: Jonathan Tan <jonathantanmy@google.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>maint
Jonathan Tan
6 years ago
committed by
Junio C Hamano
1 changed files with 24 additions and 9 deletions
Loading…
Reference in new issue