summary refs log tree commit diff
path: root/CHANGES
blob: 5a447d8000777ad075244532085506e880676d74 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
btpd 0.9:
---------

Misc:
- Small changes to 'btcli stat' output.

Bug fixes:
- Use correct value for '--prealloc' default.
- Stopped torrents now show correct rates (0kB/s).
- The test of content that has been modified between runs was broken.

btpd 0.8:
---------

Misc:
- btpd now requires pthreads.
- btpd keeps its logs and other information it needs in its own directory.
  $HOME/.btpd is the default location.
- Various changes in btpd options ant btcli use. See '--help'.
- The user chooses where to place content for each torrent.
- Better disk IO performance.
- Configureable disk preallocation to reduce file fragmentation.
- The unchoke algorithm is global instead of per torrent. The number
  of peers to upload to is configurable.
- Tracker errors are displayed in 'btcli stat' and most importantly don't
  make torrents unload on startup.
- The rates displayed by btcli are now computed in btpd and are averaged
  over the last 20 seconds.
- btpd now compares size and mtime of content to see if the resume file is
  valid.

Bug fixes:
- Double uninterest messages could be sent to some peers in endgame mode.
- A function was called prematurely which could trigger an assert in rare
  cases.

btpd 0.7:
---------

Bug fixes:
- Some communication stupidities was fixed, resulting in better download
  performance.

btpd 0.6:
---------

Misc:
- Set an upper limit on how much data a peer can request at once.
  This protects from running out of memory because of a greedy peer.
- End game is more efficient and uses much less memory.

btpd 0.5:
---------

Bug fixes:
- The bitfield could be sent too late. This could cause the receiving
  peer to close the connection.

btpd 0.4:
---------

Misc:
- The 0.1 rate limiter is back. It runs at a configurable hz now.
- Added "--bw-hz" option to btpd.
- Multiple have messages can be sent in place of a bitfield.
- If btpd can't write to a peer for 60s, it will be disconnected.

Bug fixes:
- A calculation error made btpd buggy with small torrents.
  This caused strange crashes and many reports on bad hashes in the log.
- The bitfield was sent too early. A peer could miss pieces btpd got
  while the peer was in handshake.
- Some situations in end game or with bad hashes could cause a crash.

btpd 0.3:
---------

Misc:
- New download strategy.
- Pipe ten requests instead of five.
- "-d" option added to btpd.
- "--with-warn" option added to configure. The default is now
  to compile with warnings off.

Bug fixes:
- It was possible for blocks to remain marked as busy when a peer
  choked or was lost, causing a piece download to wait until end game.
- The peer wanted level could get too high during end game.

btpd 0.2:
---------

Misc:
- A new way to do rate limiting.
- Compact mode is now used when talking to the tracker.

Bug fixes:
- A buffer was too small by four bytes, causing a buffer overflow
  on the heap in certain conditions.
- An iteration over a list was unsafe and could cause a crash.
- Unloading a torrent didn't kill peers in handshake for that torrent,
  and a crash was possible when the handshake finished.
- The counter for uploaded data was updated too early.
- Fixed illegal operator for test(1) in configure.