We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a11d117 commit ccd31ffCopy full SHA for ccd31ff
VVOSCQueryProtocol/WSPPServer.cpp
@@ -295,6 +295,10 @@ void WSPPServer::_initServer() {
295
for (std::map<string,vector<connection_hdl>>::iterator addrServerIt=servers_by_listenAddr.begin(); addrServerIt!=servers_by_listenAddr.end(); ) {
296
// run through each connection in this entry
297
vector<connection_hdl> &serverConns = addrServerIt->second;
298
+ if (serverConns.size()<1) {
299
+ ++addrServerIt;
300
+ continue;
301
+ }
302
for (std::vector<connection_hdl>::iterator serverConnIt=serverConns.begin(); serverConnIt!=serverConns.end(); ) {
303
// if this connection matches the server that's closing
304
if (server->get_con_from_hdl(*serverConnIt, ec) == hdlToFind) {
0 commit comments