summaryrefslogtreecommitdiff
path: root/src/PeerInteractionCommand.cc
diff options
context:
space:
mode:
authorTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2013-01-11 14:20:34 +0900
committerTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2013-01-11 16:50:04 +0900
commit8ba0d58ee1a9fc2249839339549293ddc183fe66 (patch)
tree3fe0018527530e93fb01cf0ea76641193b75be5d /src/PeerInteractionCommand.cc
parent74e570de379752508d7f363dd0d1a0c4ae8b7319 (diff)
Vectorized write for SocketBuffer to avoid small packet
Diffstat (limited to 'src/PeerInteractionCommand.cc')
-rw-r--r--src/PeerInteractionCommand.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/PeerInteractionCommand.cc b/src/PeerInteractionCommand.cc
index 2a84d38d..5fcc8faf 100644
--- a/src/PeerInteractionCommand.cc
+++ b/src/PeerInteractionCommand.cc
@@ -200,6 +200,7 @@ PeerInteractionCommand::PeerInteractionCommand
dispatcherPtr->setBtMessageFactory(factoryPtr);
dispatcherPtr->setRequestGroupMan
(getDownloadEngine()->getRequestGroupMan().get());
+ dispatcherPtr->setPeerConnection(peerConnection);
SharedHandle<BtMessageDispatcher> dispatcher(dispatcherPtr);
DefaultBtMessageReceiver* receiverPtr(new DefaultBtMessageReceiver());