使用xhttp作为反向代理的传输层协议时无法传输大文件 #5077
Unanswered
Shiming-Liang
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
概要
在使用vless+xhttp做反向代理的连接,从bridge拉取大文件时,portal端内存占用会不断上升,最终拉取失败。
具体配置与对应症状
portal与bridge的配置与文档一致,除了inbound和outbound使用vless+xhttp经过cloudflare连接。xhttp仅配置了path,mode为auto,日志显示选择的是packet-up。bridge端出口是一个用caddy暴露在端口8080的本地文件夹。portal是用caddy把子域名反代到任意门。
从这个文件夹中下载大文件(~1G)时,portal的cpu会跑满,内存占用会不断上升,直到下载被切断。
portal配置
bridge配置
日志与测试
bridge端日志
portal端日志
其他配置不变,将xhttp换成ws,则portal的cpu和内存占用都不大,下载也会顺利完成。
麻烦各位大佬看看是哪里出问题了,谢谢!
Beta Was this translation helpful? Give feedback.
All reactions