瀏覽代碼

Only keep one block of outgoing data in memory.

master
Richard Nyberg 18 年之前
父節點
當前提交
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)


||||||
x
 
000:0
Loading…
取消
儲存