Explorar el Código

Increase maximum request / header length limit

z3APA3A hace 11 años
padre
commit
0a14a3bcdb
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  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;