summaryrefslogtreecommitdiff
path: root/src/DefaultBtInteractive.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/DefaultBtInteractive.cc')
-rw-r--r--src/DefaultBtInteractive.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/DefaultBtInteractive.cc b/src/DefaultBtInteractive.cc
index da68aa95..519e53bd 100644
--- a/src/DefaultBtInteractive.cc
+++ b/src/DefaultBtInteractive.cc
@@ -171,6 +171,9 @@ DefaultBtInteractive::receiveAndSendHandshake()
void DefaultBtInteractive::doPostHandshakeProcessing()
{
+ if (peer_->isuTP() == true) {
+ peer_->uTPSupport(true);
+ }
// Set time 0 to haveTimer to cache http/ftp download piece completion
keepAliveTimer_ = global::wallclock();
floodingTimer_ = global::wallclock();