1
1
Fork 0
mirror of https://github.com/schollz/croc.git synced 2025-10-11 13:21:00 +02:00

increase buffer

This commit is contained in:
Zack Scholl 2019-04-04 16:57:41 -07:00
parent a1b5de3abe
commit 8efd01f881

View file

@ -620,7 +620,7 @@ func (c *Client) dataChannelReceive(num int) (err error) {
var n int
c.mutex.Lock()
n, err = c.CurrentFile.WriteAt(chunk.Bytes, chunk.Location)
c.log.Debugf("wrote %d bytes to %d (%d)", n, chunk.Location,num)
// c.log.Debugf("wrote %d bytes to %d (%d)", n, chunk.Location,num)
c.mutex.Unlock()
if err != nil {
panic(err)