Commit 9927e958 by Edward Thomson Committed by GitHub

Merge pull request #4261 from RogerGee/fix_wait_while_ack

smart_protocol: fix parsing of server ACK responses
parents 2ade8fb0 e141f079
...@@ -325,7 +325,8 @@ static int wait_while_ack(gitno_buffer *buf) ...@@ -325,7 +325,8 @@ static int wait_while_ack(gitno_buffer *buf)
if (pkt->type == GIT_PKT_ACK && if (pkt->type == GIT_PKT_ACK &&
(pkt->status != GIT_ACK_CONTINUE && (pkt->status != GIT_ACK_CONTINUE &&
pkt->status != GIT_ACK_COMMON)) { pkt->status != GIT_ACK_COMMON &&
pkt->status != GIT_ACK_READY)) {
git__free(pkt); git__free(pkt);
return 0; return 0;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment