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

Diff for /pegasus/src/Pegasus/Common/HTTPAcceptor.cpp between version 1.82 and 1.83

version 1.82, 2006/06/26 22:23:29 version 1.83, 2006/06/28 00:15:41
Line 102 
Line 102 
     }     }
     struct sockaddr* address;     struct sockaddr* address;
  
     socklen_t address_size;      SocketLength address_size;
     Mutex _connection_mut;     Mutex _connection_mut;
  
     SocketHandle socket;     SocketHandle socket;
Line 433 
Line 433 
    if ( _portNumber == 0 )    if ( _portNumber == 0 )
    {    {
       sockaddr_in buf;       sockaddr_in buf;
       socklen_t bufSize = sizeof(buf);        SocketLength bufSize = sizeof(buf);
       if ( getsockname(_rep->socket, reinterpret_cast<sockaddr *>(&buf), &bufSize) == 0 )       if ( getsockname(_rep->socket, reinterpret_cast<sockaddr *>(&buf), &bufSize) == 0 )
       {       {
           _portNumber = ntohs(buf.sin_port);           _portNumber = ntohs(buf.sin_port);
Line 649 
Line 649 
    // Accept the connection (populate the address):    // Accept the connection (populate the address):
  
    struct sockaddr* accept_address;    struct sockaddr* accept_address;
    socklen_t address_size;     SocketLength address_size;
  
    if (_localConnection)    if (_localConnection)
    {    {


Legend:
Removed from v.1.82  
changed lines
  Added in v.1.83

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2