ICE 3.3.1 BUG: TcpTransceiver.cpp:158:Ice::ConnectionLostExceptio n:

in Help Center
Ice version:3.3.1
VC2005
Win7
above code is on server side. when client connect the server,this function will be called.But sometimes ,the Ice runtime will throw below exception:
May be this is a bug?
REF:http://www.zeroc.com/forums/bug-reports/3894-compression-issue-php-client-tcptransceiver-cpp-158-connectionlostexception.html
VC2005
Win7
const string& CmnServiceI::RefreshClientsInfo() { IceUtil::RWRecMutex::WLock lock(_rwMutex); connectionInfoBuff.clear(); connectionInfoBuff.append(Poco::format("Server ID:%s Total Clients:%d\r\n",serverId,(int)connectedClients.size())); connectionInfoBuff.append("Refresh at "); Poco::LocalDateTime now; connectionInfoBuff.append(Poco::DateTimeFormatter::format(now,Poco::DateTimeFormat::SORTABLE_FORMAT)); connectionInfoBuff.append("\r\n==================================================\r\n"); int index=0; for(StringRemoteControlablePrxMap::const_iterator it=connectedClients.begin(); it!=connectedClients.end();++it) { connectionInfoBuff.append("Client ID:"); connectionInfoBuff.append(it->first); connectionInfoBuff.append(":\r\n"); //connectionInfoBuff.append(it->second->ice_getConnection()->toString()); connectionInfoBuff.append("\r\n--------------------------------------------------\r\n"); } //Poco::Logger::get(TX_LOGGER_NAME).notice(connectionInfoBuff); return connectionInfoBuff; }
above code is on server side. when client connect the server,this function will be called.But sometimes ,the Ice runtime will throw below exception:
warning: connection exception: TcpTransceiver.cpp:158: Ice::ConnectionLostException: connection lost: recv() returned zero
May be this is a bug?
REF:http://www.zeroc.com/forums/bug-reports/3894-compression-issue-php-client-tcptransceiver-cpp-158-connectionlostexception.html
0
Comments
I sent you an email last week, at the address you used to register with these forums.
If you didn't receive this email, please update your email address in your profile, and contact us at [email protected].
Thanks,
Bernard
Thanks for your suport!