Hi -

I posted a while back about writing an on-the-go zip function that creates and 
sends a zip file on the fly.  I have a flag that is set in my callback function 
that tells if the user is downloading a zip file and then when the callback 
finishes, the zip file is done downloading, the flag is reset to user is not 
downloading the zip.  Well, I have run into the case where the user starts the 
download and then presses the cancel button.  The shttpd debug captures the 
disconnect (in the disconnect function in shttpd.c).  I was wondering how I 
could from my callback function that the user disconnected.  Is there some flag 
that is set in the shttpd_arg structure?  I tried checking SHTTPD_END_OF_OUTPUT 
but it didn't seem to set that one.

Any help you can give would be appreciated!

Thanks!
Randy Scheifele

       
---------------------------------
Be a better friend, newshound, and know-it-all with Yahoo! Mobile.  Try it now.
-------------------------------------------------------------------------
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