curl-and-python
Re: Problems with multi and MAX_RECV_SPEED_LARGE
Date: Mon, 09 Aug 2010 10:56:41 +0100
On Mon, 2010-08-09 at 10:01 +0100, Chris Elston wrote:
> > Does the C binding code pass on that value as a curl_off_t type argument?
> >
> > There's a quite common problem when people pass in a "long" to a *_LARGE
> > option and that causes errors such as this on 32 bit platforms.
>
> As far as I can tell from pycurl.c, whether or not an option is passed
> as a curl_off_t is controlled by testing the CURLOPTTYPE_OFF_T bitmask
> in the MAX_RECV_SPEED_LARGE define. This is the same for all *_LARGE
> options, so if any of them work then all of them should.
>
> I haven't confirmed this yet, but I will attempt to do so.
I have confirmed this - it is being passed as a curl_off_t.
Cheers,
Chris.
_______________________________________________
http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-and-python
Received on 2010-08-09