curl-users
Re: Curl::easy and cookies over proxy
From: Björn Stenberg <bjorn.stenberg_at_contactor.se>
Date: Mon, 18 Mar 2002 15:04:11 +0100 (CET)
Date: Mon, 18 Mar 2002 15:04:11 +0100 (CET)
Daniel Stenberg wrote:
> > Curl::easy::setopt($curl, CURLOPT_COOKIEJAR, \@cookies);
>
> What is this doing? I'm checking the perl binding source code and I
> can't see any particulars that handles CURLOPT_COOKIEJAR differently
> than libcurl itself. libcurl assumes a file name to be passed to the
> CURLOPT_COOKIEJAR option, and it reads/stores cookies in the given
> file name...
Hmm, you may be right. I was assuming CURLOPT_COOKIEJAR would work the
same as CURLOPT_FILE, but looking in easy.c this does not seem to be the
case.
But replacing \@cookies with "cookie.jar" makes no difference. No file is
created.
-- BjörnReceived on 2002-03-18