diff -r 576874e13a2c -r 486e9e9c45a7 commsfwsupport/commselements/serverden/src/sd_workersession.cpp --- a/commsfwsupport/commselements/serverden/src/sd_workersession.cpp Wed Sep 15 13:33:11 2010 +0300 +++ b/commsfwsupport/commselements/serverden/src/sd_workersession.cpp Wed Oct 13 15:54:14 2010 +0300 @@ -694,14 +694,6 @@ EXPORT_C void CWorkerSubSession::ConstructL() { iSessionProxy = Player().CurrentSessionProxyL(); - // Try reserving enough space in the transport sender queue so that we don't overflow the queue - // when sending messages in bulk, which can happen in cases like closing the session without - // closing individual sub-sessions. Protyping reveals that with a high number of number of - // sub-sessions, a transport queue length twice the number of active sub-session is a safe bet - CCommsTransport* transport = iPlayer->WorkerThread().Transport(); - TInt numSubsession = iSession->SubSessions().ActiveCount() + 1; - const TInt numUndeliveredMessae = numSubsession * 2; - transport->PreallocateQueueSpaceL(numUndeliveredMessae); } EXPORT_C CWorkerSubSession::~CWorkerSubSession()