From: Chris Brannon <chris@the-brannons.com>
To: Adam Thompson <arthompson1990@gmail.com>
Cc: Edbrowse-dev@lists.the-brannons.com
Subject: Re: [Edbrowse-dev] curl handles and general comms design
Date: Mon, 04 Jan 2016 16:38:32 -0800 [thread overview]
Message-ID: <8760z8c12v.fsf@mushroom.localdomain> (raw)
In-Reply-To: <20151229191702.GB1766@122oven.adamthompson.me.uk> (Adam Thompson's message of "Tue, 29 Dec 2015 19:17:02 +0000")
Adam Thompson <arthompson1990@gmail.com> writes:
> To solve the parallel curl handles accessing cookie databases issue,
> there's also the curl-shared interface.
> I believe this can be used with the curl-multi interface since the curl-multi
> interface is single-threaded so no need for mutexes etc.
We're using that now, but with curl easy handles, rather than curl
multi. I don't know what would be involved in moving over to curl multi.
> What this all means I think is that, by combining both interfaces,
> we should be able to create a single-threaded, essentially async, comms layer.
The one problem is that you cannot share persistent connections across
curl easy handles.
Basically, you create a curl multi handle, and then add curl easy
handles to it. So when would we create the individual curl easy
handles?
-- Chris
next prev parent reply other threads:[~2016-01-05 0:37 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-12-29 19:17 Adam Thompson
2015-12-29 19:57 ` Karl Dahlke
2015-12-29 22:27 ` Chris Brannon
2015-12-30 12:01 ` Adam Thompson
2015-12-30 12:26 ` Karl Dahlke
2015-12-30 13:22 ` Adam Thompson
2015-12-30 13:41 ` Karl Dahlke
2016-01-05 0:38 ` Chris Brannon [this message]
2016-01-08 19:43 ` Adam Thompson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=8760z8c12v.fsf@mushroom.localdomain \
--to=chris@the-brannons.com \
--cc=Edbrowse-dev@lists.the-brannons.com \
--cc=arthompson1990@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).