[dovecot-cvs] dovecot/src/pop3 client.c,1.2,1.3

cras at procontrol.fi cras at procontrol.fi
Thu Jan 30 19:55:54 EET 2003


Update of /home/cvs/dovecot/src/pop3
In directory danu:/tmp/cvs-serv8440

Modified Files:
	client.c 
Log Message:
Reduce input buffer size



Index: client.c
===================================================================
RCS file: /home/cvs/dovecot/src/pop3/client.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- client.c	27 Jan 2003 06:44:49 -0000	1.2
+++ client.c	30 Jan 2003 17:55:52 -0000	1.3
@@ -10,8 +10,8 @@
 
 #include <stdlib.h>
 
-/* max. size of one parameter in line */
-#define MAX_INBUF_SIZE 8192
+/* max. length of input command line (spec says 512) */
+#define MAX_INBUF_SIZE 2048
 
 /* If we can't send a buffer in a minute, disconnect the client */
 #define CLIENT_OUTPUT_TIMEOUT (60*1000)




More information about the dovecot-cvs mailing list