Commit Diff


commit - 67fdb8a7a3ab501b2155b04b10e69e61779662b9
commit + da1b528cac268fe0a423aa7ba8b4c97b41381729
blob - 3c0e922f710512fb11185edf45470c7bed7253bb
blob + 41a4b3a7a9164eb7f8dca9010be771a94eca4b8f
--- 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 &&