curl-library
Re: curl-library Digest, Vol 17, Issue 40
Date: Wed, 24 Jan 2007 08:56:34 -0800 (PST)
Hi All,
I was facing slowness in getting pages from https sites. Attached is the patch containing the fix which worked for me.
libcurl version : curl-7.15.5
thanks,
-Honne
----- Original Message ----
From: "curl-library-request@cool.haxx.se" <curl-library-request@cool.haxx.se>
To: curl-library@cool.haxx.se
Sent: Wednesday, January 24, 2007 8:47:11 PM
Subject: curl-library Digest, Vol 17, Issue 40
Send curl-library mailing list submissions to
curl-library@cool.haxx.se
To subscribe or unsubscribe via the World Wide Web, visit
http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-library
or, via email, send a message with subject or body 'help' to
curl-library-request@cool.haxx.se
You can reach the person managing the list at
curl-library-owner@cool.haxx.se
When replying, please edit your Subject line so it is more specific
than "Re: Contents of curl-library digest..."
Today's Topics:
1. Re: can't get NLST of a directory (Daniel Stenberg)
2. release-time (Daniel Stenberg)
3. RE: .NET library (Talal Sultan)
4. Re: can't get NLST of a directory (Stanislav Tishkin)
5. Re: Patch to add NSS support to curl (Rob Crittenden)
----------------------------------------------------------------------
Message: 1
Date: Wed, 24 Jan 2007 14:50:59 +0100 (CET)
From: Daniel Stenberg <daniel@haxx.se>
Subject: Re: can't get NLST of a directory
To: libcurl development <curl-library@cool.haxx.se>
Message-ID: <Pine.LNX.4.64.0701241450200.32355@yvahk3.pbagnpgbe.fr>
Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed
On Wed, 24 Jan 2007, Stanislav Tishkin wrote:
> After looking through curl forums I found that the best solution to do NLST
> is to specify the URL of the directory, and then do CURLOPT_CUSTOMREQUEST
> with NLST the code below is what I am using. For some reason ftp server (I
> use Filezilla) tells me that ".svn" is not a file and it cannot download it.
> On the other hand if I specify some file in the URL, then curl starts
> downloading.
What libcurl version on what platform? What does CURLOPT_VERBOSE show you from
the FTP commands/responses?
--
Commercial curl and libcurl Technical Support: http://haxx.se/curl.html
------------------------------
Message: 2
Date: Wed, 24 Jan 2007 15:00:44 +0100 (CET)
From: Daniel Stenberg <daniel@haxx.se>
Subject: release-time
To: curl-library@cool.haxx.se
Message-ID: <Pine.LNX.4.64.0701241458420.32355@yvahk3.pbagnpgbe.fr>
Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed
Hi
I've decided that even though there are still a bunch of outstanding problems,
it is time to release. We still have a range of bug fixes and some new
features added.
I intend to release 7.16.1 early next week, so if you have fixes or other
stuff you want in before that, now is the time to start posting...
--
Commercial curl and libcurl Technical Support: http://haxx.se/curl.html
------------------------------
Message: 3
Date: Wed, 24 Jan 2007 15:05:52 +0100
From: "Talal Sultan" <Talal.Sultan@alpvision.com>
Subject: RE: .NET library
To: "libcurl development" <curl-library@cool.haxx.se>
Message-ID:
<346C2C5DEC96484695E58A1E6B96C0072C8E2C@hummer.hq.alpvision.com>
Content-Type: text/plain; charset="us-ascii"
Thanks for the tip. I have looked in the doc for the CURLOPT to find
something similar. Would you say that:
easy.SetOpt(CURLoption.CURLOPT_HEADER, true);
corresponds to the -H?
What about the -k?
Thanks,
Talal
-----Original Message-----
From: curl-library-bounces@cool.haxx.se
[mailto:curl-library-bounces@cool.haxx.se] On Behalf Of Daniel Stenberg
Sent: Wednesday, January 24, 2007 12:15
To: libcurl development
Subject: RE: .NET library
On Tue, 23 Jan 2007, Talal Sultan wrote:
> Thanks for the reply. Yes with curl.exe it works, I use the following
> command:
>
> curl --cert certificate.der --pass mypass -k --output result.xml
> --show-error --trace-ascii trace.txt -H "SOAPAction: none"
> https://somesite/service.php -d @input.xml
Your code had no corresponding option set for -k nor for the -H.
--
Commercial curl and libcurl Technical Support:
http://haxx.se/curl.html
------------------------------
Message: 4
Date: Wed, 24 Jan 2007 09:14:01 -0500
From: "Stanislav Tishkin" <stishkin@gmail.com>
Subject: Re: can't get NLST of a directory
To: "libcurl development" <curl-library@cool.haxx.se>
Message-ID:
<b1bd9640701240614i1e1ed18dkd8d87f5cb35e7ec9@mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
I found it .
It was all my fault (of course).
It turns out that one of the options had this
and that was messing everything up
curl_easy_setoptpCurl, CURLOPT_FTP_FILEMETHOD, CURLFTPMETHOD_NOCWD);
Sorry. It was a false alarm.
Stas
------------------------------
Message: 5
Date: Wed, 24 Jan 2007 10:17:02 -0500
From: Rob Crittenden <rcritten@redhat.com>
Subject: Re: Patch to add NSS support to curl
To: libcurl development <curl-library@cool.haxx.se>
Message-ID: <45B7786E.60504@redhat.com>
Content-Type: text/plain; charset="iso-8859-1"
Daniel Stenberg wrote:
> On Tue, 23 Jan 2007, Rob Crittenden wrote:
>
>>> - you don't follow the bracing standard of the curl code all over
>>
>> Sigh, yes, I did my best as I coded but the two-space indent was
>> driving me mad :-)
>
> I think the indents were fine, I was just remarking on the brace
> positions. And it is a minor detail, I'm not getting upset! ;-)
>
>> Do you have an indent formula for fixing things up? No problem if you
>> don't, just hoping.
>
> No I don't, I normally just use the curl-style.el emacs config and M-x
> c-indent-line-or-region ... (which isn't a full indent equivalent)
>
>>> BTW, do you know if this would build on/for windows as well?
>>
>> I haven't tried it but NSS is cross-platform so it should work fine.
>
> Yeah, I was just curious. We can leave that to Windows users willing to
> explore NSS in curl.
>
I think I've addressed all the issues you pointed out. I also
reformatted the code a little bit to make it fit in better.
rob
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: curl-nss.patch3
Url: http://cool.haxx.se/pipermail/curl-library/attachments/20070124/5e961662/attachment.txt
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3245 bytes
Desc: S/MIME Cryptographic Signature
Url : http://cool.haxx.se/pipermail/curl-library/attachments/20070124/5e961662/attachment.bin
------------------------------
_______________________________________________
curl-library mailing list
curl-library@cool.haxx.se
http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-library
End of curl-library Digest, Vol 17, Issue 40
********************************************
____________________________________________________________________________________
No need to miss a message. Get email on-the-go
with Yahoo! Mail for Mobile. Get started.
http://mobile.yahoo.com/mail
- text/x-patch attachment: transfer.c.patch