Re: make only connect, but not issue GET request

2011-03-22 Thread Pankaj Takawale
> Message: 8 > Date: Thu, 17 Mar 2011 23:38:20 +0100 (CET) > From: Daniel Stenberg > To: libcurl development > Subject: Re: make only connect, but not issue GET request > Message-ID: > Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed > > On Thu, 17 Mar 2011, Pankaj Takawale wrote: > >>

Re: Question regarding SSL caching behavior of LibCurl

2011-03-22 Thread Ben Noordhuis
On Tue, Mar 22, 2011 at 19:13, ajil koshy wrote: > I am writing an HTTPS client application using libcurl compiled with > OpenSSL. I had a question regarding behavior of Libcurl with respect to SSL > session caching. It seems it is enabled by default. I would like to know if > the cache still rema

Question regarding SSL caching behavior of LibCurl

2011-03-22 Thread ajil koshy
Hi, I am writing an HTTPS client application using libcurl compiled with OpenSSL. I had a question regarding behavior of Libcurl with respect to SSL session caching. It seems it is enabled by default. I would like to know if the cache still remains if we have closed the libcurl easy handle. Let's

Re: raise chunks of memory in callback

2011-03-22 Thread Dan Fandrich
On Tue, Mar 22, 2011 at 08:57:09AM -0700, Pete Wilson wrote: > --- On Tue, 3/22/11, Oscar Salvador wrote: > > In the other hand, i don't understand this: "Network I/O is > > about a factor 10e6 slower than invoking a callback" > > Can you explain me it? > > Yeah, explain it! I measure it at only

Re: raise chunks of memory in callback

2011-03-22 Thread Pete Wilson
--- On Tue, 3/22/11, Oscar Salvador wrote: > In the other hand, i don't understand this: "Network I/O is > about a factor 10e6 slower than invoking a callback" > Can you explain me it? Yeah, explain it! I measure it at only 10e5 times slower! If I've said it once, I've said it 10e5 times: don't

Re: Potentially wiped disk with Makefile.b32

2011-03-22 Thread Gisle Vanem
"Yang Tse" wrote: Currently I have no Borland compiler installation to test any changes, so it is better if you introduce required changes to the removal of $(OBJDIR). Ok, I have some time this week to do it. Would it be enough to use "md" and "rd" to avoid CygWin's "rmdir.exe" ? I think

Re: raise chunks of memory in callback

2011-03-22 Thread Oscar Salvador
Hi Ben, I saw that the code that retrieves the image works fine, it was my paranoia haha. In the other hand, i don't understand this: "Network I/O is about a factor 10e6 slower than invoking a callback" Can you explain me it? And finally, is possible raise the buffer? It's only for more knowledge

Re: Potentially wiped disk with Makefile.b32

2011-03-22 Thread Yang Tse
2011/3/22 Gisle Vanem wrote: > I have a big problem with the use of "rmdir /s" in the Makefile.b32 files. > The 'make clean' could really create mayhem for a inexperienced user or > from a small error/typo in these makefiles. Here is a warning in this regard > (from the 4nt shell docs): > /S (Sub

Re: raise chunks of memory in callback

2011-03-22 Thread Ben Noordhuis
On Tue, Mar 22, 2011 at 10:06, Oscar Salvador wrote: > My question is that i'm retrieving an image from internet, and i write > this image into a memory chunk with WRITEFUNCTION  and WRITEDATA. The > problem is that libcurl retrieves the image a little slow, because it > calls many times the callb

Re: Potentially wiped disk with Makefile.b32

2011-03-22 Thread Gisle Vanem
"Gisle Vanem" wrote: Also there is a problem if you have e.g. 'rmdir.exe' on path (like i have with CygWin's /usr/bin/rmdir.exe). AFAICS Borland's make doesn't have 'del', 'rmdir' etc. internally (like wmake have). So if you have 'rmdir.exe on path, 'make clean' doesn't work as intended. I th

Potentially wiped disk with Makefile.b32

2011-03-22 Thread Gisle Vanem
I have a big problem with the use of "rmdir /s" in the Makefile.b32 files. The 'make clean' could really create mayhem for a inexperienced user or from a small error/typo in these makefiles. Here is a warning in this regard (from the 4nt shell docs): /S (Subdirectories) (4NT, TC) This option is

raise chunks of memory in callback

2011-03-22 Thread Oscar Salvador
Hi, how are you. My question is that i'm retrieving an image from internet, and i write this image into a memory chunk with WRITEFUNCTION and WRITEDATA. The problem is that libcurl retrieves the image a little slow, because it calls many times the callback function to write the chunk of image int

Re: warnings with libcurl.m4 and autoconf 2.68

2011-03-22 Thread Daniel Stenberg
On Mon, 21 Mar 2011, Dave Reisner wrote: Happily going to solve my own bug. It seems there's a missing pair of quotes around the first argument to AC_LINK_IFELSE which results in these warnings being thrown. The attached patch quiets things down for me, but I'm not sure if this breaks older ve

Re: Connecting using client certificates

2011-03-22 Thread Daniel Stenberg
On Tue, 22 Mar 2011, plot.lost wrote: The server does appear to be sending an empty list of CA's, which is causing libcurl (openssl?) to respond with no certificate instead of sending the certificate I have passed in. This would appear to be TLSv1.0 behaviour. Is there anything that can be don

Re: SMTP authentication methods in API [PATCH]

2011-03-22 Thread Dan Fandrich
On Tue, Mar 22, 2011 at 08:22:49AM +0100, Patricia Muscalu wrote: > Thank you for your answers. Here is my attempt to expose SMTP authentication > methods in API [...] > +/* SMTP authentication mechanism flags. */ > +#define CURL_SMTP_AUTH_LOGIN 0x0001 > +#define CURL_SMTP_AUTH_PLAIN

Re: SMTP authentication methods in API [PATCH]

2011-03-22 Thread Patricia Muscalu
Hi again, Thank you for your answers. Here is my attempt to expose SMTP authentication methods in API (just following the instructions from http://curl.haxx.se/mail/lib-2010-10/0078.html) Thanks, Patricia On Fri, Mar 18, 2011 at 1:41 PM, Daniel Stenberg wrote: > On Fri, 18 Mar 2011, Ben Noord