Re: [dev] Re: [surf] cookie race condition for multiple instances?

From: Ray Kohler <ataraxia937_AT_gmail.com>
Date: Sat, 5 Sep 2009 11:11:25 -0400

On Sat, Sep 5, 2009 at 5:17 AM, Aurélien Aptel<aurelien.aptel_AT_gmail.com> wrote:
> On Sat, Sep 5, 2009 at 8:02 AM, Enno Boland (Gottox)<gottox_AT_gmail.com> wrote:
>> Hey!
>>
>> I hope I get some free time tomorrow to get cookies working more properly.
>>
>>> FWIW, in uzbl we use an external script to take care of cookie storage and retrieval.
>>> wmich makes it easy to support concurrency and multiple instances can easily share the same script (storage).
>> Thanks for the hint. I'll take a look at the uzbl source. I think,
>> after cookies are working, it's time to release 0.1.
>>
>> For 0.2 I still need an half way sane downloading functionality.
>>
> Why not just simply use something like flock(2) ?

Unless the aim is to prevent multiple instances entirely, the flock()
would have to be done in libsoup rather than in surf.
Received on Sat Sep 05 2009 - 15:11:25 UTC

This archive was generated by hypermail 2.2.0 : Sat Sep 05 2009 - 15:24:01 UTC