Commit Graph

3752 Commits

Author SHA1 Message Date
Arvid Norberg
cda738abc6 minor logging fix 2011-09-23 05:12:29 +00:00
Arvid Norberg
bf4ba45bf3 remove invalid assert in session_impl::listen_on 2011-09-22 21:30:46 +00:00
Arvid Norberg
8c23b0e3ce allow NULL to be passed to create_torrent::set_comment and create_torrent::set_creator 2011-09-22 21:24:50 +00:00
Arvid Norberg
976a50384a some more struct layout optimization 2011-09-22 10:37:47 +00:00
Arvid Norberg
5a7fe934bf fix torrent_info swap with openssl 2011-09-21 09:40:14 +00:00
Arvid Norberg
7a50255865 improved struct layout debug logging and optimized some structs 2011-09-21 09:27:07 +00:00
Arvid Norberg
61ceacca9b fix non-openssl logging build 2011-09-21 03:51:07 +00:00
Arvid Norberg
06cad3a245 fix UPnP issue for routers with multiple PPPoE connections 2011-09-18 20:28:06 +00:00
Arvid Norberg
d27430a8c3 clear the queued packets on socks5 error, as a precaution 2011-09-17 23:03:46 +00:00
Arvid Norberg
2a6b019431 don't fail socks5 on 'socket already open' 2011-09-17 23:01:39 +00:00
Arvid Norberg
4e1af65fe0 fix issue where event=stopped announces wouldn't be sent when closing session 2011-09-17 21:15:42 +00:00
Arvid Norberg
52a0760e5b fix release asserts 2011-09-17 05:16:05 +00:00
Arvid Norberg
f5b5160169 add incoming_connection_alert for logging all successful incoming connections 2011-09-17 01:44:05 +00:00
Arvid Norberg
986cee3417 fix tracker stopping issue on session shutdown 2011-09-16 08:34:17 +00:00
Arvid Norberg
c83865b8ac move set_alert_dispatch out of deprecated function ifdef block 2011-09-16 04:03:54 +00:00
Arvid Norberg
8e6c159c83 fix possible hang in file::readv() on windows 2011-09-15 09:43:29 +00:00
Arvid Norberg
6271ee58f6 fix overflow issue in default disk write queue size limit 2011-09-14 06:22:45 +00:00
Arvid Norberg
fb89e58901 fix build issue 2011-09-13 07:02:14 +00:00
Arvid Norberg
c952f30820 slight improvement 2011-09-13 02:38:50 +00:00
Arvid Norberg
ef496eb00c tracker retry fix 2011-09-13 02:23:18 +00:00
Arvid Norberg
460799d600 fix CPU busy loop issue in tracker announce logic 2011-09-12 05:21:16 +00:00
Arvid Norberg
469414d486 initial BitTorrent over SSL support 2011-09-12 03:51:49 +00:00
Arvid Norberg
90372b6caf fixed bug in auto manager which would never enable local peer discovery for torrents 2011-09-11 03:39:24 +00:00
Arvid Norberg
675721d971 basic support for bittorrent connections over SSL 2011-09-10 05:52:07 +00:00
Arvid Norberg
38a4b58c3a comment on incorrect assert 2011-09-10 05:37:18 +00:00
Arvid Norberg
09c235c936 solaris file allocation support 2011-09-08 23:08:37 +00:00
Arvid Norberg
012bad4b18 added missing setter function on create_torrent 2011-09-05 07:46:10 +00:00
Arvid Norberg
92bcb9ebfd feature to encrypt peer connections with a secret AES-256 key stored in .torrent file 2011-09-05 05:50:41 +00:00
Arvid Norberg
43c9e640ab honor IOV_MAX when using writev and readv 2011-09-05 05:47:50 +00:00
Arvid Norberg
bc1e47a486 solaris fixes 2011-09-04 23:29:47 +00:00
Arvid Norberg
8f1a811306 fix bug in verbose logging with encryption 2011-08-31 20:38:48 +00:00
Arvid Norberg
97ca82984f ssl comment 2011-08-29 02:05:37 +00:00
Arvid Norberg
ec74d500a4 clean up encryption code some 2011-08-29 02:00:17 +00:00
Arvid Norberg
0a250c8f36 minor fixes 2011-08-29 00:59:42 +00:00
Arvid Norberg
a286a6b4aa initial attempt at verifying the certificate of ssl trackers, by including the certificate in the .torrent file 2011-08-28 21:06:15 +00:00
Arvid Norberg
e7185b519b fix some release asserts 2011-08-27 09:47:36 +00:00
Arvid Norberg
7a48e90246 some utp asserts 2011-08-24 05:13:25 +00:00
Arvid Norberg
51c10cc76f on disk errors, only set upload-only for some errors. For all others, pause the torrent. Also fixed some release asserts 2011-08-22 01:37:56 +00:00
Arvid Norberg
51ed06304e deprecated compact storage allocation 2011-08-22 00:51:14 +00:00
Arvid Norberg
a2e24faa01 fix logging build with no encryption 2011-08-21 02:04:14 +00:00
Arvid Norberg
6dd9a7d83a don't post 'operation aborted' UDP errors when changing listen port 2011-08-21 01:55:38 +00:00
Arvid Norberg
fb06fd928b fixed issue where the next tier in a set of trackers would not be tried for the configuration of announce_to_all_trackers = true and announce_to_all_tiers = false 2011-08-17 23:01:35 +00:00
Arvid Norberg
293e41afff msvc build fix 2011-08-16 09:22:41 +00:00
Arvid Norberg
1c5399b736 piece picker optimization 2011-08-16 06:30:53 +00:00
Arvid Norberg
25ad24ec68 piece picker optimization. O(log n), lookup of downloading pieces instead of O(n) 2011-08-15 04:16:43 +00:00
Arvid Norberg
b9be2fe94b fix production assert 2011-08-14 23:55:41 +00:00
Arvid Norberg
88441e4fdc another attempt at optimizing piece picker 2011-08-14 23:16:12 +00:00
Arvid Norberg
e89eb6e606 attempt to optimize piece picker 2011-08-14 21:18:06 +00:00
Arvid Norberg
1b470e0961 move the code of chained buffer out to its own cpp file 2011-08-13 23:01:38 +00:00
Arvid Norberg
1d40d7aad9 fixing up some asserts and verbose logging 2011-08-13 18:46:52 +00:00