Просмотр исходного кода

Only keep one block of outgoing data in memory.

master
Richard Nyberg 18 лет назад
Родитель
Сommit
84ae36cd2b
1 измененных файлов: 1 добавлений и 1 удалений
  1. +1
    -1
      btpd/net.c

+ 1
- 1
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)


Загрузка…
Отмена
Сохранить