cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: "Empty reply from server" with libCurl and Visual C++ 2008 on a Win32 Console Application

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Fri, 9 Jan 2009 09:24:39 +0100 (CET)

On Thu, 8 Jan 2009, Guenter Knauf wrote:

>> User-Agent: curl/7.16.3 (i686-pc-cygwin) libcurl/7.16.3 OpenSSL/0.9.8h
>> zlib/1.2.3 libssh2/0.15-CVS

> also strange that you're using a cygwin library here while your subject
> talks about Visual C++ 2008 ??

libcurl doesn't set the user-agent header itself so clearly his app has set it
and then he can of course opt to use the string shown above...

That's also why I asked about libcurl version in his app's version as the
user-agent string is clearly not taken from the actually running libcurl.

-- 
  / daniel.haxx.se
Received on 2009-01-09