fix breakage in wormhole's sendFile
authorJoey Hess <joeyh@joeyh.name>
Mon, 26 Sep 2022 19:26:29 +0000 (15:26 -0400)
committerJoey Hess <joeyh@joeyh.name>
Mon, 26 Sep 2022 19:26:29 +0000 (15:26 -0400)
commitf1c85ac11b3b7004bf1b1917f9c504622d15e1aa
treea822368b355f4497ed4397095bc3cb7c40e11738
parent17129fed66921a8828a51270b6e4ed3a51581ac3
fix breakage in wormhole's sendFile

Commit ff0927bde98e7b7fd4a7ef49b61b8770c6df294d broke this, it made it
try to read all of the input before looking for the code. But, wormhole
keeps running until it sends the file, so that caused a deadlock. Oops.

Sponsored-by: Luke Shumaker on Patreon
Utility/MagicWormhole.hs