equal
deleted
inserted
replaced
1367 {//workaroud to indicate to CHostResolver we've got connection info |
1367 {//workaroud to indicate to CHostResolver we've got connection info |
1368 if (!aBindTo.iNodeId.Ptr()) |
1368 if (!aBindTo.iNodeId.Ptr()) |
1369 { |
1369 { |
1370 iHostResolverNotify->Error(KErrDisconnected); |
1370 iHostResolverNotify->Error(KErrDisconnected); |
1371 } |
1371 } |
|
1372 else |
|
1373 if (iFlowParams.iFlowRequestType == TFlowParams::EExplicitConnection) |
|
1374 { |
|
1375 // Re-issue explicit host resolver requests here rather than later on in StartFlowL(). This is |
|
1376 // to accomodate the HotSpot server and Internet Connectivity Test (ICT). The ICT hooks into the |
|
1377 // NetCfgExtensionBase mechanism, blocks the interface startup at 8400 and performs a host resolver |
|
1378 // request. However, the TransportFlowShim will only receive StartFlowL() after the interface has |
|
1379 // fully come up, so chicken and egg. Implicit host resolver requests must still be re-issued in |
|
1380 // StartFlowL(). |
|
1381 iHostResolverNotify->StartSending(); |
|
1382 } |
1372 } |
1383 } |
1373 } |
1384 } |
1374 |
1385 |
1375 |
1386 |
1376 void CTransportFlowShim::Rejoin(const TCFFlow::TRejoin& aRejoinMessage) |
1387 void CTransportFlowShim::Rejoin(const TCFFlow::TRejoin& aRejoinMessage) |
1407 iStartRequest.ReplyTo(Id(), TCFDataClient::TStarted().CRef()); |
1418 iStartRequest.ReplyTo(Id(), TCFDataClient::TStarted().CRef()); |
1408 iStartRequest.Close(); |
1419 iStartRequest.Close(); |
1409 SetStarted(); |
1420 SetStarted(); |
1410 ClearStopped(); |
1421 ClearStopped(); |
1411 |
1422 |
1412 // A held-over resolution request will now work (if it ever will) |
1423 // A held-over implicit resolution request will now work (if it ever will). |
1413 if (iHostResolverNotify) |
1424 // Explicit host resolver requests have already been re-issued in BindToL(). |
|
1425 if (iHostResolverNotify && (iFlowParams.iFlowRequestType != TFlowParams::EExplicitConnection)) |
1414 { |
1426 { |
1415 iHostResolverNotify->StartSending(); |
1427 iHostResolverNotify->StartSending(); |
1416 } |
1428 } |
1417 |
1429 |
1418 return; |
1430 return; |