Jeff, do you mean mg_send_file_data() function? mg_send_file_data() could be given any file descriptor that doesn't block on read() and it'll read that descriptor till EOF and send data back to the client.
On Thu, Aug 21, 2014 at 11:42 AM, jeff shanab <[email protected]> wrote: > Is this generalized to work in the download/streaming case too? It seems > like it could be. > > > On Wed, Aug 20, 2014 at 11:11 PM, Sergey Lyubka <[email protected]> wrote: > >> Pushed >> https://github.com/cesanta/mongoose/commit/bdb16c624cdffb9c2ea5aaa13d1b26e9fa82672d >> Take a look at the example, >> https://github.com/cesanta/mongoose/blob/master/examples/big_upload.c >> Any comments, suggestions? >> >> -- >> You received this message because you are subscribed to the Google Groups >> "mongoose-users" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected]. >> To post to this group, send email to [email protected]. >> Visit this group at http://groups.google.com/group/mongoose-users. >> For more options, visit https://groups.google.com/d/optout. >> > > -- > You received this message because you are subscribed to the Google Groups > "mongoose-users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/mongoose-users. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "mongoose-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/mongoose-users. For more options, visit https://groups.google.com/d/optout.
