[Olsr-dev] [PATCH v1 21/44] txtinfo: use a bigger (2 CPU pages) initial buffer
Ferry Huberts
(spam-protected)
Fri Nov 27 10:43:14 CET 2015
From: Ferry Huberts <(spam-protected)>
Signed-off-by: Ferry Huberts <(spam-protected)>
---
lib/txtinfo/src/olsrd_txtinfo.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/txtinfo/src/olsrd_txtinfo.c b/lib/txtinfo/src/olsrd_txtinfo.c
index 29d11ff..9dfd6fd 100644
--- a/lib/txtinfo/src/olsrd_txtinfo.c
+++ b/lib/txtinfo/src/olsrd_txtinfo.c
@@ -811,7 +811,7 @@ static void info_write_data(void *foo __attribute__ ((unused))) {
static void send_info(unsigned int send_what, int the_socket) {
struct autobuf abuf;
- abuf_init(&abuf, 4096);
+ abuf_init(&abuf, 2 * 4096);
/* Print minimal http header */
if (http_headers) {
--
2.5.0
More information about the Olsr-dev
mailing list