]> Sergey Matveev's repositories - btrtrc.git/commit
Reannounce webtorrent webrtc offers on reconnect
authorJustin M <37273682+DigitalAlchemist@users.noreply.github.com>
Mon, 4 Jan 2021 23:20:51 +0000 (23:20 +0000)
committerMatt Joiner <anacrolix@gmail.com>
Tue, 5 Jan 2021 00:38:16 +0000 (11:38 +1100)
commitb2ab540f9381100b26c9a9b3a2652a7e4981f3e0
treec6534c1c240201aa85177b5f0f2899a47ba2ffb5
parent133cc17c0090a87c74866c3dd7e36979c3accf70
Reannounce webtorrent webrtc offers on reconnect

On socket reconnect, reannounce any webrtc offers that might have been half-open before the
socket reconnected. This implementation closes any existing half-open offers and republishes them,
but does nothing to existing webrtc connections which are still running (these are cleaned up
elsewhere and are not owned by this code)
webtorrent/tracker_client.go