cURL / Mailing Lists / curl-library / Single Mail

curl-library

RE: Cache in curl

From: Lorenzo Pastrana <pastrana_at_ultraflat.net>
Date: Fri, 27 Sep 2002 19:57:00 +0200

> >
> > What can we do about this?
>
> Do you really need a cookie "flush" function to get the cache working?

Well, not the cache for itself but the 'kiss' c++ interface it belongs to...

> > Is committing this micro-patch really a PITA?
>
> No, committing a patch is in itself not very hard work.
>
> BUT
>
> I need documentation. Include file modification. Preferably a few example

This won't be diffucult to do, if it's all you need.. ;)

> sources. And then, all this for a function I would rather not have since it
> duplicates the same functionality (is a subset of) the upcoming "share
> system". Also, an added public function to a widely used library does't get
> removed again very easily and certainly not very soon.

Yep, I understand that..

It could be annotated as 'TEMPORARY'? while waiting for the 'share system'... in
case the new API enforce its usage? Or will current users be able to link
against curl width their current code?
If you are talking about a 'brand new curl' maybe current users could still need
a cookie flush to get per-file cookie support on actual multi interface (/w
persistant connections)... may be I'm missing something.

> I would so much prefer to see this becoming the first kind of sharable data
> in the share system and *tada* then you would be able to do this too. Yes,
> that requires more code and a bigger patch, but that would be going in the
> already preset direction.
>
> Adding your function now would solve this problem for you. For me, it'll open
> a can of worms.

... mmmh I'm not sure the can is *SO* rotten ;)

> > As a rather windowish coder I'm not so used to diffs practices &al.. what
> > would you reccomend to avoid static linking?
>
> I don't think I understand your question. To avoid static linking, can't you
> use dynamic linking (shared/DLL/runtime or whatever name you pick)?

yep! but not having the function in the standard curl distro would force me to
mantain a 'branch'.. :(

> I don't see this happen for 7.10.

I'm not in sutch a hurry...
things work OK for me at the moment... I can wait to get a little more infos on
the new API before I post the stuff anyway..

Cheers.
Lo.

-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
Received on 2002-09-27