Vyacheslav Akhmechet wrote:
I'm writing a simple web server and I seem to be running into an issue with keep-alives. It looks like Firefox ignores "Connection: close" in the server response and still attempts to reuse the socket. When I click on links in websites served up by my webserver I get an error message in Firefox that says connection has been reset. If I change Firefox settings not to use keep-alive, or if I change the server not to close the socket after the initial request, the problem disappears.
I suspect you probably have a problem in your code; the web server being written for use in Mozilla testing code in bug 342877[1] has no problem using Connection: close to prevent persistent connections. Any chance you might be able to post what you have in case people here might be able to help figure out what that is? (Also forwarding to the right newsgroup...) Jeff 1. https://bugzilla.mozilla.org/show_bug.cgi?id=342877 -- Rediscover the Web! http://snurl.com/get_firefox Reclaim Your Inbox! http://snurl.com/get_thunderbird _______________________________________________ dev-tech-network mailing list [email protected] https://lists.mozilla.org/listinfo/dev-tech-network
