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
|
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
|
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
|
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
|
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
|
8e8b0495e1
|
don't leak non-fatal errors out of storage::initialize
|
2011-02-13 01:16:06 +00:00 |
Arvid Norberg
|
21d6030fe3
|
logging build fix
|
2011-02-12 23:25:09 +00:00 |
Arvid Norberg
|
d35b0a8a7b
|
one more storage initialization fix
|
2011-02-12 22:48:21 +00:00 |
Arvid Norberg
|
6780114937
|
log number of upload-only torrents in session stats
|
2011-02-12 22:15:03 +00:00 |
Arvid Norberg
|
9915d72e4c
|
fixed typo in storage allocation. would exit early on non fatal error
|
2011-02-12 22:11:00 +00:00 |
Arvid Norberg
|
7f91b8174e
|
create missing directories on the fly
|
2011-02-12 22:00:08 +00:00 |
Arvid Norberg
|
4267f0ec5a
|
rotate stats log every hour
|
2011-02-11 17:39:22 +00:00 |
Arvid Norberg
|
aa116cd1d1
|
fix race condition when initializing the disk thread
|
2011-02-11 07:20:11 +00:00 |
Arvid Norberg
|
94027cbea3
|
fix failed invariant check by pausing torrents that are just completing checking and are auto-managed earlier
|
2011-02-11 07:10:47 +00:00 |
Arvid Norberg
|
9efd739cf5
|
fixed typo
|
2011-02-10 06:06:56 +00:00 |
Arvid Norberg
|
e959acae42
|
add iconv build option
|
2011-02-09 09:54:45 +00:00 |
Arvid Norberg
|
1088c5aa6f
|
fixed typo in storage
|
2011-02-09 08:20:51 +00:00 |
Arvid Norberg
|
192a829222
|
fixed udp-socket race condition when using a proxy
|
2011-02-09 08:01:53 +00:00 |
Arvid Norberg
|
813d88a50e
|
fix non-IPv6 build
|
2011-02-09 07:27:04 +00:00 |
Arvid Norberg
|
a42d42fd11
|
CPU optimization for end-game piece picker
|
2011-02-09 02:56:00 +00:00 |
Arvid Norberg
|
cfd36ca53e
|
another udp_socket buffer allocation fix
|
2011-02-08 17:17:07 +00:00 |
Arvid Norberg
|
e079907252
|
more end-game piece picker optimization (early exit)
|
2011-02-08 04:08:04 +00:00 |
Arvid Norberg
|
73e3bbae7b
|
use iconv on mingw
|
2011-02-07 17:25:24 +00:00 |
Arvid Norberg
|
231118fdd0
|
one more udp_socket fix
|
2011-02-07 01:41:54 +00:00 |
Arvid Norberg
|
5df4e7edd9
|
added more piece picker stats
|
2011-02-07 00:51:20 +00:00 |
Arvid Norberg
|
3d616f894e
|
end-game mode optimizations
|
2011-02-06 23:40:21 +00:00 |
Arvid Norberg
|
f0b15a2410
|
more robust removal in packet_buffer
|
2011-02-06 09:34:47 +00:00 |
Arvid Norberg
|
63c96274b9
|
more stats for redundant/failed and protocol bandwidth usage
|
2011-02-06 07:33:40 +00:00 |
Arvid Norberg
|
ea0af55a46
|
log end-game mode stats with stats logging
|
2011-02-06 03:07:00 +00:00 |
Arvid Norberg
|
ed8779a338
|
added option to not recheck on missing or incomplete resume data
|
2011-02-06 00:50:12 +00:00 |
Arvid Norberg
|
127fc0bd93
|
merged udp socket fix to 0.15 branch and made some more fixes to it
|
2011-02-06 00:34:52 +00:00 |
Arvid Norberg
|
5690444178
|
fixed bug in udp_socket where there would be two outstanding async read operations on the socket
|
2011-02-05 21:19:33 +00:00 |
Arvid Norberg
|
4c0c322387
|
use free/malloc instead of realloc in udp_socket
|
2011-02-05 09:39:15 +00:00 |
Arvid Norberg
|
adb250cf5c
|
fixed missing logging of peer disconnects
|
2011-02-04 07:14:00 +00:00 |
Arvid Norberg
|
fa40cf38aa
|
demoted some errors to regular disconnect messages
|
2011-02-04 06:55:39 +00:00 |
Arvid Norberg
|
06d8142c5b
|
checking torrents don't count in auto manage logic
|
2011-02-04 06:55:05 +00:00 |
Arvid Norberg
|
051936cd29
|
fixed typo
|
2011-02-04 06:44:05 +00:00 |
Arvid Norberg
|
19d6c53ad4
|
increase low watermark for disk write queue. log payload rates in session stats
|
2011-02-04 06:33:47 +00:00 |
Arvid Norberg
|
88663bfbde
|
log more peer errors in stats log
|
2011-02-04 04:31:20 +00:00 |
Arvid Norberg
|
9715fbdb3a
|
only post peer error alerts for actual errors
|
2011-02-04 03:49:20 +00:00 |
Arvid Norberg
|
907588db12
|
fixed bug in peer upload stats logging and adjusted bucket sizes for histogram
|
2011-02-04 03:24:55 +00:00 |
Arvid Norberg
|
4ed6b1a067
|
introduce a low watermark for disk io blocking connections
|
2011-02-04 03:02:23 +00:00 |
Arvid Norberg
|
bf77ee4199
|
extended stats logging
|
2011-02-03 06:22:22 +00:00 |
Arvid Norberg
|
5456f2ac91
|
provide more stats with stats builds
|
2011-02-03 04:09:50 +00:00 |
Arvid Norberg
|
6018f82c00
|
bump max queued_disk_bytes in high_performance_seed
|
2011-02-02 08:01:22 +00:00 |
Arvid Norberg
|
ddd4d84a1d
|
fixed mingw build
|
2011-02-02 07:41:32 +00:00 |
Arvid Norberg
|
6ecf04137f
|
fix stats build
|
2011-02-01 17:25:06 +00:00 |
Arvid Norberg
|
012bfba3f7
|
fix disk queue counters
|
2011-02-01 16:55:32 +00:00 |
Arvid Norberg
|
b842815710
|
added new session functions to more efficiently query torrent status
|
2011-02-01 09:48:28 +00:00 |
Arvid Norberg
|
6692f05655
|
added alerts for added and removed torrents
|
2011-02-01 03:25:40 +00:00 |
Arvid Norberg
|
77a4ac782a
|
udp socket cleanup and asserts
|
2011-01-31 06:31:22 +00:00 |
Arvid Norberg
|
3e4634097d
|
mapped file resume data fixes
|
2011-01-31 00:47:09 +00:00 |
Arvid Norberg
|
ad87e84e47
|
packet buffer comment fix and support for inserting NULLs
|
2011-01-30 19:35:20 +00:00 |
Arvid Norberg
|
19ae5440f2
|
make auto-manager kick in immediately when torrents are added and paused (reduces a 10 seconds delay)
|
2011-01-30 13:15:29 +00:00 |
Arvid Norberg
|
d393bb4097
|
report number of peers blocked on disk in session_status
|
2011-01-30 10:04:15 +00:00 |
Arvid Norberg
|
0c16163e71
|
fix build with no extensions support
|
2011-01-29 12:13:49 +00:00 |
Arvid Norberg
|
87dfdd4790
|
expanded plugin interface to support session state. improved re-request logic in ut_metadata extension. made max metadata size configurable
|
2011-01-29 10:37:21 +00:00 |
Arvid Norberg
|
e9f9d08fbe
|
disabled uTP/TCP mixed-mode for high_performance preset
|
2011-01-28 18:23:54 +00:00 |
Arvid Norberg
|
2218b13ba0
|
fixed typo in ut_metadata
|
2011-01-28 03:49:20 +00:00 |
Arvid Norberg
|
a0338f6d24
|
made the metadata block requesting algorithm more robust against hash check failures
|
2011-01-27 06:49:32 +00:00 |
Arvid Norberg
|
eb47f06ef9
|
fix DHT cidr check
|
2011-01-26 03:12:46 +00:00 |
Arvid Norberg
|
4070c2d465
|
fixed stat_file issue on windows
|
2011-01-25 08:21:01 +00:00 |
Arvid Norberg
|
fccd38d355
|
fixed last-seen-complete bug in torrent::status
|
2011-01-25 08:20:22 +00:00 |
Arvid Norberg
|
b230c385d9
|
clean up logic around waiting for disk write queue to fall below low watermark. optimize peer disconnect. Fix integer overflow bug in uTP/TCP mixed mode algorithm. Fixed some invariant checks for closing connections issues
|
2011-01-25 08:03:35 +00:00 |
Arvid Norberg
|
9964b9cdb6
|
support a separate option to use proxies for peers or not
|
2011-01-24 03:24:28 +00:00 |
Arvid Norberg
|
4602ff4b47
|
removed logging in destructor since it caused a race condition with the creation of the logger
|
2011-01-24 03:23:34 +00:00 |
Arvid Norberg
|
2732a6bc47
|
move alert queue size limit into session_settings. make some alerts non-discardable (don't throw them out, even when the queue is full). Make session pause also pause all checking files. optimize rejecting incoming connections when the session is paused
|
2011-01-23 18:00:52 +00:00 |
Arvid Norberg
|
0d2ba173a4
|
pex flood fix
|
2011-01-23 05:57:11 +00:00 |
Arvid Norberg
|
021a774168
|
rate limit outstanding-disk performance warnings. don't throttle reading form peers because of disk congestion if the peer isn't downloading payload. Don't time out peers that are not waiting on the network
|
2011-01-23 02:09:54 +00:00 |
Arvid Norberg
|
de28a57954
|
add back version in DHT packets
|
2011-01-23 02:02:04 +00:00 |
Arvid Norberg
|
ec6ef250bf
|
fixed build warning
|
2011-01-22 19:47:11 +00:00 |
Arvid Norberg
|
1dc0e71716
|
added torrent_error_alert when a torrent encounters an error
|
2011-01-22 19:06:43 +00:00 |
Arvid Norberg
|
483870cd83
|
add runtime boundary checks for piece and file priority functions
|
2011-01-22 19:01:44 +00:00 |