Skip to content

Commit 160dd0e

Browse files
committed
debian: Remove APT pipeline warning
Nginx 1.23.4 (2023/03/28) has this issue fixed.
1 parent c69993f commit 160dd0e

File tree

1 file changed

+0
-13
lines changed

1 file changed

+0
-13
lines changed

docs/debian.md

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -119,19 +119,6 @@ Debian Old Old Stable, Old Stable, Stable, Testing, Unstable (sid)
119119

120120
另外,也可以使用 snullp 大叔开发的 [配置生成器](https://mirrors.ustc.edu.cn/repogen)
121121

122-
!!! warning
123-
124-
在 apt 2.1.9 及以后的版本中,apt 的 HTTP Pipelining 特性与 Nginx
125-
服务器疑似存在一定的不兼容问题,可能导致高带宽从镜像站下载大量软件包
126-
(例如系统升级)时出现偶发的 Connection reset by peer 错误(详见
127-
[Debian bug #973581](https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=973581))。
128-
129-
目前,用户可以通过关闭 HTTP Pipelining 特性解决此问题。
130-
如果需要关闭,可以在使用 `apt` 命令时加上
131-
`-o Acquire::http::Pipeline-Depth=0` 参数,或使用以下命令将相关设置加入 apt 系统配置中:
132-
133-
echo "Acquire::http::Pipeline-Depth \"0\";" > /etc/apt/apt.conf.d/99nopipelining
134-
135122
## 相关链接
136123

137124
官方主页

0 commit comments

Comments
 (0)