We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
xquic 下载大文件会消耗同等文件大小的内存,无论是否开启 proxy_buffering,均会消耗大量内存;
配置 xquic server 块下载文件,后端可以是 proxy_pass 到另外的文件下载服务,或是使用自身的 root 方式指定本地文件,
修复该问题,当配置 proxy_buffering off 时,保持跟 https/http2 同样的行为,无论下载多大的文件,均不会把内存耗尽;
listen ip:port xquic
location /download { proxy_pass http://10.0.0.28:8000/ ; }
或是使用 root 指向本地文件下载
location /download { root /path/to/download_files/; index default_file; }
The text was updated successfully, but these errors were encountered:
related to #1910
Sorry, something went wrong.
No branches or pull requests
Ⅰ. Issue Description
xquic 下载大文件会消耗同等文件大小的内存,无论是否开启 proxy_buffering,均会消耗大量内存;
Ⅱ. Describe what happened
配置 xquic server 块下载文件,后端可以是 proxy_pass 到另外的文件下载服务,或是使用自身的 root 方式指定本地文件,
Ⅲ. Describe what you expected to happen
修复该问题,当配置 proxy_buffering off 时,保持跟 https/http2 同样的行为,无论下载多大的文件,均不会把内存耗尽;
Ⅳ. How to reproduce it (as minimally and precisely as possible)
listen ip:port xquic
方式使用 xquic 监听器;或是使用 root 指向本地文件下载
Ⅴ. Anything else we need to know?
Ⅵ. Environment:
The text was updated successfully, but these errors were encountered: