[asterisk-commits] murf: branch group/http_mods r60320 - /team/group/http_mods/main/minimime/

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Thu Apr 5 13:37:10 MST 2007


Author: murf
Date: Thu Apr  5 15:37:10 2007
New Revision: 60320

URL: http://svn.digium.com/view/asterisk?view=rev&rev=60320
Log:
OK, bumping up the buffer size a little seems to help a lot. This is kludgy, and from REJECT being used in the lexer... he uses it a LOT, tho, and I'd have to rewrite the lexer (which is pretty darn complex), to get rid of them... if I even CAN get rid of them, which I may not be able to

Modified:
    team/group/http_mods/main/minimime/mimeparser.l

Modified: team/group/http_mods/main/minimime/mimeparser.l
URL: http://svn.digium.com/view/asterisk/team/group/http_mods/main/minimime/mimeparser.l?view=diff&rev=60320&r1=60319&r2=60320
==============================================================================
--- team/group/http_mods/main/minimime/mimeparser.l (original)
+++ team/group/http_mods/main/minimime/mimeparser.l Thu Apr  5 15:37:10 2007
@@ -55,6 +55,7 @@
 #define ZERO(x) memset(x, '\0', sizeof(x))
 
 #define PREALLOC_BUFFER	100000
+#define YY_BUF_SIZE 32768
 
 enum header_states
 {



More information about the asterisk-commits mailing list