ftp problems

2013-07-12 Thread Clemens Gruber
Hello, I have problems with a FTP transfer: It works with the verbose option set, but not without it. With the curl tool, the following works: curl -v -o testfile —disable-eprt -P - —user usr:pw ftp://192.168.0.100/testfile But this doesn’t: curl -o testfile —disable-eprt -P - —user usr:pw ftp

Re: Getting version error even though my version is latest for RTSP

2013-07-12 Thread Amit Pal
I made it work... Thanks.. i have one question. Please correct my understanding about CURLOPT_RTSP_SESSION_ID I DO NOT want to do a setup through this interface. In my Architecture, setup happens via different component and that component passes me the session id. Can I use that session id and s

Re: New SSL backend GSKit, certinfo for everyone, etc.

2013-07-12 Thread Oscar Koeroo
On 12-07-13 21:54, Dan Fandrich wrote: > On Fri, Jul 12, 2013 at 05:33:26PM +0200, Patrick Monnerat wrote: >> Please find a big patch in attachment: I've taken a look at the code and I've spotted a problem in the reuse of the variable 'i' in the function Curl_verifyhost(): The result of utf8asn1s

Re: New SSL backend GSKit, certinfo for everyone, etc.

2013-07-12 Thread Dan Fandrich
On Fri, Jul 12, 2013 at 05:33:26PM +0200, Patrick Monnerat wrote: > Please find a big patch in attachment: 138KB. Yup. Any chance of splitting it into at least two parts, the OS400 stuff and everything else? > It implements a new SSL backend: GSKit. It runs on OS400, but IBM > supports it on othe

Re: strdup

2013-07-12 Thread Dan Fandrich
On Fri, Jul 12, 2013 at 07:57:04PM +0200, Yang Tse wrote: > If memory serves me, long time ago Dan Fandrich also had some > platforms without strdup. That does sound familiar, but I lost access to my mini-build farm of odd and obsolete platforms some time ago, and I don't recall which one it was.

Re: New SSL backend GSKit, certinfo for everyone, etc.

2013-07-12 Thread Yang Tse
> Your comments are welcome. Patch looks good to me. -- -=[Yang]=- --- List admin: http://cool.haxx.se/list/listinfo/curl-library Etiquette: http://curl.haxx.se/mail/etiquette.html

Re: New SSL backend GSKit, certinfo for everyone, etc.

2013-07-12 Thread David Strauss
For the sake of Fedora/Red Hat users like me whose libcurl is NSS-linked, +1 on making certinfo more abstract. On Fri, Jul 12, 2013 at 8:33 AM, Patrick Monnerat wrote: > > Please find a big patch in attachment: > > It implements a new SSL backend: GSKit. It runs on OS400, but IBM > supports it on

Re: strdup

2013-07-12 Thread Yang Tse
Patrick Monnerat wrote: > Your patch is OK for lib1900.c, but not for lib509.c because it uses > > (strdup)(ptr) > > However by changing your patch to > > #define strdup curlx_strdup > > It compiles fine with that. Hi :-) I don't foresee any problem in libtest programs if your #define was used.

Re: strdup

2013-07-12 Thread Ryan
On Jul 12, 2013, at 11:34 PM, Tor Arntsen wrote: > On 12 July 2013 15:18, Ryan wrote: > >> Upon further examination, I see that the patch is quite trivial and not >> worth any fuss. But to an initial observer, saying you're submitting an >> untested patch sounds a bit sketchy to me. You obvio

RE: strdup

2013-07-12 Thread Patrick Monnerat
On 12 July 2013 15:18, Ryan wrote: > Upon further examination, I see that the patch is quite trivial and not worth any fuss. But to an initial observer, saying you're submitting an untested patch sounds a bit sketchy to me. You obviously have a different opinion. Please don't troll on it. My i

Re: strdup

2013-07-12 Thread Tor Arntsen
On 12 July 2013 15:18, Ryan wrote: > Upon further examination, I see that the patch is quite trivial and not worth > any fuss. But to an initial observer, saying you're submitting an untested > patch sounds a bit sketchy to me. You obviously have a different opinion. I hope you realize that th

