curl_multi_perform blocking for hundreds of milliseconds

2013-04-29 Thread Scott Murray
Hi,  I'm writing a mobile application for Android that uses libcurl to make http requests for resources. I have many concurrent requests, so use the multi interface. I am using the libcurl api on my main application thread as the docs state that the multi interface is non-blocking. I have buil

[new feature] Maximum limitation of cookies.

2013-04-29 Thread YAMADA Yasuharu
Hello cURL hackers, 2013/4/8 Daniel Stenberg : > On Wed, 3 Apr 2013, YAMADA Yasuharu wrote: > >> I modify cookie.c to limit maximum number of cookies because currently >> cookies are saved unlimited. It is not a wise policy for our browser. So >> the numcookies is important. >> >> If someone want

Re: Verification of Content-Length

2013-04-29 Thread David Strauss
On Mon, Apr 29, 2013 at 2:21 PM, Daniel Stenberg wrote: > It MUST handle the Content-Length value to speak HTTP at all. It is part of > the message framing. We're coming from Neon here, so our expectations are low in terms of how much HTTP the library does for us. For example, Neon just give you

Re: Libxurl use only TLSv1_2

2013-04-29 Thread Nick Zitzmann
On Apr 29, 2013, at 8:15 PM, Indtiny s wrote: (please don't top-post) > Hi, > Yes server supprorts TLSv1.2 and I have to authenticate the server using the > TLSv1.2 only . Okay, I see that the site you are trying to connect to does support TLS 1.2:

Re: Libxurl use only TLSv1_2

2013-04-29 Thread Indtiny s
Hi, Yes server supprorts TLSv1.2 and I have to authenticate the server using the TLSv1.2 only . What I heard from the webServer forum is that since the server looks only for TLSv1.2(Server is configured like so for some requirement) and if clients tries with V1.1, its fails . If I change to cu

Re: Verification of Content-Length

2013-04-29 Thread Daniel Stenberg
On Mon, 29 Apr 2013, David Strauss wrote: After not finding it in the documentation, I did some quick browsing of the source code. it looks like libcurl captures the Content-Length value and validates that the actual body content has the proper length. It MUST handle the Content-Length value

Re: BUG: NULL pointer dereference in Curl_ssl_getsessionid.

2013-04-29 Thread Daniel Stenberg
On Sun, 28 Apr 2013, Marc Hoersken wrote: Yes, it's probably the fact that the schannel code uses Curl_ssl_getsessionid within the Curl_ssl_shutdown function which may not be supported by the ssl abstraction layer. Could be, sure. But I gave this a glance and it wasn't obvious to me where the

Re: Effect of aborting on slow transfers for slow responses

2013-04-29 Thread Daniel Stenberg
On Mon, 29 Apr 2013, David Strauss wrote: Does the counter for CURLOPT_LOW_SPEED_TIME start as soon as the connection establishes, or does it wait until the response starts coming back? I'm curious about the case of a server that takes, say, 60 seconds to prepare the response but sends it back

Effect of aborting on slow transfers for slow responses

2013-04-29 Thread David Strauss
Does the counter for CURLOPT_LOW_SPEED_TIME start as soon as the connection establishes, or does it wait until the response starts coming back? I'm curious about the case of a server that takes, say, 60 seconds to prepare the response but sends it back in one burst. -- David Strauss | da...@dav

Re: libcurl Reporting Different Version Between Commands

2013-04-29 Thread Jeff Pohlmeyer
On Mon, Apr 29, 2013 at 2:10 PM, Ben Thomas wrote: > After doing all that I ran curl --version expecting to see the new version > installed. cURL had updated to 7.30.0 as expected, but libcurl hadn't: > Can anyone explain why there's a difference in version numbers? And how to > get them all sho

Re: "libcurl-7.18.0-win32-msvc" source code needed

2013-04-29 Thread alpforce
Daniel Stenberg wrote: > On Mon, 29 Apr 2013, Werner, Steven wrote: > >> As an express condition to reading, accessing and using the >> information contained herein, the recipient agrees to keep all >> information highly confidential. > > BTW, I didn't agree to that stupidity and I would really urg

Re: Libxurl use only TLSv1_2

2013-04-29 Thread Nick Zitzmann
On Apr 29, 2013, at 1:15 PM, Indtiny s wrote: > I have compiled libcurl with openssl , When I tried for some TLS handshake . > > Curl is trying to send the both the version i.e TLSv1 and TLSv1.2 . > > How to make curl start handshake with only TLSv1.2 only ..? If I'm reading that screen s

Re: "libcurl-7.18.0-win32-msvc" source code needed

2013-04-29 Thread Daniel Stenberg
On Mon, 29 Apr 2013, Werner, Steven wrote: As an express condition to reading, accessing and using the information contained herein, the recipient agrees to keep all information highly confidential. BTW, I didn't agree to that stupidity and I would really urge you to bug your company people

Re: "libcurl-7.18.0-win32-msvc" source code needed

2013-04-29 Thread Daniel Stenberg
On Mon, 29 Apr 2013, Werner, Steven wrote: Is the source code for ""libcurl-7.18.0-win32-msvc" available? Sure! The actual release tarball: http://curl.haxx.se/download/curl-7.18.0.zip The code off git: https://github.com/bagder/curl/tree/curl-7_18_0 But I would recommend basing anything do

"libcurl-7.18.0-win32-msvc" source code needed

2013-04-29 Thread Werner, Steven
Hello all, I am having compatibility issues with the "zlib1.dll" (version 1.2.3) because of another software application's dependency on a later version of the zlib.dll. Hence, I would like to re-build ""libcurl-7.18.0-win32-msvc" source code with Visual C++ 2010 and statically link "zlib.dll"(

Verification of Content-Length

2013-04-29 Thread David Strauss
After not finding it in the documentation, I did some quick browsing of the source code. it looks like libcurl captures the Content-Length value and validates that the actual body content has the proper length. However, it looks like Content-MD5 doesn't receive the same treatment. Is there a good

Re: Any build of libcurl for ICC?

2013-04-29 Thread Taiki
Hello, The problem is that this proper use, even reduced to adding an URL + writing datas to a file experiment the same problem (in curl_pgrsupdate() I think, I don't have the crash log here but it was something about the ESP register, I'll try to figure it out ASAP) but everything works just f

Re: What is "libcurl transfer operation"?

2013-04-29 Thread Daniel Stenberg
On Mon, 29 Apr 2013, Felix E. Klee wrote: Hm, fact is that the program is hanging, somewhere deep inside. So far, I only once got the chance once to attach `gdb` during a hang. It could also be an issue with `libev` or another component. libcurl should never be allowed to "hang" for an extend