Incorrect Digest Username with Diegst Auth

2013-04-10 Thread sumit gambhir
Hi, I am running command line tool of Curl and made a GET request with Digest Authentication. Digest Username : - sip:al...@example.com Digest Password : - password curl.exe --digest -u sip:al...@example.com:password http://system:8080/resource-lists/users/sip:al...@example.com/index--header x

Re: curl_share and persistent connections

2013-04-10 Thread Nick Zitzmann
On Apr 10, 2013, at 6:32 PM, David Strauss wrote: > The share interface documentation [1] specifies that DNS lookups and > cookie data get shared, but is there an exhaustive list of what gets > shared? I'm not sure if there is one or not, but I can produce one for you: 1. Cookies (if HTTP supp

DNS-based cluster awareness for connection pools and pipelines

2013-04-10 Thread David Strauss
I see some exciting pipeline-management features landing in new cURL releases that balance connections to the same hostname. Is there any interest in extending such support to balancing/fail-over between multiple A/ records returned for a domain? Since cURL seems to prefer its own DNS client, i

curl_share and persistent connections

2013-04-10 Thread David Strauss
The share interface documentation [1] specifies that DNS lookups and cookie data get shared, but is there an exhaustive list of what gets shared? Specifically, do persistent connections get shared? [1] http://curl.haxx.se/libcurl/c/libcurl-share.html -- David Strauss | da...@davidstrauss.net

Curl - SQLite and temp files - large dentry cache

2013-04-10 Thread Rocky Downs
Hi, I have created an application using libcurl. I have found the application causes large memory consumption with the dentry cache. I think that I have it traced down to temporary files created by SQLite (or support for it?). I found this using a strace of curl when getting a URL, https, th

Re: [patch] tailmatch() returns true for invalid host.

2013-04-10 Thread YAMADA Yasuharu
2013/4/10 Daniel Stenberg > On Wed, 10 Apr 2013, YAMADA Yasuharu wrote: > > The point is the second flag of cookie data file. This flag is tail >> match flag. I attach a patch for test1216. Please check it. >> > > Right, that does show it... Can you think of a way to make a test case > similar

Re: Error codes from SFTP

2013-04-10 Thread Sam Deane
On 10 Apr 2013, at 23:30, Dan Fandrich wrote: > sshc->quote_path2 should be NULL whenever it's not used, and it always needs > to > be freed whenever it's non-NULL, so you should be able to remove free2 > altogether > and always call Curl_safefree on it. Ah yes, I was going to ask about that.

Re: Error codes from SFTP

2013-04-10 Thread Dan Fandrich
On Wed, Apr 10, 2013 at 08:08:59PM +0100, Sam Deane wrote: > On the topic of SFTP, am I right in thinking that there's no way to retrieve > the error code from an SFTP quote command that has failed? > > It seems that the error string returned by sftp_libssh2_strerror is output, > but not the cod

Re: Name lookup/DNS resolution mechanism of libcurl

2013-04-10 Thread Daniel Stenberg
On Wed, 10 Apr 2013, Michael-O wrote: Add an alias for ENABLE_THREADS_WIN32 as ENABLE_ASYNC_DNS if this define is for DNS only. Threads win22 says absolutely nothing at least to me. We have two different ways to provide asynchronous DNS! Threads and c-ares. -- / daniel.haxx.se -

Re: How to see hidden files on ftp server

2013-04-10 Thread Daniel Stenberg
On Wed, 10 Apr 2013, Anders Havn wrote: How do I use the "LIST -a" with curl_easy_setopt? Set CURLOPT_CUSTOMREQUEST to that string and use a URL that ends with a trailing slash. -- / daniel.haxx.se --- List admin: http://cool

Re: SFTP transcript

2013-04-10 Thread Sam Deane
On 10 Apr 2013, at 21:13, Daniel Stenberg wrote: > On Wed, 10 Apr 2013, Sam Deane wrote: > >> Ah yeah, I guess that makes sense. I was fooled by the existence of the >> quote commands (chmod/rm/etc) into thinking of it as essentially still a >> text based protocol, just tunnelled over ssh. If

Re: SFTP transcript

2013-04-10 Thread Daniel Stenberg
On Wed, 10 Apr 2013, Sam Deane wrote: Ah yeah, I guess that makes sense. I was fooled by the existence of the quote commands (chmod/rm/etc) into thinking of it as essentially still a text based protocol, just tunnelled over ssh. If that's not the case, then I can see the problem :) SFTP is a

Re: Name lookup/DNS resolution mechanism of libcurl

2013-04-10 Thread Michael-O
Am 2013-04-10 04:40, schrieb Yang Tse: Hi Gün, On Wed, Apr 10, 2013, Guenter wrote: honestly I'm not happy with that hack, and if someone has something better in mind please speak up! Modify Makefile.m32 in order to make it define one out of three possibilities "ENABLE_ARES", "ENABLE_SYNC_D

Re: Name lookup/DNS resolution mechanism of libcurl

2013-04-10 Thread Michael-O
Am 2013-04-09 21:10, schrieb Guenter: Hi Mike, On 09.04.2013 20:46, Michael-O wrote: Am 2013-04-09 20:31, schrieb Guenter: yes, today commited two patches - one for curl and one for c-ares ... Do you want to to clone from Git and test it? sure, that would be great! But remember that Daniel m

Error codes from SFTP