HTTP requests often take longer (150 milliseconds) in latest cURL

2013-07-12 Thread Andreas Malzahn
Hi, When upgrading our application from cURL version 1.25 to 1.31, many HTTP requests take now longer - time increased from 40- 60ms to 151ms. Our application does many HTTP requests per second to localhost using curl easy interface. (TMS server) I traced the problem back to curl_easy_perf

Re: SFTP Public-Key Authentication

2013-07-12 Thread Ryan
On Jul 12, 2013, at 4:28 AM, Saddam Quirem wrote: > I've been trying to upload a file using SFTP with libcurl using public-key > authentication, but have had no luck. > > In my `/etc/ssh/sshd_config` file I have turned off password authentication > and > enabled public-key and RSA authenticati

Re: strdup

2013-07-12 Thread Ryan
On Jul 12, 2013, at 6:47 PM, Yang Tse wrote: > On Fri, Jul 12, 2013 at 12:12 PM, Ryan wrote: >> On Jul 12, 2013, at 5:58 PM, Yang Tse wrote: >> Does anybody has some hint how to make them compilable, still preserving them for platforms implementing strdup() ? >>> >>> Attached (compl

RE: strdup

2013-07-12 Thread Patrick Monnerat
Yang Tse wrote: > Attached (completely untested) patch should fix the issue. At least, as long as libcurl isn't built as a shared library with symbol hiding enabled. > Give it a try, Your patch is OK for lib1900.c, but not for lib509.c because it uses (strdup)(ptr) However by changing your pat

Re: strdup

2013-07-12 Thread Yang Tse
On Fri, Jul 12, 2013 at 12:12 PM, Ryan wrote: > On Jul 12, 2013, at 5:58 PM, Yang Tse wrote: > >>> Does anybody has some hint how to make them compilable, still preserving >>> them for platforms implementing strdup() ? >> >> Attached (completely untested) patch should fix the issue. At least, >>

Re: setup-vms.h patch needed for curl 7.31 and later.

2013-07-12 Thread Yang Tse
> setup-vms_h.gdiff Pushed. Thanks, -- -=[Yang]=- --- List admin: http://cool.haxx.se/list/listinfo/curl-library Etiquette: http://curl.haxx.se/mail/etiquette.html

Re: strdup

2013-07-12 Thread Ryan
On Jul 12, 2013, at 5:58 PM, Yang Tse wrote: >> Does anybody has some hint how to make them compilable, still preserving >> them for platforms implementing strdup() ? > > Attached (completely untested) patch should fix the issue. At least, > as long as libcurl isn't built as a shared library wit

Re: strdup

2013-07-12 Thread Yang Tse
> Does anybody has some hint how to make them compilable, still preserving > them for platforms implementing strdup() ? Attached (completely untested) patch should fix the issue. At least, as long as libcurl isn't built as a shared library with symbol hiding enabled. Give it a try, -- -=[Yang]=-

strdup

2013-07-12 Thread Patrick Monnerat
Hi friends, There are two test programs that do not compile if the platform does not support strdup(), even if HAVE_STRDUP is undefined: lib509.c and lib1900.c. Does anybody has some hint how to make them compilable, still preserving them for platforms implementing strdup() ? The library comp

Re: default path for CURLOPT_CAINFO changed from 7.30.0 to 7.31.0

2013-07-12 Thread Chris Ghormley
Ryan wrote: > Did you look in the release notes? Surely a change like that would be > noticeable or at least documented. Yes, I did look in the release notes but didn't find anything. Among the many other changes I wouldn't be surprised if something like this slipped through without special com

SFTP Public-Key Authentication

2013-07-12 Thread Saddam Quirem
I've been trying to upload a file using SFTP with libcurl using public-key authentication, but have had no luck. In my `/etc/ssh/sshd_config` file I have turned off password authentication and enabled public-key and RSA authentication. I have created a public and private key pair in my `$HOME/