Intermittent write errors while doing a PUT operation in 7.27.0

2012-10-18 Thread Gautam Gopinadhan
Hello, We have been using the curl library since some time now. The version that we are currently using is 7.21.6 and we are attempting to update our curl library to 7.27.0. Platform is linux (centos/redhat) We build the library using: ./configure --with-ssl --enable-ares --without-libidn

multi interface blocking with certain ftp servers

2012-10-18 Thread Guido Berhoerster
I have a problem with the libcurl multi interface (using libcurl 7.25.0 on openSUSE 12.2) blocking when talking to certain FTP servers until a libcurl timeout is reached after a couple of minutes. This is problematic because it freezes the whole application and all other running transfers.

Leftovers after chunking while using the easy interface

2012-10-18 Thread SAÏD , Daniel
Dear all, I use libcurl 7.21.7 to make requests to a web service. The web service answers with chunked encoding. As my process is sequential, I use the easy interface and not the multi one. This works perfectly except when I use it behind our corporate proxy. In this case, libcurl randomly

Re: Question about NOCWD and CURLOPT_WILDCARDMATCH

2012-10-18 Thread Daniel Stenberg
On Wed, 17 Oct 2012, Mehmet Bozkurt wrote: Running with the NOCWD setting causes an CWD incorrectly (for my use case at least) being issued during a transfer with a wildcard pattern for the target file. I've found the lines in the libcurl code which changes the FTP filemethod mode to MULTICWD

Re: Small example of using libcurl with HTML stream parser

2012-10-18 Thread Daniel Stenberg
On Wed, 17 Oct 2012, Michał Kowalczyk wrote: This program get a remote web page using libcurl functions calls. Then extracts values of the attribute href from this web page and print it to standard out. Thanks a lot! This example is now visible online at:

Re: Small example of using libcurl with HTML stream parser

2012-10-18 Thread Michał Kowalczyk
Thanks a lot! I am glad that You placed my example on libcurl page. But in the comment is a wrong parser home page. Correct one is http://code.google.com/p/htmlstreamparser/ This example working only with this parser. Michael Kowalczyk 2012/10/18 Daniel Stenberg dan...@haxx.se On Wed, 17 Oct

RE: How can i get the SSL context from a curl handle

2012-10-18 Thread Mayank Kumar (mayankum)
Resending since I didn't get any response. Is there a way to extract the ssl context for the https connection initiated so that we could use SSL_read on the socket handle extracted from the curl handle. From: Mayank Kumar (mayankum) Sent: Tuesday, October 02, 2012 4:08 PM To:

Re: Intermittent write errors while doing a PUT operation in 7.27.0

2012-10-18 Thread Daniel Stenberg
On Thu, 18 Oct 2012, Gautam Gopinadhan wrote: When linked with any version of libcurl until and including 7.23.1, our test code functions exactly as expected - it sends data to the server successfully on every attempt. However from version 7.24.0 onwards, we notice that intermittently one odd

Build error: with_ssh2=static, VC9, makefile.vc

2012-10-18 Thread Jan Ehrhardt
I am building libcurl_a.lib from the commandline, using VC9: nmake /f makefile.vc mode=static VC=9 MACHINE=x86 WITH_DEVEL=../../win32build USE_IDN=yes WITH_WINSSL=static WITH_SSH2=static WITH_ZLIB=static This fails with: libcurl_a.lib(agent.obj) : error LNK2019: unresolved