Skip to content

Commit 9927e95

Browse files
authored
Merge pull request libgit2#4261 from RogerGee/fix_wait_while_ack
smart_protocol: fix parsing of server ACK responses
2 parents 2ade8fb + e141f07 commit 9927e95

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/transports/smart_protocol.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -325,7 +325,8 @@ static int wait_while_ack(gitno_buffer *buf)
325325

326326
if (pkt->type == GIT_PKT_ACK &&
327327
(pkt->status != GIT_ACK_CONTINUE &&
328-
pkt->status != GIT_ACK_COMMON)) {
328+
pkt->status != GIT_ACK_COMMON &&
329+
pkt->status != GIT_ACK_READY)) {
329330
git__free(pkt);
330331
return 0;
331332
}

0 commit comments

Comments
 (0)