From 33bf67127c30647fce05f502c0ccb40ccf8dddcf Mon Sep 17 00:00:00 2001 From: Anze Zagar Date: Tue, 1 Oct 2024 07:26:08 +0000 Subject: [PATCH] client: search retry step reset on channel reconnection (fixes epics-base/pvxs#84) --- src/client.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/client.cpp b/src/client.cpp index b33b06dec..7f0c8bec8 100644 --- a/src/client.cpp +++ b/src/client.cpp @@ -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();