I'll look into it and come up with some documentation about my findings.
On Thursday, November 8, 2012 at 4:36 PM, Tasos Laskos wrote:
> I'm not sure what that means to be honest...
>
> You can't share handles but you can pass them between threads but never
> use the same handle from more than one thread.
>
> However, I think that not having to worry about that in Ruby would be
> very nice and is worth looking into.
>
> Unfortunately, I won't have time to look into this myself until it comes
> time to port my system to v0.5.
>
> On 11/08/2012 05:05 PM, Hans Hasselberg wrote:
> > Hey Tasos,
> >
> > I'm not sure wether Typhoeus is thread-safe - I think it is, but you still must be careful (
http://curl.haxx.se/libcurl/c/libcurl-tutorial.html under Multi-threading Issues):
> >
> > The first basic rule is that you must never simultaneously share a libcurl handle (be it easy or multi or whatever) between multiple threads. Only use one handle in one thread at any time. You can pass the handles around among threads, but you must never use a single handle from more than one thread at any given time.
> >