git pull hangs
When there aremany new branches on the server which are not on the client, Git pull hangs during the communication with Bonobo. This happens when the response of upload-pack is larger than 4k. The ouput (and input) buffer of a console app is maximum 4 k. When the output buffer is full git stops processing the input buffer. Thereby the process hangs.
Thanks for this - it it the same issue as #840 would solve?
Hi Will,
Yes this solves the same problem. I did not find the other issue while searching for the problem. I thought about using async calls. But the two async solutions I saw were changing the whole to async, which was a bit much. Or looping like #840. But when looping you use the processor for 100%. So quite heavy for the server. Spawning another thread was les work and less pressure on the processor. The read hangs when there is no data.
Regards, Leon