equal
deleted
inserted
replaced
739 |
739 |
740 */ |
740 */ |
741 { |
741 { |
742 LOG(ESockLog::Printf(KESockConnectionTag, _L8("CHostResolver %08x:\tStartSending() iBusy %d, iAwaitingConnection %d"), this,iBusy,iAwaitingConnection) ); |
742 LOG(ESockLog::Printf(KESockConnectionTag, _L8("CHostResolver %08x:\tStartSending() iBusy %d, iAwaitingConnection %d"), this,iBusy,iAwaitingConnection) ); |
743 LockToConnectionInfo(); |
743 LockToConnectionInfo(); |
744 UpdateFlowRequestType(); |
|
745 if (iBusy && iAwaitingConnection) |
744 if (iBusy && iAwaitingConnection) |
746 { |
745 { |
747 switch (iCurrentOp) |
746 switch (iCurrentOp) |
748 { |
747 { |
749 case EHRGetByName: |
748 case EHRGetByName: |
892 LOG( ESockLog::ConnectionInfoPrintf(aConnectionInfo, _L("CHostResolver %08x:\tLockToConnectionInfo()"), this) ); |
891 LOG( ESockLog::ConnectionInfoPrintf(aConnectionInfo, _L("CHostResolver %08x:\tLockToConnectionInfo()"), this) ); |
893 iRSP->SetOption(KSOLProvider, static_cast<TUint>(KSoConnectionInfo), aConnectionInfo); |
892 iRSP->SetOption(KSOLProvider, static_cast<TUint>(KSoConnectionInfo), aConnectionInfo); |
894 } |
893 } |
895 } |
894 } |
896 |
895 |
897 void CHostResolver::UpdateFlowRequestType() |
|
898 { |
|
899 TPckgBuf<TInt> flowRequestTypePckg = iFlowRequestType; |
|
900 |
|
901 iRSP->SetOption(KSOLProvider, KSoFlowRequestType, flowRequestTypePckg); |
|
902 } |
|
903 |
896 |
904 void CHostResolver::ProcessMessageL() |
897 void CHostResolver::ProcessMessageL() |
905 { |
898 { |
906 switch(Message().Function()) |
899 switch(Message().Function()) |
907 { |
900 { |