/[resiprocate]/main/sip/resiprocate/TlsTransport.cxx
ViewVC logotype

Diff of /main/sip/resiprocate/TlsTransport.cxx

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 990 by fluffy, Tue Dec 31 06:04:03 2002 UTC revision 991 by fluffy, Tue Dec 31 06:10:38 2002 UTC
# Line 146  Line 146 
146        assert( con );        assert( con );
147        con->mTlsConnection = tls;        con->mTlsConnection = tls;
148    
149        ErrLog( << "Added server connection " << int(con) );        DebugLog( << "Added server connection " << int(con) );
150     }     }
151  }  }
152    
# Line 161  Line 161 
161        bytesToRead = TlsTransport::MaxReadSize;        bytesToRead = TlsTransport::MaxReadSize;
162     }     }
163        
164     ErrLog( << "Read from connection " << int(c) );     DebugLog( << "Read from connection " << int(c) );
165    
166     assert( c->mTlsConnection );     assert( c->mTlsConnection );
167     int bytesRead = c->mTlsConnection->read( writePair.first, bytesToRead);     int bytesRead = c->mTlsConnection->read( writePair.first, bytesToRead);
# Line 266  Line 266 
266    
267                 makeSocketNonBlocking(sock);                 makeSocketNonBlocking(sock);
268    
269                 ErrLog( << "Added TLS client connection " << int(conn) );                 DebugLog( << "Added TLS client connection " << int(conn) );
270              }              }
271           }           }
272        }        }
# Line 352  Line 352 
352        bytesToWrite = TlsTransport::MaxWriteSize;        bytesToWrite = TlsTransport::MaxWriteSize;
353     }     }
354    
355     ErrLog( << "Write to connection " << int(c) );     DebugLog( << "Write to connection " << int(c) );
356    
357     assert( c->mTlsConnection );     assert( c->mTlsConnection );
358     int bytesWritten = c->mTlsConnection->write( data->data.data() + c->mSendPos, bytesToWrite);     int bytesWritten = c->mTlsConnection->write( data->data.data() + c->mSendPos, bytesToWrite);

Legend:
Removed from v.990  
changed lines
  Added in v.991

webmaster AT resiprocate DOT org
ViewVC Help
Powered by ViewVC 1.1.27