cURL / Mailing Lists / curl-and-php / Single Mail

curl-and-php

RE: Re[2]: Persistent SSL sessions ?

From: Andrew Hazen <andrewhazen_at_jatech.ca>
Date: Tue, 11 Feb 2003 14:18:01 -0500

I actually have a client with php/mysql running on an NT box where we
use cURL to post into another site. To accomplish what we needed
required 2-3 posts within the same session. I instantiated the cURL
handle once, and used the same handle for multiple posts, capturing
return values each time.

I then tried the same trick on a Unix BSD server and it wouldn't work.
I didn't realize it wasn't supposed to work!

I think the NT was running php 4.1, and the BSD had PHP 4.2 or something
like that.

Andrew Hazen
www.jatech.ca
andrewhazen_at_jatech.ca
andrewhazen_at_rogers.com

-----Original Message-----
From: curl-and-php-admin_at_lists.sourceforge.net
[mailto:curl-and-php-admin_at_lists.sourceforge.net] On Behalf Of
BAUMEISTER Alexandre
Sent: Tuesday, February 11, 2003 2:00 PM
To: Daniel Stenberg
Cc: curl and php list
Subject: Re[2]: Persistent SSL sessions ?

Bonjour Daniel,

  A few months ago we had this exchange about "SSL Session ID cache"
  in cURL PHP module. Do you have some fresh news about this issue ?

  Kind regards,
  Alex.

DS> On Mon, 21 Oct 2002, BAUMEISTER Alexandre wrote:

>> cURL() uses an SSL connection cache in order to re-use already
>> existing connections. This prevents from doing a SSL handshake
for
>> each queries.

DS> "Session ID cache" is the more correct name.

>> Are there plans to make this cache persistent just like
Mysql
>> persistent connect ?

DS> I believe I've mentioned something like that in the TODO, but I
doubt you'll
DS> catch me doing this in the nearest time.

>> Would it be difficult ?

DS> I don't think so, but we need to add an API that allows
export/import of that
DS> information.

-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com

-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
Received on 2003-02-11