mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-07-31 11:20:22 +02:00
Add more verbose logging
This commit is contained in:
@@ -504,6 +504,7 @@ Servent::readyRead()
|
|||||||
{
|
{
|
||||||
Q_ASSERT( this->thread() == QThread::currentThread() );
|
Q_ASSERT( this->thread() == QThread::currentThread() );
|
||||||
QPointer< QTcpSocketExtra > sock = (QTcpSocketExtra*)sender();
|
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 )
|
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";
|
peerInfoDebug( peerInfo ) << "connectToPeer: search for already established connections to the same nodeid:" << m_controlconnections.count() << "connections";
|
||||||
if ( peerInfo->controlConnection() )
|
if ( peerInfo->controlConnection() )
|
||||||
|
{
|
||||||
|
peerInfoDebug( peerInfo ) << Q_FUNC_INFO << "deleting the existing Controlconnection";
|
||||||
delete peerInfo->controlConnection();
|
delete peerInfo->controlConnection();
|
||||||
|
}
|
||||||
|
|
||||||
bool isDupe = false;
|
bool isDupe = false;
|
||||||
ControlConnection* conn = 0;
|
ControlConnection* conn = 0;
|
||||||
|
Reference in New Issue
Block a user