For small files, file-done arrives before wireFileRecv's goroutine reaches the pendingDones registration — the message was discarded and the goroutine timed out. Fix by registering doneCh in AcceptOffer (before sending file-accept), carrying it through recvState, and reading it in wireFileRecv without re-registering. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
25 KiB
25 KiB