Re: How to determine when to stop receiving pack content

2019-08-11 Thread Pratyush Yadav
On 11/08/19 11:31PM, Farhan Khan wrote: > August 11, 2019 11:04 AM, "Pratyush Yadav" wrote: > > > On 10/08/19 11:47PM, Farhan Khan wrote: > > > >> Hi, > >> > >> I am trying to write an implementation of git clone over ssh and am a > >> little confused how to > >> determine a server response ha

Re: How to determine when to stop receiving pack content

2019-08-11 Thread Farhan Khan
August 11, 2019 11:04 AM, "Pratyush Yadav" wrote: > On 10/08/19 11:47PM, Farhan Khan wrote: > >> Hi, >> >> I am trying to write an implementation of git clone over ssh and am a little >> confused how to >> determine a server response has ended. Specifically, after a client sends >> its reques

Re: How to determine when to stop receiving pack content

2019-08-11 Thread Junio C Hamano
"Farhan Khan" writes: > I am trying to write an implementation of git clone over ssh and > am a little confused how to determine a server response has > ended. Specifically, after a client sends its requested 'want', > the server sends the pack content over. However, how does the > client know to

Re: How to determine when to stop receiving pack content

2019-08-11 Thread Pratyush Yadav
On 10/08/19 11:47PM, Farhan Khan wrote: > Hi, > > I am trying to write an implementation of git clone over ssh and am a little > confused how to determine a server response has ended. Specifically, after a > client sends its requested 'want', the server sends the pack content over. > However, h

How to determine when to stop receiving pack content

2019-08-10 Thread Farhan Khan
Hi, I am trying to write an implementation of git clone over ssh and am a little confused how to determine a server response has ended. Specifically, after a client sends its requested 'want', the server sends the pack content over. However, how does the client know to stop reading data? If I r