Re: [Wormux-dev] Bug in IndexServer::Connect()

2007-11-27 Par sujet Kurosu
Victor Stinner a écrit : > Hi, > > I found a bug in IndexServer::Connect(): if a connection to an IP > address fails, the function doesn't remove the IP or skip this IP in > next try. > > I added "server_lst.erase(current_server);" but it crashs. It looks like > current_server equals server_li

[Wormux-dev] Bug in IndexServer::Connect()

2007-11-22 Par sujet Victor Stinner
Hi, I found a bug in IndexServer::Connect(): if a connection to an IP address fails, the function doesn't remove the IP or skip this IP in next try. I added "server_lst.erase(current_server);" but it crashs. It looks like current_server equals server_list.end() when server list only contains