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

[Xen-devel] [PATCH] Increase size of sxpr parser input buffer

Increase the size of the sxpr parser input buffer from 1024 characters, which
isn't long enough to hold larger domain configurations (xfrd transmits the
entire domain config sxpr as a single atom inside of another sxpr).

Signed-off-by: Jody Belka <knew (dash) xen (at) pimb (dot) org>

diff -durN xen.orig/tools/libxutil/sxpr_parser.h 
--- xen.orig/tools/libxutil/sxpr_parser.h       2005-05-05 21:31:52.000000000 
+++ xen.new/tools/libxutil/sxpr_parser.h        2005-05-07 18:55:30.203005432 
@@ -28,7 +28,7 @@
 /** Size of a parser input buffer.
  * Tokens read must fit into this size (including trailing null).
-#define PARSER_BUF_SIZE 1024
+#define PARSER_BUF_SIZE 4096
 struct Parser;
 typedef int ParserStateFn(struct Parser *, char c);

Xen-devel mailing list



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.