psanford / wormhole-william

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

Hangs and crashes when sending empty files #78

Closed piegamesde closed 2 years ago

piegamesde commented 2 years ago

As reported in https://github.com/magic-wormhole/magic-wormhole.rs/issues/160#issuecomment-1132818222, Wormhole William is also affected. For the Rust<->Go and the Python->Go hang I suspect it is that the Go implementation expects an empty record, which the other implementations simply skip. At least this is where I'm looking for errors at the moment.