Commit 026cc943 authored by renjie's avatar renjie

Merge branch 'dev-zrj' into 'staging'

添加白名单

See merge request !64
parents 005039b9 26399948
......@@ -466,7 +466,7 @@ public class AdministratorController {
response.setHeader("content-type", "application/octet-stream");
response.setHeader("Content-Disposition", "attachment;filename=" + URLEncoder.encode("3proxy.cfg", "UTF-8"));
int len =0;
byte[] bt = new byte[5*1024];
byte[] bt = new byte[50*1024];
while((len = fis.read(bt)) != -1) {
os.write(bt,0,len);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment