psanford / wormhole-william

End-to-end encrypted file transfer. A magic wormhole CLI and API in Go (golang).
MIT License
1.08k stars 55 forks source link

sendFileDirectory: cancel transfers via context #40

Closed psanford closed 3 years ago

psanford commented 3 years ago

Canceling the context will now cancel an in-flight file transfer. This should cover most cases. There might still be some edge cases where cancellation doesn't work.

Fixes #11