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
|
31ab7f9773
|
boost 1.35 related fixes
|
2008-05-20 09:45:55 +00:00 |
Andrew Resch
|
aed8f355b0
|
Make libtorrent build with boost <1.35
|
2008-05-20 06:03:46 +00:00 |
Arvid Norberg
|
c7e6c04705
|
switched over to asio from boost-1.35
|
2008-05-03 16:05:42 +00:00 |
Arvid Norberg
|
b983b98f6a
|
fix for mingw
|
2008-04-27 23:21:04 +00:00 |
Arvid Norberg
|
755e50bb12
|
added active_time, seeding_time, all_time_upload and all_time_download to torrent_status. Also updated docs with some missing entries in torrent_status
|
2008-04-16 06:31:05 +00:00 |
Arvid Norberg
|
35fd9aec61
|
msvc build fixes and warning fixes
|
2008-04-05 21:18:27 +00:00 |
Arvid Norberg
|
a7f6e3bccb
|
added abuse protection to DHT. nodes that hammer will be ignored
|
2007-12-04 02:53:10 +00:00 |
Arvid Norberg
|
c18ae83146
|
added wait_for_alert() to session. If there is at least one alert in the queue, it returns the front one in the queue, if the queue is empty, it waits until a new alert is posted and returns that one, or returns 0 if the time expires first.
|
2007-11-25 08:18:57 +00:00 |
Arvid Norberg
|
966800cd5b
|
replaced the assert macro to TORRENT_ASSERT instead of hi-jacking assert.
|
2007-10-05 00:30:00 +00:00 |
Arvid Norberg
|
7720b48263
|
removed invalid inline
|
2007-10-01 02:21:58 +00:00 |
Arvid Norberg
|
9597b98f4d
|
moved log_time() into session.cpp instead of being inlined
|
2007-09-29 20:35:55 +00:00 |
Arvid Norberg
|
b48948e231
|
changed the double send buffers to a chained buffer using iovec send operations. buffers are recycled (saves memory and cpu) and memory copies are avoided (saves cpu). More statistics is added to track buffer usage
|
2007-09-29 16:14:03 +00:00 |
Arvid Norberg
|
57a76f9db6
|
fixed debug assert on linux
|
2007-09-10 06:12:41 +00:00 |
Arvid Norberg
|
f05b06d4e5
|
added required operator on time_duration
|
2007-06-14 23:15:30 +00:00 |
Arvid Norberg
|
7d7a764f26
|
fixed a preprocessor condition bug where boost.date_time was being used when it shouldn't
|
2007-06-14 22:57:29 +00:00 |
Arvid Norberg
|
573d9f55d6
|
fixed compilation error when not using boost.date_time. Fixed compilation error when not having DHT logging enabled
|
2007-05-12 18:24:14 +00:00 |
Arvid Norberg
|
99dc46bd29
|
overflow fix in timer on windows
|
2007-04-26 21:33:07 +00:00 |
Arvid Norberg
|
ecb20f97fd
|
fixed time_now_string() to not include a line feed at the end
|
2007-04-14 20:12:15 +00:00 |
Arvid Norberg
|
a0434eba10
|
fixed timer on linux
|
2007-04-12 07:02:17 +00:00 |
Arvid Norberg
|
0863bc1aa6
|
removed the dependency on the compiled boost.date_time library
|
2007-04-10 09:11:32 +00:00 |
Arvid Norberg
|
d88ffcc0e4
|
removed some more unecessary boost.date_time dependencies
|
2007-04-10 07:52:58 +00:00 |
Arvid Norberg
|
a1e20276a6
|
fixed typo in previous check-in
|
2007-04-09 20:38:51 +00:00 |
Arvid Norberg
|
ceb82bd38b
|
added support for posix timer clock_gettime()
|
2007-04-09 20:18:54 +00:00 |
Arvid Norberg
|
27da18bd0a
|
windows fixes
|
2007-04-05 01:08:21 +00:00 |
Arvid Norberg
|
306d015924
|
added a timer abstraction and replaced the use of boost.date_time. the timers used now are QueryPerformanceCounter on windows, mach_absolute_time on darwin and currently falls back on boost.date_time on other platforms. This has the advantage of being a monotonic clock, and also slightly more efficient
|
2007-04-04 22:27:36 +00:00 |