'Adriano Camargo Rodrigues da Cunha' wrote about 'Re: MSX running UZIX webserver' - Mon, Apr 22, 2002 at 04:59:11PM CEST > > > Alas, it went down within a few hours. httpd only printing '+' > > repeatedly on console.. Reboot fixed this for now. > > '+' signs are the secret signal for 'fudeba, i am out of memory!'. :P > Too much broken connections in a short period of time causes this. I must > get a better way of dealing with this problem... > > > Adriano: Also due to reasons beyond my comprehension, sometimes it > > fails to send either one of the pictures included in the page. It > > seems httpd misses either one of the get requests the browser sends.. > > Maybe the browser sends multiple requests at the same time? Can the > > http protocol distinguish between single and multithreaded webservers? > > I also noted this behaviour. I think that this is a client fault. I read > the entire HTTP RFC (don't remember the number now) and the > version "HTTP/1.0" and option "Connection: close" should be enough for > client making just ONE connection at a time. At home, Netscape 4.75 worked > fine, but Mozilla 0.99 not. Seems that most browsers assume a multithreaded > webservers. Maybe I understood the RFC wrongly? Anybody knows more about > this subject?
I read the HTTP RFC's also, and indeed, I remember the same thing about Connection: close, soo I asume you are correct, this tells the client to close the connection, and then use a new connection for the next request. Yet still, if to many people start trying to connect/reconnect, I think your UZIX webserver or perhaps the IP stack will very easially run out of memory? Of course I don't know enough about UZIX :) Joost -- For info, see http://www.stack.nl/~wynke/MSX/listinfo.html
