소스 검색

Increase maximum request / header length limit

z3APA3A 11 년 전
부모
커밋
0a14a3bcdb
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      src/proxy.c

+ 2 - 2
src/proxy.c

@@ -132,8 +132,8 @@ char * proxy_stringtable[] = {
 	NULL
 };
 
-#define BUFSIZE 4096
-#define LINESIZE 2048
+#define LINESIZE 4096
+#define BUFSIZE (LINESIZE*2)
 
 static void logurl(struct clientparam * param, char * buf, char * req, int ftp){
  char *sb;