Commit Graph

2508 Commits

Author SHA1 Message Date
Arvid Norberg
680dab5a67 make 'snubbed' more sticky by only giving one request_timeout back when a new block is being received 2008-07-10 19:31:22 +00:00
Arvid Norberg
1bdb6afebd fixes to previous connection timeout check-in 2008-07-10 10:58:30 +00:00
Arvid Norberg
d2c53b50d5 timeout incoming connections 2008-07-10 10:35:11 +00:00
Arvid Norberg
d51bdc0ec0 rare request optimization 2008-07-09 18:01:00 +00:00
Arvid Norberg
22da6b5901 fixed bug where FAST pieces were cancelled when choking 2008-07-09 17:45:37 +00:00
Arvid Norberg
74fd7eea71 fixed alert posting typo 2008-07-09 17:40:03 +00:00
Arvid Norberg
fc3bb01587 ignore zero size piece messages 2008-07-09 17:37:38 +00:00
Arvid Norberg
06f3ad65e8 fix to file_progress improvement 2008-07-09 15:23:42 +00:00
Andrew Resch
066fb98864 Update alerts in python bindings 2008-07-09 12:34:26 +00:00
Arvid Norberg
2d099b090f peer snubbing fix 2008-07-09 11:11:06 +00:00
Arvid Norberg
d06f125513 improved accuracy of the file progress report to include completed blocks from incomplete pieces (but not partial blocks) 2008-07-09 10:45:07 +00:00
Arvid Norberg
9d97fc4bb9 print out percentage complete of files in client_test 2008-07-09 10:02:24 +00:00
Arvid Norberg
63d4e0d4a3 invariant check fix 2008-07-08 21:33:36 +00:00
Arvid Norberg
55a944c014 added a unwanted_block_alert 2008-07-08 18:41:04 +00:00
Arvid Norberg
5c749bcb3c added base class for peer_alerts and turned more alerts into peer_alerts with more information about the peer that generated it 2008-07-08 09:30:10 +00:00
Arvid Norberg
8d4bea9f95 fixed invariant check that could be triggered since peer snubbing was introduced 2008-07-08 08:13:45 +00:00
Arvid Norberg
a20f1a8fa0 keeps track of the number of requests waiting in the send buffer and adjusts bandwidht priority accordingly in the bandwidth limiter 2008-07-08 00:03:08 +00:00
Arvid Norberg
a7ed5578b6 made the tests build again 2008-07-08 00:00:49 +00:00
Arvid Norberg
f7042ca84a improved piece timeout and peer snubbing logic 2008-07-07 12:04:06 +00:00
Arvid Norberg
73b54f1d0c added timestamp to events 2008-07-07 12:03:29 +00:00
Arvid Norberg
e576babbb8 changed the alerts to have categories and to be filtered with a bitmask instead of having a severity and be filtered by a severity level. 2008-07-06 12:22:56 +00:00
Arvid Norberg
dab1b22982 made get_asio.sh script check out asio directly into the libtorrent directory. Certain tools cannot handle the symbolic links properly, such as vmware folder sharing 2008-07-05 17:41:54 +00:00
Andrew Resch
b93d3cf7c1 Add state_changed_alert to python bindings 2008-07-03 23:47:48 +00:00
Arvid Norberg
ecb538b4b2 added alert for torrent state changes. Fixes #360 2008-07-03 10:05:51 +00:00
Arvid Norberg
d2b37572fa disable endpoint sorting in http_connection for msvc, since it ICEs the compiler. Fixes #361 2008-07-03 10:05:19 +00:00
cg25
f09b9c6252 Added --enable-tests option to configure script. 2008-07-02 23:23:55 +00:00
Arvid Norberg
66a7f98d84 fixed missing torrent error state 2008-07-02 21:27:16 +00:00
Arvid Norberg
722e9e95e3 frees resume data when done with it 2008-07-02 21:23:02 +00:00
Arvid Norberg
ac6dfa9ea3 factored out constants to enums in lazy_bdecode 2008-07-02 21:19:50 +00:00
cg25
63a1521cfa Fixed build problem with options --with-asio=system. 2008-07-02 14:46:04 +00:00
Arvid Norberg
0ec6753028 fix build 2008-07-01 22:44:17 +00:00
Andrew Resch
d6743037b3 Add session pause and resume to python bindings 2008-07-01 21:11:30 +00:00
Andrew Resch
94cbac20cd Do not count downloads as seeds in the queue system. 2008-07-01 21:07:18 +00:00
Arvid Norberg
b354e7e0d9 fixed bug in extension loop 2008-07-01 20:22:25 +00:00
Arvid Norberg
af0ebb519c added copyright notices in files missing them 2008-07-01 18:59:13 +00:00
Arvid Norberg
d2a12a5e44 fixed python binding bugs and updated to work with latest api updates 2008-07-01 16:02:17 +00:00
Arvid Norberg
40d7e2ce75 moved load_file into torrent_info.cpp to make it available on windows too. Fixed the exception free path in torrent_info 2008-07-01 11:00:00 +00:00
Arvid Norberg
a71170e601 switched over pex parsing to use lazy_bdecode 2008-07-01 09:02:03 +00:00
Arvid Norberg
10f5418ce7 switched extension handshake parsing over to use lazy_bdecode for improved performance 2008-07-01 08:04:12 +00:00
Arvid Norberg
9c84908bb9 switched resume data parsing over to use lazy_bdecode. Improves memory allocation performance, especially noticable when heap allocations are expensive. Makes it more practical to run with malloc debug. Changed resume data interface to take a vector as opposed to a parsed structure 2008-06-30 23:14:31 +00:00
cg25
6a15c5567b Added svn:executable property to python scripts in trunk/ and branches/RC_0_13/. 2008-06-30 14:23:33 +00:00
Arvid Norberg
e1bedea35d fix warning in client_test 2008-06-30 08:45:44 +00:00
Arvid Norberg
0e1d2ede70 fix invariant-check bug in peer_connection 2008-06-30 07:58:50 +00:00
Arvid Norberg
d396ab7b17 added pause and resume to the session. Fixes #349 2008-06-29 19:08:30 +00:00
Arvid Norberg
4271bb91d0 updated pe_crypto test to build 2008-06-29 18:55:23 +00:00
Arvid Norberg
8f1abd9dbe fix bug in previous check-in 2008-06-29 18:03:38 +00:00
Arvid Norberg
2ac5c13e6f introduced a stricter timeout on piece requests and snubbing. exposed some more data about this through the peer_info. Fixes #40 2008-06-29 09:50:42 +00:00
Arvid Norberg
ae9f1e0465 fixed typo 2008-06-29 06:01:20 +00:00
Arvid Norberg
d1b2cd558e moved peer time out logic to second tick 2008-06-29 05:35:48 +00:00
Arvid Norberg
2ee95f9143 exception changes to client_test 2008-06-29 05:34:22 +00:00