I presume, this is what happens:
At first request, SHTTPD does usual things and
your callback gets the HTTP data, as normal.
Then, when you hit refresh, firefox uses the same connection
to send next request, i.e. keep-alive.
Your callback is called second time for the same connection.
Although it is a new request, SHTTPD does not know that,
thinks this is HTTP data. That's why you see full request.
Is that true that firefox does not close the connection
even though you sent "Connection: close" header ?
sergey
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
shttpd-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/shttpd-general