Commit Diff
- Commit:
da1b528cac268fe0a423aa7ba8b4c97b41381729
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
- Message:
- fix gotd sending too large pack files in some cases Make gotsh pass all have-lines sent by clients onwards to gotd, reducing size of pack files generated by the repo_read process. Problem reported by naddy@ ok jamsek
- Actions:
- Patch | Tree
--- lib/serve.c +++ lib/serve.c @@ -962,8 +962,6 @@ serve_read(int infd, int outfd, int gotd_sock, const c if (err) goto done; seen_have = 1; - if (have_ack) - curstate = STATE_EXPECT_DONE; } } else if (n == 5 && strncmp(buf, "done\n", 5) == 0) { if (curstate != STATE_EXPECT_HAVE &&