Re: Adressing inaccurate timeout timers for the multi API

2014-01-07 Thread Daniel Stenberg
On Tue, 7 Jan 2014, Dima Tisnek wrote: Daniel, I read your message 3 times and still can't quite grasp all the logic. Could you perhaps rephrase it a bit? The hardest to digest was "application says TIMEOUT and libcurl ...", what does it mean "to say" here, some API call where timeout value i

Re: bug in curl when using threaded resolver but no IPv6 since 7.34.0, all connections time out

2014-01-07 Thread Daniel Stenberg
On Tue, 7 Jan 2014, Fabian Frank wrote: Using git bisect we were able to isolate the following commit: https://github.com/bagder/curl/commit/02fbc26d59c59170fd358034b04a43d8e9b7c78f Thanks for your report! Can you please try out a libcurl from git/daily snapshot and see if this problem remain

bug in curl when using threaded resolver but no IPv6 since 7.34.0, all connections time out

2014-01-07 Thread Fabian Frank
Hi Guys, My colleague Eric and I are using libcurl and think we have found a bug in the way cURL connects to other hosts. The bug in question results in the following error: $ src/curl --connect-timeout 5 www.yahoo.com curl: (28) Connection timed out after 5520 milliseconds The error reproduce

Re: build/use curl for linux

2014-01-07 Thread Dung Nguyen
env PKG_CONFIG_PATH=/usr/local/ssl/lib/pkgconfig ./configure --with-ssl env PKG_CONFIG_PATH=/opt/OpenSSL/lib/pkgconfig ./configure --with-ssl also result in error *checking whether to enable iOS/Mac OS X native SSL/TLS... no* *checking for pkg-config... /usr/bin/pkg-config* *checking for opens

Re: build/use curl for linux

2014-01-07 Thread Dan Fandrich
On Tue, Jan 07, 2014 at 09:43:27AM +0700, Dung Nguyen wrote: > ok, i was trying build curl + ssl > at first i download curl src, open ssl src, put all in desktop  > curl > curl/opt/openssl > > i install openssl > ./config > sudo make > sudo make install > > trying to configure curl > ./configure

Re: crash in iOS build

2014-01-07 Thread Daniel Stenberg
On Tue, 7 Jan 2014, Brett Harrison wrote: I am trying to update our libcurl library from 7.21.3 to 7.33.0. I am getting a rare but occasional crash with the new library. Do you know of any changes in how I should use curl_multi_perform between 7.21.3 to 7.33.0? Using 7.21.3 I do not get this

crash in iOS build

2014-01-07 Thread Brett Harrison
Hi, I am trying to update our libcurl library from 7.21.3 to 7.33.0. I am getting a rare but occasional crash with the new library. Do you know of any changes in how I should use curl_multi_perform between 7.21.3 to 7.33.0? Using 7.21.3 I do not get this crash. I am using the libcurl iOS build

release planning and dates

2014-01-07 Thread Daniel Stenberg
Hi friends, I've set the date for the 7.35.0 release just now: February 8th ... which means that we close the feature windows very soon, on January 11th. If you want something new to get included in the next release, you better hurry up. (I selected this slightly date because some work re

Re: SSL certificate problem diffrent behavior

2014-01-07 Thread Dima Tisnek
please validate both platforms with "openssl s_client" first. when it comes to embedded, the first error cause that comes to mind is wrong or unset system time. date and time are required to validate certificate chain. On 3 January 2014 18:43, bill dr wrote: > Hi all, > I am using libcurl to down

Re: Adressing inaccurate timeout timers for the multi API

2014-01-07 Thread Dima Tisnek
Daniel, I read your message 3 times and still can't quite grasp all the logic. Could you perhaps rephrase it a bit? The hardest to digest was "application says TIMEOUT and libcurl ...", what does it mean "to say" here, some API call where timeout value is included? or a separate call? If it is the

RE: Bug with NTLM implementation

2014-01-07 Thread Yehezkel Horowitz
> If a connection is established to a server and authenticated via NTLM, > and one changes the CURLOPT_USERNAME or CURLOPT_PASSWORD, keeping the > URL the same, libcurl re-uses the older authenticated connection, > effectively ignoring the new user. Isn't this a security issue (which we should

Re: Best Way to stop current running easy handle/Multi handle

2014-01-07 Thread Stefano D. Mtangoo
On 07/01/2014 12:00 alasiri, Cédric Deltheil wrote: Le 7 janv. 2014 à 09:50, "Stefano D. Mtangoo" a écrit : I want to just cancel current task (stop transfer or whatever is happening with multi/easy) is calling easy/multi cleanup a way to go? If no is libcurl having such mechanism? You can f

Re: Best Way to stop current running easy handle/Multi handle

2014-01-07 Thread Cédric Deltheil
Le 7 janv. 2014 à 09:50, "Stefano D. Mtangoo" a écrit : > I want to just cancel > current task (stop transfer or whatever is happening with multi/easy) > is calling easy/multi cleanup a way to go? If no is libcurl having such > mechanism? You can find the official guidelines here (FAQ): http

Re: Bug with NTLM implementation

2014-01-07 Thread Daniel Stenberg
On Tue, 7 Jan 2014, Paras S wrote: If a connection is established to a server and authenticated via NTLM, and one changes the CURLOPT_USERNAME or CURLOPT_PASSWORD, keeping the URL the same, libcurl re-uses the older authenticated connection, effectively ignoring the new user. Fix is attached

Best Way to stop current running easy handle/Multi handle

2014-01-07 Thread Stefano D. Mtangoo
Hi, I need to implement cancel task to cancel current operation. For some task like uploading single file, I just use simple easy_handle and in other like uploading many files I use multi. I want to just cancel current task (stop transfer or whatever is happening with multi/easy) is calling easy/m

RE: Authentication procedure

2014-01-07 Thread Shao, Shuchao
-Original Message- From: curl-library [mailto:curl-library-boun...@cool.haxx.se] On Behalf Of Daniel Stenberg Sent: Tuesday, January 07, 2014 16:17 To: libcurl development Subject: Re: Authentication procedure >Oops, I meant to write that *without* authentication. >Ie, libcurl only sen

Re: Authentication procedure

2014-01-07 Thread Daniel Stenberg
On Tue, 7 Jan 2014, Daniel Stenberg wrote: Only if you explictitly tell it to. You can OR the CURLAUTH_ONLY value to the auth type and you'll get libcurl to send a first request with authentication. Oops, I meant to write that *without* authentication. Ie, libcurl only sends the auth in the

Re: Authentication procedure

2014-01-07 Thread Daniel Stenberg
On Tue, 7 Jan 2014, Shao, Shuchao wrote: Libcurl send the authentication data with the first GET request, it is not like the IE, firefox etc. IE (firefox etc.) send the authentication data after receiving the 407/401 response code. Only if you explictitly tell it to. You can OR the CURLAUTH_O