|
|
@ -36,14 +36,11 @@ |
|
|
|
namespace |
|
|
|
namespace |
|
|
|
{ |
|
|
|
{ |
|
|
|
void handleFastresumeRejectedAlert(const lt::fastresume_rejected_alert *alert) |
|
|
|
void handleFastresumeRejectedAlert(const lt::fastresume_rejected_alert *alert) |
|
|
|
{ |
|
|
|
|
|
|
|
if (alert->error.value() == lt::errors::mismatching_file_size) |
|
|
|
|
|
|
|
{ |
|
|
|
{ |
|
|
|
alert->handle.unset_flags(lt::torrent_flags::auto_managed); |
|
|
|
alert->handle.unset_flags(lt::torrent_flags::auto_managed); |
|
|
|
alert->handle.pause(); |
|
|
|
alert->handle.pause(); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
lt::feature_flags_t NativeSessionExtension::implemented_features() |
|
|
|
lt::feature_flags_t NativeSessionExtension::implemented_features() |
|
|
|
{ |
|
|
|
{ |
|
|
|