Sergey,

 

Thanks for the prompt reply; you must be glued to that workstation.

 

I broadly understand the implementation approach; however, I don't
understand what mechanism is pushing the buffer data to the client. From
what I understand, arg->flags |= SHTTPD_END_OF_OUTPUT; will complete the
transaction, but what mechanism is there to push intermediate content to the
client before the final SHTTPD_END_OF_OUTPUT! Can you provide a basic
example?

 

Thanks,

 

John.

 

  _____  

From: Sergey Lyubka [mailto:[EMAIL PROTECTED] 
Sent: 12 May 2008 21:56
To: [EMAIL PROTECTED]
Cc: [email protected]
Subject: Re: [shttpd-general] Flushing output buffer to client

 

When output buffer is full, callback should save the state and return.
Upon the next call (when SHTTPD clears out some space), callback must check
the state and resume from appropriate point.

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft 
Defy all challenges. Microsoft(R) Visual Studio 2008. 
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
shttpd-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/shttpd-general

Reply via email to