(file) Return to HTTPConnector.cpp CVS log (file) (dir) Up to [Pegasus] / pegasus / src / Pegasus / Common

Diff for /pegasus/src/Pegasus/Common/HTTPConnector.cpp between version 1.6 and 1.7

version 1.6, 2002/02/27 01:07:04 version 1.7, 2002/03/04 19:56:08
Line 306 
Line 306 
    _rep->connections.clear();    _rep->connections.clear();
 } }
  
   void HTTPConnector::disconnect(HTTPConnection* currentConnection)
   {
       //
       // find and delete the specified connection
       //
       for (Uint32 i = 0, n = _rep->connections.size(); i < n; i++)
       {
           if (currentConnection == _rep->connections[i])
           {
               HTTPConnection* connection = _rep->connections[i];
               Sint32 socket = connection->getSocket();
   
               //
               // Unsolicit SocketMessages:
               //
               _monitor->unsolicitSocketMessages(socket);
   
               //
               // Destroy the connection (causing it to close):
               //
               delete connection;
   
               return;
           }
       }
   }
 PEGASUS_NAMESPACE_END PEGASUS_NAMESPACE_END


Legend:
Removed from v.1.6  
changed lines
  Added in v.1.7

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2