Hi Sergey, I'm trying your web server, congratulations for the job!
I've did a little fix and would like to share this with you. You probably have fixed this already, but I felt like in a need to send you. The problem is related with "shttpd_handle_error". When a registered error occurs, the user data that come inside "arg->user_data" in the callback function was arriving with a NULL pointer. The fix was in the shttpd.c, in the function "send_server_error", the only line I've changed is the following one: from: setup_embedded_stream(c, e->callback, NULL); to: setup_embedded_stream(c, e->callback, e->callback_data); Hope this can improve your tool. Best regards, Carlos Barcellos. ------------------------------------------------------------------------- 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
