Parcourir la source

Only keep one block of outgoing data in memory.

master
Richard Nyberg il y a 18 ans
Parent
révision
84ae36cd2b
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. +1
    -1
      btpd/net.c

+ 1
- 1
btpd/net.c Voir le fichier

@@ -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)


||||||
x
 
000:0
Chargement…
Annuler
Enregistrer