cURL / Mailing Lists / curl-users / Single Mail

curl-users

RE: Question regarding using the ssl sessionid usage

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Fri, 3 Apr 2009 09:01:49 +0200 (CEST)

On Thu, 2 Apr 2009, Niranjan Ramakrishnan wrote:

Please don't top-post.

> 2. When I invoke curl -k https://URL-PATH curl -k https://URL-PATH curl -k
> https://URL-PATH , all three requests happen within the same TCP connection
> and so the question of sessionid reuse does not arise.

If you're lucky, yes.

But some servers or conditions will force the TCP connection to get closed
after each HTTPS request and if URL-PATH in the command line above identifies
such a server/condition, libcurl will use the session-id cache for each
re-connect in this scenario.

-- 
  Daniel
-------------------------------------------------------------------
List admin: http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-users
FAQ:        http://curl.haxx.se/docs/faq.html
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2009-04-03