4e48f5e6d6
Turns out sClose was working fine.. but it was not being run on every opened socket. The upstream bug is that multicastSender can crash on an invalid (or ipv6) address and when this happens it's already opened a socket, which just goes missing with no way to close it. A simple fix to the library can avoid this, as I describe here: https://github.com/audreyt/network-multicast/issues/2 In the meantime, just skipping ipv6 addresses will fix the fd leak. |
||
---|---|---|
.. | ||
Pairing | ||
Threads | ||
WebApp | ||
Alert.hs | ||
Changes.hs | ||
Commits.hs | ||
Common.hs | ||
DaemonStatus.hs | ||
MakeRemote.hs | ||
Pairing.hs | ||
Pushes.hs | ||
ScanRemotes.hs | ||
Ssh.hs | ||
Sync.hs | ||
ThreadedMonad.hs | ||
TransferQueue.hs | ||
TransferSlots.hs | ||
WebApp.hs |