2013-04-10 Thread Sam Deane
On the topic of SFTP, am I right in thinking that there's no way to retrieve the error code from an SFTP quote command that has failed? It seems that the error string returned by sftp_libssh2_strerror is output, but not the code itself. It seems a little bit fiddly to have to parse the strings

Re: SFTP transcript

2013-04-10 Thread Sam Deane
On 10 Apr 2013, at 17:17, Nick Zitzmann wrote: > SFTP is a binary protocol, FTP is a text protocol. So you can't really get a > readable "transcript" of SFTP unless you print a human-readable description > of what's going on. And glancing at the code, it looks like libcurl is doing > this for

Re: release delayed 48 hours

2013-04-10 Thread Alessandro Ghedini
On mer, apr 10, 2013 at 07:34:59 +0200, Daniel Stenberg wrote: > hiya, > > Due to a security related issue we're dealing with, the release is > being delayed some 48 hours or so. I plan to instead release 7.30.0 > on Friday the 12th... Is this serious? I'm asking because I won't be able to work o

release delayed 48 hours

2013-04-10 Thread Daniel Stenberg
hiya, Due to a security related issue we're dealing with, the release is being delayed some 48 hours or so. I plan to instead release 7.30.0 on Friday the 12th... -- / daniel.haxx.se --- List admin: http://cool.haxx.se/list/lis

Re: SFTP transcript

2013-04-10 Thread Nick Zitzmann
On Apr 10, 2013, at 9:59 AM, Sam Deane wrote: > When using SFTP with a CURLOPT_DEBUGFUNCTION installed, I'm only seeing calls > to it with an infoType of CURLINFO_TEXT. > > Is that expected behaviour? > > I was hoping to be able to capture a transcript, in the same way as we do for > FTP, bu

SFTP transcript

2013-04-10 Thread Sam Deane
When using SFTP with a CURLOPT_DEBUGFUNCTION installed, I'm only seeing calls to it with an infoType of CURLINFO_TEXT. Is that expected behaviour? I was hoping to be able to capture a transcript, in the same way as we do for FTP, but the only information coming back appears to be internal loggi

Re: Could not build curl 2.29.0 under Ubuntu linux (lucid)

2013-04-10 Thread Dmitry Sukhov
I could not find out the cause of the problem, but I the exact commit after which test 237 fails is c431274. commit c43127414d89ccb9ef6517081f68986d991bcfb3 Author: Daniel Stenberg Date: Thu Jan 17 12:59:23 2013 +0100 always-multi: always use non-blocking internals Remove internal sep

ftp upload with absolute paths

2013-04-10 Thread Sam Deane
Hi, I think I've found a bug in the FTP support. The problem happens in the following circumstances: - uploading a file - using authentication - the user's home directory is not the same as the server's root directory - the upload path is absolute - the upload path includes no subdirectories So,

How to see hidden files on ftp server

2013-04-10 Thread Anders Havn
Hi, When listing files on my ftp server I can't see the hidden files. I found this on http://curl.haxx.se/docs/faq.html : "Also, both LIST and NLST tend to hide unix-style hidden files (those that start with a dot) by default so you need to do "LIST -a" or similar to see them." When listing files

Re: promote libcurl by telling us about your use!

2013-04-10 Thread Frank Meier
Hi I have a change request for the "List of companies using curl": The line "126. Visonys AG - is using libcurl for part of the reverse proxy functionality in its WAF visonysAirlock." is obsolete since the company Visonys AG does not exist anymore as the producer of Airlock, it is now merged w

Re: Name lookup/DNS resolution mechanism of libcurl

2013-04-10 Thread Guenter
hi Gisle, On 10.04.2013 12:37, Gisle Vanem wrote: "Guenter" wrote: How can USE_THREADS_WIN32 both be defined and set to 0? The "&& USE_THREADS_WIN32 == 0" part is superfluous AFAICS. well, simply by -DUSE_THREADS_WIN32=0 ... I think you know I already knew that. sorry; I didnt think further

Re: Name lookup/DNS resolution mechanism of libcurl

2013-04-10 Thread Gisle Vanem
"Guenter" wrote: How can USE_THREADS_WIN32 both be defined and set to 0? The "&& USE_THREADS_WIN32 == 0" part is superfluous AFAICS. well, simply by -DUSE_THREADS_WIN32=0 ... I think you know I already knew that. Just that it's highly suspicious that it was needed. I forgot the reason behin

Re: Empty reply from server (was RE: curl-library Digest, Vol 92, Issue )21

2013-04-10 Thread Daniel Stenberg
On Wed, 10 Apr 2013, zhangyongchao wrote: STOP! You really MUST read the etiquette guidelines we have: http://curl.haxx.se/mail/etiquette.html You violated like 3 or 4 of those rules at once. You will not get your desired level of help or friendliness here if you continue with those violatio

Re: Could not build curl 2.29.0 under Ubuntu linux (lucid)

2013-04-10 Thread Dmitry Sukhov
Yes, it really was something wrong with machine on which i tried to build library. On another Ubuntu lucid machine all tests passed successfully. I'll try to investigate the problem. On 6 April 2013 21:49, Daniel Stenberg wrote: > On Sat, 6 Apr 2013, Dmitry Sukhov wrote: > > I'm trying to bui

Re: [patch] tailmatch() returns true for invalid host.

2013-04-10 Thread Daniel Stenberg
On Wed, 10 Apr 2013, YAMADA Yasuharu wrote: The point is the second flag of cookie data file. This flag is tail match flag. I attach a patch for test1216. Please check it. Right, that does show it... Can you think of a way to make a test case similar to 1216 but that makes the server send b