diff -r 5f1cd966e0d9 -r c0c2f28ace9c applayerpluginsandutils/httptransportplugins/httptransporthandler/csocketconnector.cpp --- a/applayerpluginsandutils/httptransportplugins/httptransporthandler/csocketconnector.cpp Thu Aug 19 10:27:19 2010 +0300 +++ b/applayerpluginsandutils/httptransportplugins/httptransporthandler/csocketconnector.cpp Tue Aug 31 15:44:10 2010 +0300 @@ -108,12 +108,14 @@ // Move to the PendingDNSLookup state and self complete. if(aRemoteAddress == NULL) { + RDebug::Printf("RemoteAddress is NULL so doing a DNS lookup"); iState = EPendingDNSLookup; // Address is unknown / DNS lookup is needed error = DoPendingDNSLookup(); } else { + RDebug::Printf("Remote address is known so doing a direct connect"); iState = EConnecting; // Address is know. No lookup is needed. Just go and connect. iHostDnsEntry().iAddr = *aRemoteAddress; @@ -387,6 +389,7 @@ iCommsInfoProvider.HostResolverFromCache(iHostResolver); // Get the RHostResolver from the cache if(iHostResolver.SubSessionHandle() <= 0) { + RDebug::Printf("No host resolver. Open a new one..."); if ( iCommsInfoProvider.HasConnection() ) { // Open the host resolver session with the preffered connection