curl-and-php
Re: Persistent connections ?
From: Daniel Stenberg <daniel_at_haxx.se>
Date: Sun, 28 Jul 2002 20:03:55 +0200 (MET DST)
Date: Sun, 28 Jul 2002 20:03:55 +0200 (MET DST)
On Fri, 19 Jul 2002, BAUMEISTER Alexandre wrote:
> I have 2 queries to do to the same HTTPS server from my PHP scripts.
>
> Second query depends on result of first query.
>
> What is cURL doing exactly at the second curl_exec() ? 2 requests to
> $URL1 and $URL2 or only one request to $URL2 but appending the
> result to previous execution result.
>
> Is it possible to clean the URL option between the two executions ?
AFAIK, the PHP/CURL module does not support persistent connections the way
you try to use them. libcurl itself has no problem at all with doing exactly
what you tried to.
-- Daniel Stenberg -- curl groks URLs ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sfReceived on 2002-07-28