a44421a79fb36cc2036fe116b97ea3bc9590cd0c braney Fri Dec 2 09:34:39 2011 -0800 removed rcsid (#295) diff --git src/lib/mime.c src/lib/mime.c index feccace..2914167 100644 --- src/lib/mime.c +++ src/lib/mime.c @@ -4,31 +4,30 @@ * we can handle very large files if needed. * Large data are saved to tempfiles. * Small data stays as ptr+size in memory. * * This file is copyright 2005 Jim Kent, but license is hereby * granted for all use - public, private or commercial. */ #include "common.h" #include "hash.h" #include "linefile.h" #include "cheapcgi.h" #include "portable.h" #include "errabort.h" #include "mime.h" -static char const rcsid[] = "$Id: mime.c,v 1.13 2006/06/20 18:31:24 galt Exp $"; /* * Note: MIME is a nested structure that makes a tree that streams in depth-first. */ #define MAXPARTSIZE 64LL*1024*1024*1024 /* max size before gets put in a tempfile to save memory. It currently has been set so large that it will not be triggered. */ #define MAXPARTLINESIZE 1024 /* header lines should be small, so bad if bigger than this */ #define MAXDATASIZE 64LL*1024*1024*1024 /* max size allowable for large uploads */ #define MAXBOUNDARY 72+5 /* max size of buffer for boundary 72+--""0 */ enum nlType nlType = nlt_undet; static void setEopMB(struct mimeBuf *b) /* do a search for boundary, set eop End Of Part if found */ { if (b->blen > 0)