curl-and-python

Re: HTTPS with multiple threads

From: Kjetil Jacobsen <kjetilja_at_gmail.com>
Date: Tue, 2 Oct 2007 21:52:01 +0200

yes, upgrade to pycurl 7.15.5.1 - this will also require you to update
libcurl to 7.15.5.

regards,
    - kjetil

On 10/2/07, Mitra Kelly <M.Kelly_at_f5.com> wrote:
>
> I am running 7.15.0 on Ubuntu. Do I need to upgrade?
>
>
>
> *From:* curl-and-python-bounces_at_cool.haxx.se [mailto:
> curl-and-python-bounces_at_cool.haxx.se] *On Behalf Of *Kjetil Jacobsen
> *Sent:* Tuesday, October 02, 2007 11:34 AM
> *To:* curl with python
> *Subject:* Re: HTTPS with multiple threads
>
>
>
> hi,
>
> which version of pycurl are you using? we fixed a few ssl mutex lock bugs
> in version 7.15.5.1...
>
> regards,
> - kjetil
>
> On 10/2/07, *Mitra Kelly *<M.Kelly_at_f5.com> wrote:
>
> Hi,
>
>
>
> I have a small python and curl test application that creates several
> threads which crawl websites in parallel for the pyrpose of creating load on
> a server. It works great unless I point it at an HTTPS site. Then it crashes
> with the error "python: ath.c:184: _*gcry_ath_mutex*_lock: Assertion
> '*lock == ((ath_mutex_t) 0)' failed." After visiting the site a small but
> variable number of times. It is clearly a thread safety issue. I don't have
> this problem with HTTP sites, only HTTPS sites. Can anyone tell me how to
> fix this problem? I did research and it sounds like it has to do with crypto
> callbacks but I could only find examples of how to deal with this problem in
> the C version of libcurl. How do I deal with it in python with pycurl?
>
>
>
> Thanks very much,
>
> *Mitra Kelly* *|* Product Management Engineer
>
> *F5 Networks *
>
> * P* 206.272.6380
>
> * F* 206.272.5556
>
> www.f5.com
>
> * D* 206.555.5555
>
> * M* 206.555.5555
>
> *Error! Filename not specified.*
>
>
>
>
>
>
> _______________________________________________
> http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-and-python
>
>
>
>
> _______________________________________________
> http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-and-python
>
>

_______________________________________________
http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-and-python
Received on 2007-10-02