* set an application specific prefered Buffer size in places where debugging shows...
[citadel.git] / webcit / context_loop.c
index 507ff9e767d1823d46139685ae09ce6403382267..ffa654b7f76f0e88815ec3e7bfaeaf8f41d8b009 100644 (file)
@@ -367,7 +367,7 @@ int ReadHTTPRequest (ParsedHttpHdrs *Hdr)
        LastLine = NULL;
        do {
                nLine ++;
-               Line = NewStrBuf();
+               Line = NewStrBufPlain(NULL, SIZ / 4);
 
                if (ClientGetLine(Hdr, Line) < 0) return 1;
 
@@ -786,8 +786,8 @@ void
 HttpNewModule_CONTEXT
 (ParsedHttpHdrs *httpreq)
 {
-       httpreq->PlainArgs = NewStrBuf();
-       httpreq->this_page = NewStrBuf();
+       httpreq->PlainArgs = NewStrBufPlain(NULL, SIZ);
+       httpreq->this_page = NewStrBufPlain(NULL, SIZ);
 }
 
 void