RE: libcurl is unable to load the cookies when constructing a custom HTTP request over IPv6

2012-04-04 Thread Daniel Stenberg
On Wed, 4 Apr 2012, Andrei Cipu wrote: Turns out that while refactoring my code, you introduced another bug (you're duplicating the last char of the IP). We haven't noticed that until we moved to developing from git. Thanks, pushed now. I'm also working on a test case (yes, finally :)), but

Re: [mk-ca-bundle.pl] Missing Newline after chunk data

2012-04-04 Thread Daniel Stenberg
On Wed, 4 Apr 2012, Tim Heckman wrote: The changes in the commit just change the request back to HTTP. This will fix the outstanding issue. Thanks, merged and pushed just now! -- / daniel.haxx.se --- List admin: http://cool.ha

Re: pycurl/libcurl/libfaketime crash in clock_gettime

2012-04-04 Thread Dima Tisnek
Right, will do this and get back soon. d. On 4 April 2012 17:28, Daniel Stenberg wrote: > On Wed, 4 Apr 2012, Dima Tisnek wrote: > >> is fake time is used for testing libcurl and is known to work or is >> broken? it's useful e.g. for testing certificate validity, accelerated >> timeout tests, etc

Re: nss: configure check for PK11_CreateGenericObject()

2012-04-04 Thread Daniel Stenberg
On Wed, 4 Apr 2012, Kamil Dudka wrote: Is anybody against dropping the check for PK11_CreateGenericObject()? It is fine with me. Can you then just make sure docs/INTERNALS lists the correct lowest NSS version we aim to support? -- / daniel.haxx.se -

nss: configure check for PK11_CreateGenericObject()

2012-04-04 Thread Kamil Dudka
Hello, while trying to hack something on the NSS support in libcurl, I spotted that the check for PK11_CreateGenericObject() is not placed at the optimal location in configure.ac. The check runs before the CFLAGS and LDFLAGS are set properly. I guess that now is the time to reconsider whether

Re: pycurl/libcurl/libfaketime crash in clock_gettime

2012-04-04 Thread Gisle Vanem
"Dima Tisnek" wrote: Granted this is hardly an outright bug in pycurl, however I would rather like to track it down. Agreed, I think the bug must be in libfaketime. Ask them. stack head: #0 0x in ?? () #1 0x77bd9a3d in clock_gettime () from /dima/libfaketime/src/

Re: [mk-ca-bundle.pl] Missing Newline after chunk data

2012-04-04 Thread Tim Heckman
On Wednesday, April 4, 2012 at 10:51 AM, Tim Heckman wrote: > > On Sunday, April 1, 2012 at 8:59 AM, Daniel Stenberg wrote: > > > > > It has now been reverted! > > I've submitted a pull request on Github to also revert commit "f7e2ab6", > which is the change that is actually causing the issu

Re: [mk-ca-bundle.pl] Missing Newline after chunk data

2012-04-04 Thread Tim Heckman
On Sunday, April 1, 2012 at 8:59 AM, Daniel Stenberg wrote: > > It has now been reverted! I've submitted a pull request on Github to also revert commit "f7e2ab6", which is the change that is actually causing the issue. Commit "9f0e168" was just adding the option to "LWP::UserAgent" to tell i

Re: pycurl/libcurl/libfaketime crash in clock_gettime

2012-04-04 Thread Daniel Stenberg
On Wed, 4 Apr 2012, Dima Tisnek wrote: is fake time is used for testing libcurl and is known to work or is broken? it's useful e.g. for testing certificate validity, accelerated timeout tests, etc... I don't know. I had never even heard about it until your post just now... any good pointers

How to get directory and file list from current directory on SFTP-server?

2012-04-04 Thread Dmitry
Hi to all! I try to get that by using this code: curl_easy_setopt(m_pCURL, CURLOPT_URL, _pTargetDir); curl_easy_setopt(m_pCURL, CURLOPT_WRITEDATA, &chunk); curl_easy_setopt(m_pCURL, CURLOPT_WRITEFUNCTION, this->WriteMemoryCallback); If pTargetDir pointed to file, than i recieve content of the fi

RTSP Command not completing even though data has been received - "additional stuff not fine transfer.c:1037 0 0"

2012-04-04 Thread Tinus van den Berg
Hi, We have been using the Curl library for our RTSP sessions for quite some time now. We have however run into some issues recently with an IP camera from Panogenics. When we do a DESCRIBE request, we get the callbacks for the header data, and it seems like the transaction is complete, but c

pycurl/libcurl/libfaketime crash in clock_gettime

2012-04-04 Thread Dima Tisnek
Hi, Granted this is hardly an outright bug in pycurl, however I would rather like to track it down. python time.time() and monotonic time(*), cmd line date, ls, etc all work fine with libfaketime; command line curl works fine with libfaketime pycurl/libcurl stack works fine with real time pycurl/

RE: libcurl is unable to load the cookies when constructing a custom HTTP request over IPv6

2012-04-04 Thread Andrei Cipu
> -Original Message- > From: curl-library-boun...@cool.haxx.se [mailto:curl-library- > boun...@cool.haxx.se] On Behalf Of Daniel Stenberg > Sent: Thursday, March 22, 2012 10:02 AM > To: libcurl development > Cc: George Ciobanu > Subject: RE: libcurl is unable to load the cookies when constr

Re: non-blocking ssl connections with PolarSSL

2012-04-04 Thread Dag Ekengren
Thank you, Daniel! Do you think this change will go into the next libcurl release? Regards, Dag On 4 apr 2012, at 00:07, Daniel Stenberg wrote: > On Tue, 27 Mar 2012, Dag Ekengren wrote: > >> Below are my changes as generated by git format-patch. The code is >> "inspired" by the integration w

Re: Strange behavior with multi-interface and async DNS-resolve on windows

2012-04-04 Thread Lijo Antony
On 04/04/2012 01:21 AM, Daniel Stenberg wrote: Are you using a libcurl built with c-ares for name resolves? Yes. I am sorry that I missed to mention this. Very true. libcurl does not guarantee that every socket it uses is created with the callback. In the c-ares case, there's a fix to be made