2009-11-28 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>

Call DownloadContext::setOwnerRequestGroup() in
	RequestGroup::setDownloadContext().
	* src/BtDependency.cc
	* src/RequestGroup.cc
	* src/RequestGroup.h
	* src/download_helper.cc
	* test/DefaultBtMessageDispatcherTest.cc
	* test/DefaultExtensionMessageFactoryTest.cc
	* test/HandshakeExtensionMessageTest.cc
This commit is contained in:
Tatsuhiro Tsujikawa 2009-11-28 10:12:04 +00:00
parent 339795311b
commit 88bfe8b084
8 changed files with 26 additions and 10 deletions

View file

@ -67,7 +67,6 @@ public:
SharedHandle<Option> option(new Option());
_requestGroup.reset(new RequestGroup(option));
_requestGroup->setDownloadContext(_dctx);
_dctx->setOwnerRequestGroup(_requestGroup.get());
_factory.reset(new DefaultExtensionMessageFactory());
_factory->setPeerStorage(_peerStorage);