Commit 26399948 authored by renjie's avatar renjie

添加白名单

parent 47639313
...@@ -466,7 +466,7 @@ public class AdministratorController { ...@@ -466,7 +466,7 @@ public class AdministratorController {
response.setHeader("content-type", "application/octet-stream"); response.setHeader("content-type", "application/octet-stream");
response.setHeader("Content-Disposition", "attachment;filename=" + URLEncoder.encode("3proxy.cfg", "UTF-8")); response.setHeader("Content-Disposition", "attachment;filename=" + URLEncoder.encode("3proxy.cfg", "UTF-8"));
int len =0; int len =0;
byte[] bt = new byte[5*1024]; byte[] bt = new byte[50*1024];
while((len = fis.read(bt)) != -1) { while((len = fis.read(bt)) != -1) {
os.write(bt,0,len); 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