Selaa lähdekoodia

Only keep one block of outgoing data in memory.

master
Richard Nyberg 18 vuotta sitten
vanhempi
commit
84ae36cd2b
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. +1
    -1
      btpd/net.c

+ 1
- 1
btpd/net.c Näytä tiedosto

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


Loading…
Peruuta
Tallenna