Commit Graph

4737 Commits

Author SHA1 Message Date
Arvid Norberg
c15880be91 support having torrents that the IP filter doesn't apply to 2011-02-27 17:26:57 +00:00
Arvid Norberg
8c2d496992 added new option 'always_send_user_agent' 2011-02-26 18:17:55 +00:00
Arvid Norberg
12caf7ff2e fix random.cpp build errors on non C99 compilers 2011-02-26 18:15:31 +00:00
Arvid Norberg
3b68fb2a03 add missing files 2011-02-26 17:59:34 +00:00
Arvid Norberg
19e268bbe5 fixed line endings 2011-02-26 07:56:20 +00:00
Arvid Norberg
ab3b82b8ee replaced std::rand() with custom random generator 2011-02-26 07:55:51 +00:00
Arvid Norberg
7288f77ec9 support saving metadata in resume file, enable it by default for magnet links 2011-02-26 07:48:05 +00:00
Arvid Norberg
56937edf56 cleaned up some exception handling and introduced macros like BOOST_TRY/BOOST_CATCH to make the optional exception handling nicer 2011-02-25 17:00:36 +00:00
Arvid Norberg
5f5ba94462 cleared some variables in constructors and got rid of an unnecessary constructor 2011-02-25 04:28:32 +00:00
Arvid Norberg
f7576714bf fixed some build warnings 2011-02-24 18:47:02 +00:00
Arvid Norberg
20d763c8c7 added option to not use custom assert macro 2011-02-24 18:15:15 +00:00
Arvid Norberg
47822c27fe fixed typo in storage 2011-02-24 18:01:32 +00:00
Arvid Norberg
ca106ca4e0 some warning fixes and cleanup 2011-02-24 04:25:35 +00:00
Arvid Norberg
8293543862 fix iterator bug in dht rss items 2011-02-24 03:22:24 +00:00
Arvid Norberg
5412c62b1f fix tracker URL decoding when adding magnet links 2011-02-23 16:47:18 +00:00
Arvid Norberg
48a009f1c5 fixed typo 2011-02-22 07:28:03 +00:00
Arvid Norberg
b69db24e30 use terminal colors on mingw 2011-02-22 03:32:07 +00:00
Arvid Norberg
118a75ebe7 generalized string conversion for libc 2011-02-22 03:09:13 +00:00
Arvid Norberg
97a40a45cd fully support unbuffered I/O 2011-02-22 02:53:26 +00:00
Arvid Norberg
f22cf00aa4 add comments to the pad file logic 2011-02-21 06:57:03 +00:00
Arvid Norberg
56bc861455 fixed typo 2011-02-21 05:28:43 +00:00
Arvid Norberg
141ada013f fixed a whole bunch of build warnings on gcc and msvc, along with some fixes discovered along the way 2011-02-21 05:24:41 +00:00
Arvid Norberg
9fe69e7596 fix another issue with adding magnet links with a valid torrent_info object 2011-02-21 03:07:37 +00:00
Arvid Norberg
28243bff31 fix typo 2011-02-20 23:23:55 +00:00
Arvid Norberg
d67e935faf fix torrent constructor to allow a half-constructed torrent_info object for magnet links 2011-02-20 23:21:29 +00:00
Arvid Norberg
3cf551ef80 close log file on exit in client_test 2011-02-20 22:49:55 +00:00
Arvid Norberg
261e2e2726 deadline-piece picking fix 2011-02-19 21:24:32 +00:00
Arvid Norberg
10a00fc62b fixed extended handshake error handling to be more robust and fix extension message precedence over plugins 2011-02-19 21:20:03 +00:00
Arvid Norberg
3a89bcf6ff don't assert on passing in a null pointer for listen interface, just listen on INADDR_ANY 2011-02-19 21:16:32 +00:00
Arvid Norberg
bd1ef5397c clean up broadcasting 2011-02-17 06:47:26 +00:00
Arvid Norberg
513914050c fixed broadcast_lsd option. in trunk, redefined it to only broadcast every 8th packet 2011-02-16 10:16:52 +00:00
Arvid Norberg
3c05e81529 support for receiving multi announce messages for local peer discovery 2011-02-16 07:41:44 +00:00
Arvid Norberg
cb6f38f056 added session::listen_no_system_port flag to prevent libtorrent from ever binding the listen socket to port 0 2011-02-16 06:35:53 +00:00
Arvid Norberg
a86ad2f7b9 fix integer overflow issue in cache size print out 2011-02-16 06:15:17 +00:00
Arvid Norberg
9aa09d384c added smooth_connect and turned it on by default 2011-02-16 03:11:55 +00:00
Arvid Norberg
7f981ece6c fixed incorrect assert 2011-02-15 10:11:36 +00:00
Arvid Norberg
c4c1773ceb fixed some warnings 2011-02-15 10:05:25 +00:00
Arvid Norberg
d35670e53d generalize use of getifaddrs 2011-02-15 07:42:46 +00:00
Arvid Norberg
7eba4cc310 fix verbose logging build 2011-02-15 07:39:25 +00:00
Arvid Norberg
b6b0970e16 use getifaddrs on linux to enumerate interfaces 2011-02-15 06:29:44 +00:00
Arvid Norberg
7d300c807a no handshake counts as a connect failure 2011-02-14 06:37:22 +00:00
Arvid Norberg
247ad31dc0 more disconnect granularity in stats logging 2011-02-14 05:38:59 +00:00
Arvid Norberg
b471e40064 log more details on the cause of disconnects 2011-02-14 04:48:02 +00:00
Arvid Norberg
a73f52a3d5 include peers bw-limiter or disk-limiter state in peer up and down graphs 2011-02-14 04:24:49 +00:00
Arvid Norberg
7508038337 cross compiling fixes 2011-02-14 04:12:26 +00:00
Arvid Norberg
5864a883e6 fixed build warnings 2011-02-14 01:59:01 +00:00
Arvid Norberg
8bb71da401 disk write queue watermark fix 2011-02-13 22:27:02 +00:00
Arvid Norberg
b664f7faa3 http connection error handling fix 2011-02-13 09:13:05 +00:00
Arvid Norberg
d73f4f0c92 improve print-out of fast extension test 2011-02-13 03:16:53 +00:00
Arvid Norberg
8e8b0495e1 don't leak non-fatal errors out of storage::initialize 2011-02-13 01:16:06 +00:00