cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Nonblocking libssh2 change

From: James Housley <jim_at_thehousleys.net>
Date: Sun, 10 Jun 2007 18:04:35 -0400

On Jun 10, 2007, at 4:38 PM, Daniel Stenberg wrote:

> On Fri, 8 Jun 2007, James Dennett wrote:
>
>>> 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?
>
> I think we can make libcurl only support >= 0.15 even before
> libssh2 0.15 is released, yes, since I believe it'll be quite
> painful to support both the 0.14 interface as well as the new fancy
> non-blocking 0.15 without the libcurl code getting unreadable with
> #ifdefs.

I think a lot of those #ifdef's will become one big one in each
functions as the rest of the code is migrated out of each function
into the state machine.

Jim

--
/"\   ASCII Ribbon Campaign  .
\ / - NO HTML/RTF in e-mail  .
  X  - NO Word docs in e-mail .
/ \ -----------------------------------------------------------------
jeh@FreeBSD.org      http://www.FreeBSD.org     The Power to Serve
jim@TheHousleys.Net  http://www.TheHousleys.net
---------------------------------------------------------------------
In theory there is no difference between theory and practice.
In practice there is no similarity.
       -- From the "I wish I'd said that" archives.
Received on 2007-06-11