Re: is there keep-alive support in HTTP_Request2?
| From: | Alexey Borzov | Date: | Mon, 24 Nov 2008 23:03:13 +0000 |
| Subject: | Re: is there keep-alive support in HTTP_Request2? | ||
| References: | 1 2 3 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-51136@lists.php.net to get a copy of this message | ||
Hi Marc,
Marc Vaillant wrote:
The stuff your server is sending is *not* HTTP responses, but HTTP requests! POST / HTTP/1.1 Host: User-Agent: gSOAP/2.7 definitely doesn't look like a response to me. Dunno how exactly one should work with that server, but HTTP_Request2's scope is sending requests and parsing responses, not vice-versa...I only see a single HTTP request being done in your attached example, so the above doesn't quite apply to it. You'll have to clarify what you and your server mean by "keep-alive support".It's a single request to the server and the server sends multiple responses. Also attached is a socket based client with response output. The connection it creates doesn't get dropped.