equal
deleted
inserted
replaced
1246 // should happen). This preserves the old id of the request. |
1246 // should happen). This preserves the old id of the request. |
1247 // |
1247 // |
1248 // If a request is not currently queued, this does an implicit |
1248 // If a request is not currently queued, this does an implicit |
1249 // Queue. (a new id is generated). |
1249 // Queue. (a new id is generated). |
1250 // |
1250 // |
|
1251 // Exceptionally, the request assigns new ID when an incomplete query name |
|
1252 // is iterated to apply multiple domain suffices on |
|
1253 // the interface being used for sending requests |
|
1254 // |
1251 // @param aRequest the request to be resent. |
1255 // @param aRequest the request to be resent. |
|
1256 // @param aRetryWithSuffix flag set to identify retry requests |
|
1257 // on incomplete query names. Defaulted to FALSE |
1252 */ |
1258 */ |
1253 void CDnsSocket::ReSend(TDnsRequest &aRequest) |
1259 void CDnsSocket::ReSend(TDnsRequest &aRequest, TBool aRetryWithSuffix) |
1254 { |
1260 { |
1255 Queue(aRequest, aRequest.IsQueued() ? aRequest.Id() : -1); |
1261 Queue(aRequest, (!aRetryWithSuffix && aRequest.IsQueued()) ? aRequest.Id() : -1); |
1256 } |
1262 } |
1257 |
1263 |
1258 /** |
1264 /** |
1259 // Add and activate a new secondary writer/reader unit. |
1265 // Add and activate a new secondary writer/reader unit. |
1260 // |
1266 // |