Mate,
Not sure if its the same in the latest version, but the one I'm working with
I have to check I don't overflow the buffer (IO_MAX size).
if I'm going to overflow, then I flush what's in the buffer BEFORE I add
anything more to it.

            ...Laurie:{)
  -----Original Message-----
  From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of
[EMAIL PROTECTED]
  Sent: Wednesday, 16 April 2008 8:16 PM
  To: [email protected]
  Subject: [shttpd-general] Building up page over 16k?


  G'Day,

  I am using the shttpd_printf() function to build up a dynamic page and
finishing it off with
  arg->flags |= SHTTPD_END_OF_OUTPUT though I am finding the page is being
cut off just under 16k (16340 bytes exactly).

  Is there a limitation in that method? what is the work around?

  Very happy with how easy shttpd is to embed and use!

  Cheers,

  Scott


-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
shttpd-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/shttpd-general

Reply via email to