cURL / Mailing Lists / curl-library / Single Mail

curl-library

RE: Nonblocking libssh2 change

From: James Dennett <jdennett_at_technocom-wireless.com>
Date: Fri, 8 Jun 2007 15:22:14 -0700

Daniel Stenberg wrote:

> 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.

Would (and should) that be done before or after libssh2 0.15 is
released?

-- James
Received on 2007-06-09