Commit a0ce87c5 by Ben Straub

Add network transfer callbacks on Windows

parent 8bba3c95
......@@ -403,6 +403,7 @@ static int http_recv_cb(gitno_buffer *buf)
memcpy(buf->data + buf->offset, buffer, recvd);
buf->offset += recvd;
if (buf->packetsize_cb) buf->packetsize_cb(recvd, buf->packetsize_payload);
#endif
return (int)(buf->offset - old_len);
......
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