Преглед изворни кода

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;