about summary refs log tree commit diff
path: root/misc
diff options
context:
space:
mode:
authorRichard Nyberg <rnyberg@murmeldjur.se>2005-08-12 20:25:52 +0000
committerRichard Nyberg <rnyberg@murmeldjur.se>2005-08-12 20:25:52 +0000
commiteaf95339c7c3e33da1b3c179a397c8af6c06ea74 (patch)
tree1e520ca93c3e3f273ccb10308dd58864b53027c6 /misc
parentfcbec726e5e5fadaad46fa05fcc13f7c9f8810ea (diff)
downloadbtpd-eaf95339c7c3e33da1b3c179a397c8af6c06ea74.tar.gz
btpd-eaf95339c7c3e33da1b3c179a397c8af6c06ea74.zip
Set an upper limit on how many piece messages to queue for
writing to a peer. If more requests arrive they will be ignored.
When all pieces have been sent to the peer, in order for it not to
wait on the ignored requests, its state will be reset by a choke
followed by an unchoke message. 

Without this limit there was no bound on how much memory btpd would
consume to satisfy a greedy peer.

Diffstat (limited to 'misc')
0 files changed, 0 insertions, 0 deletions