2008-04-26 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>

Log error in AccRequestGroup when reading BitTorrent/Metalink 
file is
	failed. Also fixed memory link when exception is thrown there.
	* src/main.cc (AccRequestGroup)
pull/1/head
Tatsuhiro Tsujikawa 2008-04-26 01:09:56 +00:00
parent cbc34b4e3a
commit 0f92203ffe
2 changed files with 10 additions and 0 deletions

View File

@ -1,3 +1,9 @@
2008-04-26 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
Log error in AccRequestGroup when reading BitTorrent/Metalink file is
failed. Also fixed memory link when exception is thrown there.
* src/main.cc (AccRequestGroup)
2008-04-26 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
Added build-in "Accept-Features" support. For now only "metalink" is

View File

@ -224,6 +224,8 @@ public:
} catch(RecoverableException* e) {
// error occurred while parsing torrent file.
// We simply ignore it.
LogFactory::getInstance()->error(EX_EXCEPTION_CAUGHT, e);
delete e;
}
}
#endif // ENABLE_BITTORRENT
@ -236,6 +238,8 @@ public:
} catch(RecoverableException* e) {
// error occurred while parsing metalink file.
// We simply ignore it.
LogFactory::getInstance()->error(EX_EXCEPTION_CAUGHT, e);
delete e;
}
}
#endif // ENABLE_METALINK