diff options
| author | Richard Nyberg <rnyberg@murmeldjur.se> | 2006-11-06 08:48:22 +0000 |
|---|---|---|
| committer | Richard Nyberg <rnyberg@murmeldjur.se> | 2006-11-06 08:48:22 +0000 |
| commit | 8c5200b5689e9612a59c12d28e71a716efac2830 (patch) | |
| tree | 4fe8b5db8b5daeb7382d08a14ca780ca62834048 /misc | |
| parent | acc03a93e2cf4fdc2374502d67045a8d9daff4a1 (diff) | |
| download | btpd-8c5200b5689e9612a59c12d28e71a716efac2830.tar.gz btpd-8c5200b5689e9612a59c12d28e71a716efac2830.zip | |
Instead of immediately reading all data a peer requests into outgoing net
buffers, we put placeholder buffers on the list and fill them as they are needed. At most 4 blocks will be filled per peer we upload to. This number should probably be made tunable or be based on SO_SNDBUF or something. Anyway, this should lower btpd's memory usage if one has many uploads.
Diffstat (limited to 'misc')
0 files changed, 0 insertions, 0 deletions