mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-03-20 15:59:42 +01:00
Add more verbose logging
This commit is contained in:
parent
cf7bd1a9ae
commit
89dd9a466d
@ -504,6 +504,7 @@ Servent::readyRead()
|
||||
{
|
||||
Q_ASSERT( this->thread() == QThread::currentThread() );
|
||||
QPointer< QTcpSocketExtra > sock = (QTcpSocketExtra*)sender();
|
||||
tLog( LOGVERBOSE ) << Q_FUNC_INFO << "Starting to read from new incoming connection from: " << sock->peerAddress().toString();
|
||||
|
||||
if ( sock.isNull() || sock.data()->_disowned )
|
||||
{
|
||||
@ -774,7 +775,10 @@ Servent::connectToPeer( const peerinfo_ptr& peerInfo )
|
||||
|
||||
peerInfoDebug( peerInfo ) << "connectToPeer: search for already established connections to the same nodeid:" << m_controlconnections.count() << "connections";
|
||||
if ( peerInfo->controlConnection() )
|
||||
{
|
||||
peerInfoDebug( peerInfo ) << Q_FUNC_INFO << "deleting the existing Controlconnection";
|
||||
delete peerInfo->controlConnection();
|
||||
}
|
||||
|
||||
bool isDupe = false;
|
||||
ControlConnection* conn = 0;
|
||||
|
Loading…
x
Reference in New Issue
Block a user