curl-library
Re: app statically linked against curl and ssl doesn't work properly
From: Daniel Stenberg <daniel_at_haxx.se>
Date: Thu, 28 Aug 2003 10:39:24 +0200 (CEST)
Date: Thu, 28 Aug 2003 10:39:24 +0200 (CEST)
On Wed, 27 Aug 2003, Alex Tchumel wrote:
> It was my fault. But may be others will be interesting.
> curl_easy_setopt(curl, CURLOPT_BUFFERSIZE, -1) is reason for my problem. And
> problem was indefferent concerning linkage type. I'm sorry for confusing.
>
> BTW: I haven't found any explanation about allowed BUFFERSIZE values.
It is documented to be a size of the buffer to use for transfers. I admit
there's no protection for passing in -1, which is bad, but what exactly did
you expect a size of -1 would do?
-- Daniel Stenberg -- curl: been grokking URLs since 1998 ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sfReceived on 2003-08-28