cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Nonblocking libssh2 change

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Fri, 8 Jun 2007 22:34:19 +0200 (CEST)

On Fri, 8 Jun 2007, Dan Fandrich wrote:

> There are so many #if statements now in the code, it makes it hard to
> read. It would be nice to avoid as many of them as possible.

I agree, we should always try to write code use as little #ifdefs as possible.

> I wouldn't even complain about eliminating compatibility with older libssh2
> versions altogether, since there are some serious bugs with those versions,
> anyway.

I agree with this as well. The older libssh2 is so old that I don't really see
any point with us trying to support that if it comes with a cost like #ifdefs.
Let's cut that out and instead make the configure check for libssh2 >= 0.15.

-- 
  Commercial curl and libcurl Technical Support: http://haxx.se/curl.html
Received on 2007-06-08