Kaynağa Gözat

Only keep one block of outgoing data in memory.

master
Richard Nyberg 18 yıl önce
ebeveyn
işleme
84ae36cd2b
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  1. +1
    -1
      btpd/net.c

+ 1
- 1
btpd/net.c Dosyayı Görüntüle

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


Yükleniyor…
İptal
Kaydet