From 84ae36cd2bd2446e0bbf8d0f543a4e719180caaf Mon Sep 17 00:00:00 2001 From: Richard Nyberg Date: Sat, 19 May 2007 13:07:57 +0000 Subject: [PATCH] Only keep one block of outgoing data in memory. --- btpd/net.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/btpd/net.c b/btpd/net.c index f0eb39e..b2a1032 100644 --- a/btpd/net.c +++ b/btpd/net.c @@ -116,7 +116,7 @@ net_active(struct torrent *tp) return tp->net->active; } -#define BLOCK_MEM_COUNT 4 +#define BLOCK_MEM_COUNT 1 static unsigned long net_write(struct peer *p, unsigned long wmax)