Commit Graph

2492 Commits

Author SHA1 Message Date
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
Arvid Norberg b27b2b6e71 fixed typo 2008-06-28 17:58:15 +00:00
roman_rybalko 914dcac3d2 trunk:
moved to asio-1-0-0 from asio-head (get_asio & makefile fix)
tests moved to "check" target
2008-06-28 10:38:12 +00:00
roman_rybalko f5e567f3c5 Ticket #357 fix 2008-06-28 10:11:20 +00:00
Arvid Norberg d132dd45e3 removed exceptions from pe_crypto and improved error handling 2008-06-28 10:10:05 +00:00
Arvid Norberg 13766dc855 Jamfile updates to add the option to link statically or dynamically against the boost libraries 2008-06-28 08:59:25 +00:00
Arvid Norberg ae1af66724 fixed typo. Fixes #355 2008-06-27 09:44:14 +00:00
Arvid Norberg ce99813b48 fix binary file mode in torrent_info. Fixes #354 2008-06-27 09:41:08 +00:00
cg25 ff3e80c42f Removed svn:executable property from {c,h}pp files in branches/RC_0_13 and
trunk.
2008-06-25 14:15:21 +00:00
Arvid Norberg 456dec7685 updated changelog 2008-06-25 12:10:32 +00:00
Arvid Norberg 148640f1ac fix natpmp stall at shutdown 2008-06-24 13:52:14 +00:00
Arvid Norberg ca0f17ee95 won't save resume data for torrents without a complete state (checking or queued for checking torrents) 2008-06-24 12:48:28 +00:00
Arvid Norberg 84221e05f8 checking torrents fix when aborting session 2008-06-24 12:17:42 +00:00
Arvid Norberg 9780d378ed made examples use the new more efficient torrent_info constructor 2008-06-24 11:54:13 +00:00
Arvid Norberg c50a538d99 default enable-shipped-asio to false in configure script 2008-06-23 22:42:18 +00:00
Arvid Norberg 4d380c57d7 made bdecode not throw 2008-06-23 22:00:27 +00:00
Arvid Norberg 92f13aea68 start torrents sooner after they complete checking 2008-06-23 18:56:55 +00:00