Charles Kerr
73197c53f3
tweak the bandwidth manager code a little more to try & prevent oscillation
2008-11-08 15:39:48 +00:00
Charles Kerr
9e6b768f3d
(libT) fix minor r7069 oops: remove a console debug message
2008-11-08 02:54:17 +00:00
Charles Kerr
42fe27c067
more fucking around with the speed measurements.
2008-11-08 02:49:04 +00:00
Charles Kerr
58ea9e4be8
(libT) revise r7065
2008-11-07 05:37:59 +00:00
Charles Kerr
c8b51fb734
#1429 (libT) cleaner handling of the special case where the upload or download speed limit is zero
2008-11-07 04:10:27 +00:00
Charles Kerr
c8a07d7ca6
(libT) fix r7055 bug reported by BentMyWookie. Also, narrow the bandwidth allocator's `clamp' range to lessen oscillation
2008-11-06 04:16:53 +00:00
Charles Kerr
8e4fa83c77
update NEWS
2008-11-06 02:56:51 +00:00
Charles Kerr
17b8624ca7
(libT) #1417 : revert r7039
2008-11-04 21:33:24 +00:00
Charles Kerr
9859578a7d
(libT) #1417 : overhead should be counted in the global stats
2008-11-04 17:37:51 +00:00
Charles Kerr
631d9d9a8f
(libT) fold together some redundant sanity tests that were taking up 6.6% in softwareelves' profile
2008-10-27 04:27:55 +00:00
Charles Kerr
06939cafa6
(libT) low-hanging fruit discovered from softwareelves' shark profile.
2008-10-26 15:39:04 +00:00
Charles Kerr
d03f0283dd
(libT) minor code cleanup for r6954
2008-10-25 15:19:46 +00:00
Charles Kerr
e15114e2aa
new & improved fix for #617 : Transmission goes above the set bandwidth limits
2008-10-25 02:20:16 +00:00
Charles Kerr
84dcaab5f4
remove dead code
2008-10-22 13:57:30 +00:00
Charles Kerr
aba2849375
#1302 : possible fix
2008-10-21 19:27:57 +00:00
Charles Kerr
ea668ca9ff
(libT) possible fix for the up/down display inconsistency reported by BentMyWookie.
2008-10-20 03:47:48 +00:00
Charles Kerr
b5c2f14387
(libT) dead code removal
2008-10-14 20:44:41 +00:00
Charles Kerr
e660acc669
fix oops
2008-10-14 01:29:33 +00:00
Charles Kerr
ef5bc3f150
(libT) more win32 work copied from spry's code:
...
(1) add #define for {read,write,strncasecmp} -> {_read,_write,_strnicmp}
(2) fix a couple more variadic macros that didn't get fixed in the last commit
(3) use evutil_strtoll() instead of strtoll()
2008-10-14 01:00:15 +00:00
Charles Kerr
f00c8ff34d
possible fix for #1305 "Transmission losing data - Session Transfer significantly higher than actual download". This patch may need more user testing and will definitely make webseeds slower. suck it up.
2008-10-11 04:07:50 +00:00
Charles Kerr
413211288b
#1338 : fix win32 build errors
2008-10-10 02:14:51 +00:00
Charles Kerr
964d7e193c
(libT) #1338 : EMSGSIZE and EPROTO not found on Windows
2008-10-10 00:38:37 +00:00
Charles Kerr
178008650e
(libT) remove dead code
2008-10-06 19:44:38 +00:00
Charles Kerr
5391f768f4
fix a null pointer dereference
2008-10-05 22:51:18 +00:00
Charles Kerr
4fab4c9e9b
(libT) finish killing tr_errno.
2008-10-03 04:49:06 +00:00
Charles Kerr
79d8a5cdf3
(libT) eliminating tr_errno, part 1: make tr_ioTestPiece return an int instead of a tr_errno.
2008-10-02 20:30:29 +00:00
Charles Kerr
b1ef118e3f
(libT) housekeeping: tr_torrent.handle --> tr_torrent.session
2008-10-02 15:53:33 +00:00
Charles Kerr
cc89872dd4
run libT, cli, daemon, gtk through the source-code formatter "uncrustify" as promised/threatened
2008-09-23 19:11:04 +00:00
Charles Kerr
9c2c4ca08d
fix at least one possible cause for the new crash reported by persept
2008-09-19 17:03:25 +00:00
Charles Kerr
b5efa86ad7
add new compile-time throttle options suggested by persept
2008-09-18 03:55:31 +00:00
Charles Kerr
4fe1e1dae3
first draft at having more accurate speed controls
2008-09-17 19:44:24 +00:00
Charles Kerr
5184119948
(libT) possible solution to the peer hammering problem reported by Switeck
2008-09-05 05:14:49 +00:00
Charles Kerr
64e08510f0
(libT) maybe fix the hangs reported by users in the recent nightlies.
2008-08-27 18:50:21 +00:00
Charles Kerr
82815a74d2
#1214 : add RPC support for per-peer status,ul,dl,address info
2008-08-22 17:59:31 +00:00
Mukund Sivaraman
318ca1fb7e
Don't use memmove() for simple assignment
2008-08-22 16:34:16 +00:00
Mukund Sivaraman
c10a612f90
Use stricter type for enums
2008-08-22 16:30:07 +00:00
Mukund Sivaraman
196ae72a85
Don't move all the rest of peers if current peer is choked
...
Only move the last peer into place.
2008-08-22 16:30:02 +00:00
Mukund Sivaraman
75d2e74a64
Use stricter type for enums
2008-08-22 16:13:52 +00:00
Mukund Sivaraman
b79e6561c0
Remove unused missingBlockCount
2008-08-22 16:03:49 +00:00
Charles Kerr
c32491ab3a
(libT) remove a little more dead code
2008-08-22 15:33:55 +00:00
Mukund Sivaraman
7f749d1284
Sort piece_data_time in descending order.
...
Also fix code style in some places.
2008-08-22 02:34:22 +00:00
Mukund Sivaraman
59351991f6
Further fix/cleanup compare code
2008-08-22 02:15:37 +00:00
Charles Kerr
d323a99cdd
undo part of r6616 to address the assertion failure reported by andersos and Waldorf
2008-08-22 01:27:00 +00:00
Charles Kerr
ca45125259
(libT) more dead code removal: tr_compareTime() and tr_compareDouble()
2008-08-21 20:39:57 +00:00
Charles Kerr
1105dc0038
(libT) remove some dead functions: tr_calloc(), tr_compareUint16(), tr_compareUint32()
2008-08-21 19:03:56 +00:00
Mukund Sivaraman
2ed1e6ee9d
Use signed integers for storing the random values
2008-08-20 16:19:47 +00:00
Mukund Sivaraman
d712f22b21
Rename function to indicate its stupidity
2008-08-20 14:55:23 +00:00
Mukund Sivaraman
e84275e429
Replace the random number generator inside peer-mgr with a
...
stupid faster one.
2008-08-20 14:36:15 +00:00
Mukund Sivaraman
4796e40d27
Inline tr_compareUint16() in this case
2008-08-20 13:54:31 +00:00
Mukund Sivaraman
ed7685dd1a
Make tr_bitfieldHas() a macro
2008-08-20 13:45:52 +00:00