MCPcopy Create free account
hub / github.com/amule-project/amule / GetObfuscationStatus

Method GetObfuscationStatus

src/DownloadClient.cpp:1407–1424  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1405}
1406
1407uint8 CUpDownClient::GetObfuscationStatus() const
1408{
1409 uint8 ret = OBST_UNDEFINED;
1410 if (thePrefs::IsClientCryptLayerSupported()) {
1411 if (SupportsCryptLayer()) {
1412 if ((RequestsCryptLayer() || thePrefs::IsClientCryptLayerRequested()) && HasObfuscatedConnectionBeenEstablished()) {
1413 ret = OBST_ENABLED;
1414 } else {
1415 ret = OBST_SUPPORTED;
1416 }
1417 } else {
1418 ret = OBST_NOT_SUPPORTED;
1419 }
1420 } else {
1421 ret = OBST_DISABLED;
1422 }
1423 return ret;
1424}
1425
1426// IgnoreNoNeeded = will switch to files of which this source has no needed parts (if no better files found)
1427// ignoreSuspensions = ignore timelimit for A4Af jumping

Callers 3

DrawClientItemMethod · 0.45
CEC_UpDownClient_TagMethod · 0.45
OnInitDialogMethod · 0.45

Calls

no outgoing calls

Tested by 1

CEC_UpDownClient_TagMethod · 0.36