Re: OT http protocol question & another http question

From: Date: Mon, 28 Aug 2000 23:02:30 +0000
Subject: Re: OT http protocol question & another http question
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-14018@lists.php.net to get a copy of this message
"WILSON, Nick" wrote: > The header Connection Keep-Alive appears to be causing me trouble. Will I > have to not close the socket and just keep reading and waiting for the site to send > me more text ? I thought http was open, send request, receive response, close each > time ? HTTP 1.0 is like that. Keeping the same connection open for multiple requests is feature added to HTTP 1.1 IRC. I'm guessing, but using HTTP 1.0 should stop keep alive, although if I were you I would have a look at the HTTP 1.1 spec to see how you should handle keep-alive and how you can turn them off. -- Simon Edwards Animated Design, Melbourne http://www.animated.net.au/ Ph: (03) 98850990

« previous php.general (#14018) next »