cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: [new feature] Maximum limitation of cookies.

From: YAMADA Yasuharu <yasuharu.yamada_at_access-company.com>
Date: Tue, 7 May 2013 14:39:02 +0900

Hi Daniel,

2013/5/3 Daniel Stenberg <daniel_at_haxx.se>

>
> * CURLSHOPT_MAXCOOKIES - the share interface is mention to control what
> the
> shared object should share. It is not for setting options within the
> data
> it shares. This option isn't matching that concept. CURLOPT_MAXCOOKIES
> should be enough!
>

I understand the concept now. Umm...

I have a question.
When using one share object and many easy object in multi, application must
set
the same value to CURLOPT_MAXCOOKIES to every easy object and these
curl_easy_setopt function sets valuable of share every time.
Is it correct usage of libcurl?

I thought this is verbose and it should use share interface to set
valuables of share,
so I defined the CURLSHOPT_MAXCOOKIES.

> * Why is 'access_time' made as a curl_off_t when it assigns it a time_t
> anyway ?

cURL defines expires of struct Cookie as a curl_off_t.
It should be time_t?

Best regards,
thanks
===============
YAMADA Yasuharu
ACCESS CO., LTD.
Yasuharu.Yamada_at_access-company.com

-- 
.
________________________________________
The contents of this e-mail message and any attachments are confidential and are intended solely for the addressee. The information may also be legally privileged. 
This transmission is sent in trust, and the sole purpose of delivery to the intended recipient. If you have received this transmission in error, any use, reproduction or dissemination of this transmission is strictly prohibited. 
If you are not the intended recipient, please immediately notify the sender by reply e-mailer and delete this message and its attachments, if any.
Thank you for your cooperation.
________________________________________

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2013-05-07