Skip to content

Commit

Permalink
client: search retry step reset on channel reconnection (fixes #84)
Browse files Browse the repository at this point in the history
  • Loading branch information
anzez committed Oct 1, 2024
1 parent 8416141 commit 33bf671
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/client.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -904,6 +904,7 @@ void procSearchReply(ContextImpl& self, const SockAddr& src, uint8_t peerVersion
chan->conn = Connection::build(self.shared_from_this(), serv);

chan->conn->pending[chan->cid] = chan;
chan->nSearch = 0u;
chan->state = Channel::Connecting;

chan->conn->createChannels();
Expand Down

0 comments on commit 33bf671

Please sign in to comment.