gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] r23341 - in libmicrohttpd: . src/daemon


From: gnunet
Subject: [GNUnet-SVN] r23341 - in libmicrohttpd: . src/daemon
Date: Tue, 21 Aug 2012 14:33:51 +0200

Author: grothoff
Date: 2012-08-21 14:33:51 +0200 (Tue, 21 Aug 2012)
New Revision: 23341

Modified:
   libmicrohttpd/ChangeLog
   libmicrohttpd/src/daemon/postprocessor.c
Log:
reduce xbuf_size as suggested by Martin Velek on mailinglist

Modified: libmicrohttpd/ChangeLog
===================================================================
--- libmicrohttpd/ChangeLog     2012-08-21 12:12:25 UTC (rev 23340)
+++ libmicrohttpd/ChangeLog     2012-08-21 12:33:51 UTC (rev 23341)
@@ -1,3 +1,7 @@
+Tue Aug 21 14:31:54 CEST 2012
+       Reduce default size in post processor buffer (for small systems;
+       performance impact on large systems should be minimal). -CG/MV
+
 Thu Jul 19 21:48:42 CEST 2012
        Releasing libmicrohttpd 0.9.21. -CG
 

Modified: libmicrohttpd/src/daemon/postprocessor.c
===================================================================
--- libmicrohttpd/src/daemon/postprocessor.c    2012-08-21 12:12:25 UTC (rev 
23340)
+++ libmicrohttpd/src/daemon/postprocessor.c    2012-08-21 12:33:51 UTC (rev 
23341)
@@ -27,8 +27,10 @@
 
 /**
  * Size of on-stack buffer that we use for un-escaping of the value.
+ * We use a pretty small value to be nice to the stack on embedded
+ * systems.
  */
-#define XBUF_SIZE 1024
+#define XBUF_SIZE 512
 
 /**
  * States in the PP parser's state machine.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]