r246 - /apt-transport-debtorrent/trunk/debtorrent.cc
camrdale-guest at users.alioth.debian.org
camrdale-guest at users.alioth.debian.org
Wed Aug 15 00:40:54 UTC 2007
Author: camrdale-guest
Date: Wed Aug 15 00:40:54 2007
New Revision: 246
URL: http://svn.debian.org/wsvn/debtorrent/?sc=1&rev=246
Log:
Remove the limit on the download bandwidth.
Modified:
apt-transport-debtorrent/trunk/debtorrent.cc
Modified: apt-transport-debtorrent/trunk/debtorrent.cc
URL: http://svn.debian.org/wsvn/debtorrent/apt-transport-debtorrent/trunk/debtorrent.cc?rev=246&op=diff
==============================================================================
--- apt-transport-debtorrent/trunk/debtorrent.cc (original)
+++ apt-transport-debtorrent/trunk/debtorrent.cc Wed Aug 15 00:40:54 2007
@@ -70,7 +70,7 @@
Buf = new unsigned char[Size];
Reset();
- CircleBuf::BwReadLimit = _config->FindI("Acquire::http::Dl-Limit",0)*1024;
+ CircleBuf::BwReadLimit = 0;
}
/*}}}*/
// CircleBuf::Reset - Reset to the default state /*{{{*/
@@ -313,7 +313,7 @@
Host = ServerName.Host;
// Connect to the remote server
- if (Connect(Host,Port,"http",9988,ServerFd,TimeOut,Owner) == false)
+ if (Connect(Host,Port,"debtorrent",9988,ServerFd,TimeOut,Owner) == false)
return false;
return true;
More information about the Debtorrent-commits
mailing list