mirror of
https://github.com/schollz/croc.git
synced 2025-10-11 05:11:06 +02:00
ok
This commit is contained in:
parent
0fca426ffe
commit
cf898bef18
1 changed files with 2 additions and 1 deletions
|
@ -1684,7 +1684,7 @@ func (c *Client) recipientGetFileReady(finished bool) (err error) {
|
||||||
c.FilesHasFinished[c.FilesToTransferCurrentNum] = struct{}{}
|
c.FilesHasFinished[c.FilesToTransferCurrentNum] = struct{}{}
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
log.Tracef("recipientGetFileReady: recipientInitializeFile")
|
||||||
err = c.recipientInitializeFile()
|
err = c.recipientInitializeFile()
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return
|
return
|
||||||
|
@ -1707,6 +1707,7 @@ func (c *Client) recipientGetFileReady(finished bool) (err error) {
|
||||||
}
|
}
|
||||||
|
|
||||||
log.Debugf("sending recipient ready with %d chunks", len(c.CurrentFileChunks))
|
log.Debugf("sending recipient ready with %d chunks", len(c.CurrentFileChunks))
|
||||||
|
log.Tracef("recipientGetFileReady: sending recipient chunks")
|
||||||
err = message.Send(c.conn[0], c.Key, message.Message{
|
err = message.Send(c.conn[0], c.Key, message.Message{
|
||||||
Type: message.TypeRecipientReady,
|
Type: message.TypeRecipientReady,
|
||||||
Bytes: bRequest,
|
Bytes: bRequest,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue