From libssh2-devel-bounces@cool.haxx.se  Fri Jan  1 09:29:41 2016
Return-Path: <libssh2-devel-bounces@cool.haxx.se>
Received: from www.haxx.se (localhost.localdomain [127.0.0.1])
	by giant.haxx.se (8.14.4/8.14.4/Debian-7) with ESMTP id u018THeG031134;
	Fri, 1 Jan 2016 09:29:38 +0100
Received: from mx.uxnr.de (mx.uxnr.de [89.238.84.48])
 by giant.haxx.se (8.14.4/8.14.4/Debian-7) with ESMTP id u018TGtg031125
 (version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT)
 for <libssh2-devel@cool.haxx.se>; Fri, 1 Jan 2016 09:29:16 +0100
Received: from [IPv6:2a02:908:a32:ed9c:c422:32fc:5e00:b044] (unknown
 [IPv6:2a02:908:a32:ed9c:c422:32fc:5e00:b044])
 by mx.uxnr.de (Postfix) with ESMTPSA id EDCEC1C5A266
 for <libssh2-devel@cool.haxx.se>; Fri,  1 Jan 2016 09:29:11 +0100 (CET)
DKIM-Filter: OpenDKIM Filter v2.9.2 mx.uxnr.de EDCEC1C5A266
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=marc-hoersken.de;
 s=picard; t=1451636952;
 bh=lNfbx7lKWMID+QHPvhsKwLQ3I0MWN/v/FhCAQoEo1mk=;
 h=Subject:From:In-Reply-To:Date:References:To:From;
 b=AAEIHSYEOxFO7PETaSQWb5qndZGL8Zg0t5YQaQuv837H00bIVqoAn/is9GDG/hBKx
 1zgs+iUJUSQBHpTaPAjypTTbzFSyuYQBlxUvI/S8x6VDkhSp7lBni4gjyJdCOlcIXI
 FxIpcFK/gysmtdCsJGr7GYmcMxqdWUun50ie+/as=
Mime-Version: 1.0 (Mac OS X Mail 9.2 \(3112\))
Subject: Re: Removing non-CMake windows support (was Re: problems building
 under Windows)
From: Marc Hoersken <info@marc-hoersken.de>
In-Reply-To: <CAD9rwMpPmB0d-2LEadp0odGP_+VgN5YfRC5hrsBfA1-aOmdArg@mail.gmail.com>
Date: Fri, 1 Jan 2016 09:29:10 +0100
Message-Id: <C0D48ABD-830D-4BFB-92B7-147E561D3551@marc-hoersken.de>
References: <CAD9rwMpPmB0d-2LEadp0odGP_+VgN5YfRC5hrsBfA1-aOmdArg@mail.gmail.com>
To: libssh2 development <libssh2-devel@cool.haxx.se>
X-Mailer: Apple Mail (2.3112)
X-MIME-Autoconverted: from quoted-printable to 8bit by giant.haxx.se id
 u018TGtg031125
X-BeenThere: libssh2-devel@cool.haxx.se
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: libssh2 development <libssh2-devel.cool.haxx.se>
List-Unsubscribe: <http://cool.haxx.se/cgi-bin/mailman/options/libssh2-devel>, 
 <mailto:libssh2-devel-request@cool.haxx.se?subject=unsubscribe>
List-Archive: <http://cool.haxx.se/pipermail/libssh2-devel/>
List-Post: <mailto:libssh2-devel@cool.haxx.se>
List-Help: <mailto:libssh2-devel-request@cool.haxx.se?subject=help>
List-Subscribe: <http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel>, 
 <mailto:libssh2-devel-request@cool.haxx.se?subject=subscribe>
Reply-To: libssh2 development <libssh2-devel@cool.haxx.se>
Content-Type: text/plain; charset="utf-8"
Errors-To: libssh2-devel-bounces@cool.haxx.se
Sender: "libssh2-devel" <libssh2-devel-bounces@cool.haxx.se>
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from base64 to 8bit by giant.haxx.se id u018THeG031134


> Am 31.12.2015 um 15:50 schrieb George Garner (online) <ggarner_online@gmgsystemsinc.com>:
> 
> I have gone through the code and made a substantial number of edits, but then I will have to do it all over again with the next release. Silencing the warnings with appropriate edits to your code would show that you care.

Would you mind sharing your changes, e.g. improvements with us? If you handle the type conversions properly, we could merge your changes upstream.

Best regards,
Marc
_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel

From libssh2-devel-bounces@cool.haxx.se  Fri Jan  1 16:10:48 2016
Return-Path: <libssh2-devel-bounces@cool.haxx.se>
Received: from www.haxx.se (localhost.localdomain [127.0.0.1])
	by giant.haxx.se (8.14.4/8.14.4/Debian-7) with ESMTP id u01FAOU8023220;
	Fri, 1 Jan 2016 16:10:45 +0100
Received: from mail-wm0-x232.google.com (mail-wm0-x232.google.com
 [IPv6:2a00:1450:400c:c09::232])
 by giant.haxx.se (8.14.4/8.14.4/Debian-7) with ESMTP id u01FALV3023141
 (version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NOT)
 for <libssh2-devel@cool.haxx.se>; Fri, 1 Jan 2016 16:10:21 +0100
Received: by mail-wm0-x232.google.com with SMTP id f206so138301553wmf.0
 for <libssh2-devel@cool.haxx.se>; Fri, 01 Jan 2016 07:10:23 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
 h=mime-version:sender:date:message-id:subject:from:to:content-type
 :content-transfer-encoding;
 bh=uuEBS1p7fSg+KGDcB1j9nONW3v4jHrXTKdXC6lbH6YI=;
 b=dG7jcVkhkNCelh1tjerXB2bSzbC/DW1Uxiv3upBkjN5CCUo/Tf52jUebXQy5ORWL9q
 iYyq9ZIqd0eEzeINJlt5+ExOqg9L2Z2Igwwexs6UnPSBXzU8N4lx8fpxvvzV7WHit72H
 WkI2oSK1JCjojRmvh5Fjmt3/5lJiyXKzJfdHNwhASR3KrsgPz6cLSLpOkW+GsvyvRJ25
 jt4nc35fJM8T9xagCaneY/lq0UjuIWwXwP9mmSsVMVpz5vzXkyOYW7XfOb6nceTG41jl
 Ev7j98bTjG6yUPqo1acD4jsRmAYxMmfjK6LsfMws2I3dK3n8oOuP1FL4kk9ssYVjH2i7
 kCMQ==
MIME-Version: 1.0
X-Received: by 10.194.6.196 with SMTP id d4mr81634541wja.120.1451661017541;
 Fri, 01 Jan 2016 07:10:17 -0800 (PST)
Received: by 10.27.28.66 with HTTP; Fri, 1 Jan 2016 07:10:17 -0800 (PST)
Date: Fri, 1 Jan 2016 15:10:17 +0000
X-Google-Sender-Auth: TJn3bFaC9ZPZNeNWSYFBJOykVyI
Message-ID: <CADyPeTNvFZx-bE=JjQTo_4_+yj+AgaiBy-0LXxsC3tUiPPH5Zw@mail.gmail.com>
Subject: Re: Removing non-CMake windows support (was Re: problems building
 under Windows)
From: Alexander Lamaison <swish@lammy.co.uk>
To: libssh2 development <libssh2-devel@cool.haxx.se>
X-MIME-Autoconverted: from quoted-printable to 8bit by giant.haxx.se id
 u01FALV3023141
X-BeenThere: libssh2-devel@cool.haxx.se
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: libssh2 development <libssh2-devel.cool.haxx.se>
List-Unsubscribe: <http://cool.haxx.se/cgi-bin/mailman/options/libssh2-devel>, 
 <mailto:libssh2-devel-request@cool.haxx.se?subject=unsubscribe>
List-Archive: <http://cool.haxx.se/pipermail/libssh2-devel/>
List-Post: <mailto:libssh2-devel@cool.haxx.se>
List-Help: <mailto:libssh2-devel-request@cool.haxx.se?subject=help>
List-Subscribe: <http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel>, 
 <mailto:libssh2-devel-request@cool.haxx.se?subject=subscribe>
Reply-To: libssh2 development <libssh2-devel@cool.haxx.se>
Content-Type: text/plain; charset="utf-8"
Errors-To: libssh2-devel-bounces@cool.haxx.se
Sender: "libssh2-devel" <libssh2-devel-bounces@cool.haxx.se>
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from base64 to 8bit by giant.haxx.se id u01FAOU8023220

On 31 Dec 2015 14:51, "George Garner (online)"
<ggarner_online@gmgsystemsinc.com> wrote:
>
> The existing VS project files don't work out of the box. Only the debug build appear to have been tested. There is no 64-bit build. That having been said they were a convenient starting point and with 15 minutes of work I was able to get both 32 and 64-bit projects to build with the WinCNG, zlib and secure zero memory support. I did have to edit the source files in places, for example to enclose some include files with a carrot ('<') rather than double quotes ('"'), and to change the "#ifdef WIN32" to "#if defined (WIN32) || defined (WIN64)." However, on whole, the current VS project files were helpful as a starting point.

Did you try the CMake route? How did this compare?

> My main concern is the number of warnings. Many of the warnings appear to be benign warnings about the truncation of 64-bit to 32-bit data types. The warnings that concern me the most involve the signed/unsigned mismatches and what I consider the gratuitous use of signed data types. I would look at the code around each of these warnings and verify whether there is an arithmetic operation that could produce a negative number and no check for integer underflow.
>
> I have gone through the code and made a substantial number of edits, but then I will have to do it all over again with the next release. Silencing the warnings with appropriate edits to your code would show that you care.

The warnings are a known issue and exist because the integer types
used in the API are not 64-bit friendly.  However, changing the ABI is
not something we can do lightly, it causes too much disruption on
Unix.

There is a task on my to-do list to add a preprocessor option to
explicitly move to a new ABI, which could be used on windows and in
statically linked builds.

Alex

_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel

From libssh2-devel-bounces@cool.haxx.se  Fri Jan  1 16:25:58 2016
Return-Path: <libssh2-devel-bounces@cool.haxx.se>
Received: from www.haxx.se (localhost.localdomain [127.0.0.1])
	by giant.haxx.se (8.14.4/8.14.4/Debian-7) with ESMTP id u01FPpVT012438;
	Fri, 1 Jan 2016 16:25:57 +0100
Received: from mail105.syd.optusnet.com.au (mail105.syd.optusnet.com.au
 [211.29.132.249])
 by giant.haxx.se (8.14.4/8.14.4/Debian-7) with ESMTP id u01FPnQk012416
 for <libssh2-devel@cool.haxx.se>; Fri, 1 Jan 2016 16:25:49 +0100
Received: from OwnerPC311012 (unknown [203.202.164.190])
 (Authenticated sender: sisyphus1@optusnet.com.au)
 by mail105.syd.optusnet.com.au (Postfix) with ESMTPA id 0C1591046AA2
 for <libssh2-devel@cool.haxx.se>; Sat,  2 Jan 2016 02:25:39 +1100 (AEDT)
Message-ID: <54B874BD2E3E4DB0BF293EE2F87EE5BE@OwnerPC311012>
From: <sisyphus1@optusnet.com.au>
To: "libssh2 development" <libssh2-devel@cool.haxx.se>
References: <CADyPeTNvFZx-bE=JjQTo_4_+yj+AgaiBy-0LXxsC3tUiPPH5Zw@mail.gmail.com>
In-Reply-To: <CADyPeTNvFZx-bE=JjQTo_4_+yj+AgaiBy-0LXxsC3tUiPPH5Zw@mail.gmail.com>
Subject: Re: Removing non-CMake windows support (was Re: problems building
 under Windows)
Date: Sat, 2 Jan 2016 02:25:02 +1100
MIME-Version: 1.0
X-Priority: 3
X-MSMail-Priority: Normal
Importance: Normal
X-Mailer: Microsoft Windows Live Mail 16.4.3505.912
X-MimeOLE: Produced By Microsoft MimeOLE V16.4.3505.912
X-Optus-CM-Score: 0
X-Optus-CM-Analysis: v=2.1 cv=R4L+YolX c=1 sm=1 tr=0
 a=8e8rgZJuizJfF74+JHJpGg==:117 a=8e8rgZJuizJfF74+JHJpGg==:17
 a=PO7r1zJSAAAA:8 a=IkcTkHD0fZMA:10 a=94knky0DyxfofFkPrd4A:9
 a=QEXdDO2ut3YA:10 a=tBAUYqkwif4A:10
X-BeenThere: libssh2-devel@cool.haxx.se
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: libssh2 development <libssh2-devel.cool.haxx.se>
List-Unsubscribe: <http://cool.haxx.se/cgi-bin/mailman/options/libssh2-devel>, 
 <mailto:libssh2-devel-request@cool.haxx.se?subject=unsubscribe>
List-Archive: <http://cool.haxx.se/pipermail/libssh2-devel/>
List-Post: <mailto:libssh2-devel@cool.haxx.se>
List-Help: <mailto:libssh2-devel-request@cool.haxx.se?subject=help>
List-Subscribe: <http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel>, 
 <mailto:libssh2-devel-request@cool.haxx.se?subject=subscribe>
Reply-To: libssh2 development <libssh2-devel@cool.haxx.se>
Content-Type: text/plain; charset="utf-8"; Format="flowed"
Errors-To: libssh2-devel-bounces@cool.haxx.se
Sender: "libssh2-devel" <libssh2-devel-bounces@cool.haxx.se>
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from base64 to 8bit by giant.haxx.se id u01FPpVT012438

Hi guys,

Sorry for the interruption, but I just want to make sure that "removing 
non-CMake windows support" does *not* mean that Windows users would no 
longer be able to build libssh2 in the MSYS shell using autotools 
(./configure && make) with a mingw port of gcc.
That would be horrible.

Cheers,
Rob 

_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel

From libssh2-devel-bounces@cool.haxx.se  Fri Jan  1 16:37:11 2016
Return-Path: <libssh2-devel-bounces@cool.haxx.se>
Received: from www.haxx.se (localhost.localdomain [127.0.0.1])
	by giant.haxx.se (8.14.4/8.14.4/Debian-7) with ESMTP id u01Fb6Fk030104;
	Fri, 1 Jan 2016 16:37:10 +0100
Received: from mail-wm0-x232.google.com (mail-wm0-x232.google.com
 [IPv6:2a00:1450:400c:c09::232])
 by giant.haxx.se (8.14.4/8.14.4/Debian-7) with ESMTP id u01Fb5VC029904
 (version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NOT)
 for <libssh2-devel@cool.haxx.se>; Fri, 1 Jan 2016 16:37:05 +0100
Received: by mail-wm0-x232.google.com with SMTP id f206so84005348wmf.0
 for <libssh2-devel@cool.haxx.se>; Fri, 01 Jan 2016 07:37:06 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
 h=mime-version:sender:in-reply-to:references:date:message-id:subject
 :from:to:content-type;
 bh=G9UFORDiq/OCBJSnNT+A5oWpVG272Z47B140DI8xEuQ=;
 b=j0ogDOrjl1xAU6SMzjmIPAl/PTycZc170/JaNo+bWiRjR5fr6nGh80hZZSVZ05dQlQ
 xJANv+m2qrgoeCiEUEG16RsoBWqKbac1O1aobadiIk4eMROuTIqxga6IA72xs0T25YMF
 2oKtFdukPIJbKx/mrlqQgGa/ml9+QTNYo5ZMV8BEgZ5+x6pPDZYHjFe2ZJ/Y5zzk7Z7Q
 NMiJUdP4nqiJ1N3WQFBKmgW0b5QCX7ahRyEfp1uSm9uD1bz3ZnuipkEyA3mnm8KbnT1+
 opPOXVb0aflwmH8zWtwq8x+syXFwHEZllxo+ucfzvAZ/zDnQaTynTuaf2D+kc4QMJO/z
 1J0A==
MIME-Version: 1.0
X-Received: by 10.194.95.199 with SMTP id dm7mr81905762wjb.15.1451662621435;
 Fri, 01 Jan 2016 07:37:01 -0800 (PST)
Received: by 10.27.28.66 with HTTP; Fri, 1 Jan 2016 07:37:01 -0800 (PST)
In-Reply-To: <20151231161034.15775.qmail@stuge.se>
References: <CAHL=4t6e5D7CvHu9eUXfnNPL82V_cMvAG-7xNB2cEQt7KNZjZQ@mail.gmail.com>
 <F12967EC-1E40-4F60-9534-D194E67E114A@ormris.us>
 <CADyPeTNhp4r9d1kdavtkZUOGmAs54G8xuRTMMDM305RfvaZV8Q@mail.gmail.com>
 <20151231161034.15775.qmail@stuge.se>
Date: Fri, 1 Jan 2016 15:37:01 +0000
X-Google-Sender-Auth: jATV0KKEcudr2qvA11eyRdVhLeY
Message-ID: <CADyPeTOwtk-yMB1g2SOi_T7jUizZANUM_8MwUW0ZUZTniMxG5w@mail.gmail.com>
Subject: Re: Removing non-CMake windows support (was Re: problems building
 under Windows)
From: Alexander Lamaison <swish@lammy.co.uk>
To: libssh2 development <libssh2-devel@cool.haxx.se>
X-BeenThere: libssh2-devel@cool.haxx.se
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: libssh2 development <libssh2-devel.cool.haxx.se>
List-Unsubscribe: <http://cool.haxx.se/cgi-bin/mailman/options/libssh2-devel>, 
 <mailto:libssh2-devel-request@cool.haxx.se?subject=unsubscribe>
List-Archive: <http://cool.haxx.se/pipermail/libssh2-devel/>
List-Post: <mailto:libssh2-devel@cool.haxx.se>
List-Help: <mailto:libssh2-devel-request@cool.haxx.se?subject=help>
List-Subscribe: <http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel>, 
 <mailto:libssh2-devel-request@cool.haxx.se?subject=subscribe>
Reply-To: libssh2 development <libssh2-devel@cool.haxx.se>
Content-Type: text/plain; charset="utf-8"
Errors-To: libssh2-devel-bounces@cool.haxx.se
Sender: "libssh2-devel" <libssh2-devel-bounces@cool.haxx.se>
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from base64 to 8bit by giant.haxx.se id u01Fb6Fk030104

On 31 Dec 2015 16:11, "Peter Stuge" <peter@stuge.se> wrote:
>
> Alexander Lamaison wrote:
> > I would like people's opinions on deleting the non-CMake windows support
> > files.
>
> I think it is an awful idea.
>
> Maintain a native Nmakefile and nothing else.
>
> Windows is a much simpler system than *ix and is thus much simpler to
> build for. Maintaining the one native Nmakefile seems worthwhile,
> since it is convenient for users to be able to build without first
> having to install the cmake scaffolding.

There's a trade off between the cost of users having to have cmake on
their system and the cost of us having to maintain yet another build
variant. Given how short-staffed we are anyway, it makes sense to me
to outsource as much busy-work as possible.

Alex
_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel

From libssh2-devel-bounces@cool.haxx.se  Fri Jan  1 16:39:38 2016
Return-Path: <libssh2-devel-bounces@cool.haxx.se>
Received: from www.haxx.se (localhost.localdomain [127.0.0.1])
	by giant.haxx.se (8.14.4/8.14.4/Debian-7) with ESMTP id u01FdbNT031938;
	Fri, 1 Jan 2016 16:39:38 +0100
Received: from foo.stuge.se (qmailr@foo.stuge.se [212.116.89.98])
 by giant.haxx.se (8.14.4/8.14.4/Debian-7) with ESMTP id u01FdaCJ031935
 (version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT)
 for <libssh2-devel@cool.haxx.se>; Fri, 1 Jan 2016 16:39:36 +0100
Received: (qmail 22654 invoked by uid 501); 1 Jan 2016 15:39:37 -0000
Message-ID: <20160101153937.22653.qmail@stuge.se>
Date: Fri, 1 Jan 2016 16:39:36 +0100
From: Peter Stuge <peter@stuge.se>
To: libssh2-devel@cool.haxx.se
Subject: Re: Removing non-CMake windows support (was Re: problems building
 under Windows)
Mail-Followup-To: libssh2-devel@cool.haxx.se
References: <CAHL=4t6e5D7CvHu9eUXfnNPL82V_cMvAG-7xNB2cEQt7KNZjZQ@mail.gmail.com>
 <F12967EC-1E40-4F60-9534-D194E67E114A@ormris.us>
 <CADyPeTNhp4r9d1kdavtkZUOGmAs54G8xuRTMMDM305RfvaZV8Q@mail.gmail.com>
 <20151231161034.15775.qmail@stuge.se>
 <CADyPeTOwtk-yMB1g2SOi_T7jUizZANUM_8MwUW0ZUZTniMxG5w@mail.gmail.com>
MIME-Version: 1.0
Content-Disposition: inline
In-Reply-To: <CADyPeTOwtk-yMB1g2SOi_T7jUizZANUM_8MwUW0ZUZTniMxG5w@mail.gmail.com>
X-BeenThere: libssh2-devel@cool.haxx.se
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: libssh2 development <libssh2-devel.cool.haxx.se>
List-Unsubscribe: <http://cool.haxx.se/cgi-bin/mailman/options/libssh2-devel>, 
 <mailto:libssh2-devel-request@cool.haxx.se?subject=unsubscribe>
List-Archive: <http://cool.haxx.se/pipermail/libssh2-devel/>
List-Post: <mailto:libssh2-devel@cool.haxx.se>
List-Help: <mailto:libssh2-devel-request@cool.haxx.se?subject=help>
List-Subscribe: <http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel>, 
 <mailto:libssh2-devel-request@cool.haxx.se?subject=subscribe>
Reply-To: libssh2 development <libssh2-devel@cool.haxx.se>
Content-Type: text/plain; charset="utf-8"
Errors-To: libssh2-devel-bounces@cool.haxx.se
Sender: "libssh2-devel" <libssh2-devel-bounces@cool.haxx.se>
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from base64 to 8bit by giant.haxx.se id u01FdbNT031938

Alexander Lamaison wrote:
> > > I would like people's opinions on deleting the non-CMake
> > > windows support files.
..
> > Maintain a native Nmakefile and nothing else.
..
> There's a trade off between the cost of users having to have cmake on
> their system and the cost of us having to maintain yet another build
> variant. Given how short-staffed we are anyway, it makes sense to me
> to outsource as much busy-work as possible.

I would agree if the source code was much larger and/or dynamic.

OTOH you're the one doing the work here.


//Peter
_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel

From libssh2-devel-bounces@cool.haxx.se  Fri Jan  1 16:43:25 2016
Return-Path: <libssh2-devel-bounces@cool.haxx.se>
Received: from www.haxx.se (localhost.localdomain [127.0.0.1])
	by giant.haxx.se (8.14.4/8.14.4/Debian-7) with ESMTP id u01FhL0q015594;
	Fri, 1 Jan 2016 16:43:25 +0100
Received: from mail-wm0-x236.google.com (mail-wm0-x236.google.com
 [IPv6:2a00:1450:400c:c09::236])
 by giant.haxx.se (8.14.4/8.14.4/Debian-7) with ESMTP id u01FhJda015496
 (version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NOT)
 for <libssh2-devel@cool.haxx.se>; Fri, 1 Jan 2016 16:43:19 +0100
Received: by mail-wm0-x236.google.com with SMTP id b14so110098062wmb.1
 for <libssh2-devel@cool.haxx.se>; Fri, 01 Jan 2016 07:43:20 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
 h=mime-version:sender:in-reply-to:references:date:message-id:subject
 :from:to:content-type;
 bh=vdegxt1s4hqxxCriH44laDxQXbP0anSfkjZj8qWFqys=;
 b=ae2HfT2cYCNsSJ53XzX0B7nyg38+l5m4xGnii0LPVUJ37bzLQ7r/NPMe3hIfFIjkmJ
 JyNyKAAp2YCKFYzi7z8unUQgnL22DwvcbeNVuvwrj/Fg0A0s/L6N63dwuBPBAMRK3zOG
 pd46ehbN67u/e6931YAgVhBkG01FMIBCMGvF2Uve8gozBUjREm+c96oeS2+XBiDctFl+
 mVuMCIrxXOsBiF9PVG/XisvznBmymRl84IMGmlxNDwWO25WvRAhelspmrW0MldoEZIn6
 erNQAng68M5x6VvFMdfBnqnN36DS5TWa6qfMg1bO0QGZ2aCn2LpXhO4cZT/pzMg0/9uV
 AzKg==
MIME-Version: 1.0
X-Received: by 10.194.94.41 with SMTP id cz9mr65399205wjb.169.1451662995288;
 Fri, 01 Jan 2016 07:43:15 -0800 (PST)
Received: by 10.27.28.66 with HTTP; Fri, 1 Jan 2016 07:43:15 -0800 (PST)
In-Reply-To: <54B874BD2E3E4DB0BF293EE2F87EE5BE@OwnerPC311012>
References: <CADyPeTNvFZx-bE=JjQTo_4_+yj+AgaiBy-0LXxsC3tUiPPH5Zw@mail.gmail.com>
 <54B874BD2E3E4DB0BF293EE2F87EE5BE@OwnerPC311012>
Date: Fri, 1 Jan 2016 15:43:15 +0000
X-Google-Sender-Auth: RyYrMnZ8aobQIJkwHttbt6lcRGc
Message-ID: <CADyPeTOSFF1A93vKp_xVTJa3S0D39UhtEScuC1i5tHQec=m_3w@mail.gmail.com>
Subject: Re: Removing non-CMake windows support (was Re: problems building
 under Windows)
From: Alexander Lamaison <swish@lammy.co.uk>
To: libssh2 development <libssh2-devel@cool.haxx.se>
X-BeenThere: libssh2-devel@cool.haxx.se
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: libssh2 development <libssh2-devel.cool.haxx.se>
List-Unsubscribe: <http://cool.haxx.se/cgi-bin/mailman/options/libssh2-devel>, 
 <mailto:libssh2-devel-request@cool.haxx.se?subject=unsubscribe>
List-Archive: <http://cool.haxx.se/pipermail/libssh2-devel/>
List-Post: <mailto:libssh2-devel@cool.haxx.se>
List-Help: <mailto:libssh2-devel-request@cool.haxx.se?subject=help>
List-Subscribe: <http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel>, 
 <mailto:libssh2-devel-request@cool.haxx.se?subject=subscribe>
Reply-To: libssh2 development <libssh2-devel@cool.haxx.se>
Content-Type: text/plain; charset="utf-8"
Errors-To: libssh2-devel-bounces@cool.haxx.se
Sender: "libssh2-devel" <libssh2-devel-bounces@cool.haxx.se>
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from base64 to 8bit by giant.haxx.se id u01FhL0q015594

On 1 January 2016 at 15:25,  <sisyphus1@optusnet.com.au> wrote:
> Hi guys,
>
> Sorry for the interruption, but I just want to make sure that "removing
> non-CMake windows support" does *not* mean that Windows users would no
> longer be able to build libssh2 in the MSYS shell using autotools
> (./configure && make) with a mingw port of gcc.
> That would be horrible.

Don't worry, that is not what I'm proposing.  I'm talking about
removing support for generating Visual Studio projects using autotools
and removing any hand-rolled VS projects that we still have in the
source.  Because MSYS uses autotools to generate makefiles like any
other Unix, there is very little maintenance burden there.

Alex

-- 
Swish - Easy SFTP for Windows Explorer (http://www.swish-sftp.org)
_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel

From libssh2-devel-bounces@cool.haxx.se  Fri Jan  1 16:46:49 2016
Return-Path: <libssh2-devel-bounces@cool.haxx.se>
Received: from www.haxx.se (localhost.localdomain [127.0.0.1])
	by giant.haxx.se (8.14.4/8.14.4/Debian-7) with ESMTP id u01FklDl021204;
	Fri, 1 Jan 2016 16:46:48 +0100
Received: from mail-wm0-x234.google.com (mail-wm0-x234.google.com
 [IPv6:2a00:1450:400c:c09::234])
 by giant.haxx.se (8.14.4/8.14.4/Debian-7) with ESMTP id u01Fkjv2021119
 (version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NOT)
 for <libssh2-devel@cool.haxx.se>; Fri, 1 Jan 2016 16:46:45 +0100
Received: by mail-wm0-x234.google.com with SMTP id b14so110153529wmb.1
 for <libssh2-devel@cool.haxx.se>; Fri, 01 Jan 2016 07:46:46 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
 h=mime-version:sender:in-reply-to:references:date:message-id:subject
 :from:to:content-type;
 bh=i6NffuuwLhbnq/4NAlhqMHECCPJUsJqQdekJmcyaOds=;
 b=TdfL0G9OzyPGsTG0tp6GnSRY/iy/8oSKO2nsh4m1B5sJEAiJ1sy65IgARCDeEOa0Qd
 JXsc26+phsZ5Wxkj88eowlP6q2GRMOQvTKqaP6tYzrCmcWsuL8O/e8dSfCp3AMo54Dr8
 d1BbtP7uoGPE9UgWtTSpyH2bA6SGtLCVOx2ugMVw7EYDOcKyawhtvmpyKaT0k0NVOoMw
 m+2wiW+3nwdjVu7EDEq6FbBys0Z/CYFrvq41w/fUjht8h9d9svT/iA5fL1NpjB7NS/lt
 fAXmQxyqTZT2UKWhCIE6O+IBgOS43eTpUJ0Fzoj1kALY4Mnf+EfMwMbEw3bhjbuUyHrf
 OpNw==
MIME-Version: 1.0
X-Received: by 10.28.15.210 with SMTP id 201mr18853633wmp.79.1451663201290;
 Fri, 01 Jan 2016 07:46:41 -0800 (PST)
Received: by 10.27.28.66 with HTTP; Fri, 1 Jan 2016 07:46:41 -0800 (PST)
In-Reply-To: <k7lf7b9k5fq9evle7864vptbb5ssq99a4f@4ax.com>
References: <CAHL=4t6e5D7CvHu9eUXfnNPL82V_cMvAG-7xNB2cEQt7KNZjZQ@mail.gmail.com>
 <F12967EC-1E40-4F60-9534-D194E67E114A@ormris.us>
 <F12967EC-1E40-4F60-9534-D194E67E114A-KW/l9Rx3T7T1P9xLtpHBDw@public.gmane.org>
 <CADyPeTNhp4r9d1kdavtkZUOGmAs54G8xuRTMMDM305RfvaZV8Q@mail.gmail.com>
 <k7lf7b9k5fq9evle7864vptbb5ssq99a4f@4ax.com>
Date: Fri, 1 Jan 2016 15:46:41 +0000
X-Google-Sender-Auth: JR8D_byZBMSYFFk0IbMoQef2Clc
Message-ID: <CADyPeTMj-FJ_E4JBe0-epV459X67WDrji7es_cTDuL=WD5QJjw@mail.gmail.com>
Subject: Re: Removing non-CMake windows support (was Re: problems building
 under Windows)
From: Alexander Lamaison <swish@lammy.co.uk>
To: libssh2 development <libssh2-devel@cool.haxx.se>
X-BeenThere: libssh2-devel@cool.haxx.se
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: libssh2 development <libssh2-devel.cool.haxx.se>
List-Unsubscribe: <http://cool.haxx.se/cgi-bin/mailman/options/libssh2-devel>, 
 <mailto:libssh2-devel-request@cool.haxx.se?subject=unsubscribe>
List-Archive: <http://cool.haxx.se/pipermail/libssh2-devel/>
List-Post: <mailto:libssh2-devel@cool.haxx.se>
List-Help: <mailto:libssh2-devel-request@cool.haxx.se?subject=help>
List-Subscribe: <http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel>, 
 <mailto:libssh2-devel-request@cool.haxx.se?subject=subscribe>
Reply-To: libssh2 development <libssh2-devel@cool.haxx.se>
Content-Type: text/plain; charset="utf-8"
Errors-To: libssh2-devel-bounces@cool.haxx.se
Sender: "libssh2-devel" <libssh2-devel-bounces@cool.haxx.se>
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from base64 to 8bit by giant.haxx.se id u01FklDl021204

On 21 December 2015 at 10:32, Jan Ehrhardt <phpdev@ehrhardt.nl> wrote:
> Alexander Lamaison in gmane.network.ssh.libssh2.devel (Sun, 20 Dec 2015
> 21:26:28 +0000):
>>I would like people's opinions on deleting the non-CMake windows support
>>files.
>>
>>We regularly get questions from people who see the windows projects in the
>>source and (quite reasonably) assume they are the place to go to build
>>libssh2 on Windows. But, as we know, they don't work very well. That's why
>>we added CMake build support.
>
> The VC-projects are used for compiling libssh2 as a dependency for PHP 5
> and PHP 7: https://github.com/winlibs/libssh2
>
> I would not advice to remove them.

Could PHP not use VC projects via CMake?

Alex

-- 
Swish - Easy SFTP for Windows Explorer (http://www.swish-sftp.org)
_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel

From libssh2-devel-bounces@cool.haxx.se  Sat Jan  2 01:36:22 2016
Return-Path: <libssh2-devel-bounces@cool.haxx.se>
Received: from www.haxx.se (localhost.localdomain [127.0.0.1])
	by giant.haxx.se (8.14.4/8.14.4/Debian-7) with ESMTP id u020a33m012641;
	Sat, 2 Jan 2016 01:36:19 +0100
Received: from lb2-smtp-cloud3.xs4all.net (lb2-smtp-cloud3.xs4all.net
 [194.109.24.26])
 by giant.haxx.se (8.14.4/8.14.4/Debian-7) with ESMTP id u020a1Ys012453
 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT)
 for <libssh2-devel@cool.haxx.se>; Sat, 2 Jan 2016 01:36:01 +0100
Received: from xs9.xs4all.nl ([194.109.21.9])
 by smtp-cloud3.xs4all.net with ESMTP
 id 0obx1s00B0BlZ8J01obxxS; Sat, 02 Jan 2016 01:35:57 +0100
Received: from X220 (IDENT:12615@shell.xs4all.nl [194.109.21.9])
 by xs9.xs4all.nl (8.14.4/8.14.4/Debian-4) with ESMTP id u020Zvv2019598
 for <libssh2-devel@cool.haxx.se>; Sat, 2 Jan 2016 01:35:57 +0100
From: Jan Ehrhardt <phpdev@ehrhardt.nl>
To: libssh2-devel@cool.haxx.se
Subject: Re: Removing non-CMake windows support (was Re: problems building
 under Windows)
Date: Sat, 02 Jan 2016 01:35:57 +0100
Message-ID: <c21e8bdvpka2ot9ljhjfbmal9vob5vugfq@4ax.com>
References: <CAHL=4t6e5D7CvHu9eUXfnNPL82V_cMvAG-7xNB2cEQt7KNZjZQ@mail.gmail.com>
 <F12967EC-1E40-4F60-9534-D194E67E114A@ormris.us>
 <F12967EC-1E40-4F60-9534-D194E67E114A-KW/l9Rx3T7T1P9xLtpHBDw@public.gmane.org>
 <CADyPeTNhp4r9d1kdavtkZUOGmAs54G8xuRTMMDM305RfvaZV8Q@mail.gmail.com>
 <k7lf7b9k5fq9evle7864vptbb5ssq99a4f@4ax.com>
 <k7lf7b9k5fq9evle7864vptbb5ssq99a4f-e09XROE/p8c@public.gmane.org>
 <CADyPeTMj-FJ_E4JBe0-epV459X67WDrji7es_cTDuL=WD5QJjw@mail.gmail.com>
In-Reply-To: <CADyPeTMj-FJ_E4JBe0-epV459X67WDrji7es_cTDuL=WD5QJjw@mail.gmail.com>
X-Mailer: Forte Agent 3.3/32.846
MIME-Version: 1.0
X-MIME-Autoconverted: from quoted-printable to 8bit by giant.haxx.se id
 u020a1Ys012453
X-BeenThere: libssh2-devel@cool.haxx.se
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: libssh2 development <libssh2-devel.cool.haxx.se>
List-Unsubscribe: <http://cool.haxx.se/cgi-bin/mailman/options/libssh2-devel>, 
 <mailto:libssh2-devel-request@cool.haxx.se?subject=unsubscribe>
List-Archive: <http://cool.haxx.se/pipermail/libssh2-devel/>
List-Post: <mailto:libssh2-devel@cool.haxx.se>
List-Help: <mailto:libssh2-devel-request@cool.haxx.se?subject=help>
List-Subscribe: <http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel>, 
 <mailto:libssh2-devel-request@cool.haxx.se?subject=subscribe>
Reply-To: libssh2 development <libssh2-devel@cool.haxx.se>
Content-Type: text/plain; charset="utf-8"
Errors-To: libssh2-devel-bounces@cool.haxx.se
Sender: "libssh2-devel" <libssh2-devel-bounces@cool.haxx.se>
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from base64 to 8bit by giant.haxx.se id u020a33m012641

Alexander Lamaison in gmane.network.ssh.libssh2.devel (Fri, 1 Jan 2016
15:46:41 +0000):
>On 21 December 2015 at 10:32, Jan Ehrhardt <phpdev@ehrhardt.nl> wrote:
>> The VC-projects are used for compiling libssh2 as a dependency for PHP 5
>> and PHP 7: https://github.com/winlibs/libssh2
>>
>> I would not advice to remove them.
>
>Could PHP not use VC projects via CMake?

TLDR: CMake sort of works

CMake (on Windows) is notoriously stubborn when it comes to finding
libraries. I had to upgrade to CMake 3.4.1 (was 3.2.2) to be able to
manually specify the location of the OpenSSL library:
-D"OPENSSL_ROOT_DIR=/php-sdk/win64build.vc14" for 64-bits VC14 libs
-D"OPENSSL_ROOT_DIR=/php-sdk/win64build.vc11" for 64-bits VC11 libs

But the same trick for Zlib did not work:
-D"ZLIB_ROOT=/php-sdk/win64build.vc14"

Moreover CMake falsely #undef's HAVE_SNPRINTF in VC14. VC14 aka VS2015
does have a snprintf, so you will have to manually add #define
HAVE_SNPRINTF to libssh2_config.h

Outcome of
CMake -G"Visual Studio 14 2015 Win64" -D"BUILD_SHARED_LIBS=1"
   -D"OPENSSL_ROOT_DIR=/php-sdk/win64build.vc14"
   -D"ZLIB_ROOT=/php-sdk/win64build.vc14"

 * Shared library , creating libssh2 as a shared library (.so/.dll)
 * diffie-hellman-group-exchange-sha1 ,
     "new" diffie-hellman-group-exchange-sha1 method

-- The following OPTIONAL packages have been found:

 * OpenSSL

-- The following features have been disabled:

 * Compression , using zlib for compression
 * "none" cipher
 * "none" MAC
 * Logging , Logging of execution with debug trace

-- Configuring done
-- Generating done
CMake Warning:
  Manually-specified variables were not used by the project:

    ZLIB_ROOT

In short: CMake sort of works, but it disables things like zlib which you
do not want to be disabled. And manually editing libssh2_config.h to
#define HAVE_SNPRINTF is really ugly. Also you will have to rerun CMake 4
times to get all dll's and lib's (static/shared + x86/x64).

BTW: I also try to leave out ZLIB_ROOT or set ZLIB_ROOT_DIR although the
CMake docs say it should be ZLIB_ROOT:
https://cmake.org/cmake/help/v3.0/module/FindZLIB.html
-- 
Jan

_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel

From libssh2-devel-bounces@cool.haxx.se  Sat Jan  2 06:52:31 2016
Return-Path: <libssh2-devel-bounces@cool.haxx.se>
Received: from www.haxx.se (localhost.localdomain [127.0.0.1])
	by giant.haxx.se (8.14.4/8.14.4/Debian-7) with ESMTP id u025qAsg018172;
	Sat, 2 Jan 2016 06:52:28 +0100
Received: from lb3-smtp-cloud6.xs4all.net (lb3-smtp-cloud6.xs4all.net
 [194.109.24.31])
 by giant.haxx.se (8.14.4/8.14.4/Debian-7) with ESMTP id u025q79h018099
 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT)
 for <libssh2-devel@cool.haxx.se>; Sat, 2 Jan 2016 06:52:07 +0100
Received: from xs9.xs4all.nl ([194.109.21.9])
 by smtp-cloud6.xs4all.net with ESMTP
 id 0ts21s00F0BlZ8J01ts2wA; Sat, 02 Jan 2016 06:52:02 +0100
Received: from X220 (IDENT:12615@shell.xs4all.nl [194.109.21.9])
 by xs9.xs4all.nl (8.14.4/8.14.4/Debian-4) with ESMTP id u025q208008021
 for <libssh2-devel@cool.haxx.se>; Sat, 2 Jan 2016 06:52:02 +0100
From: Jan Ehrhardt <phpdev@ehrhardt.nl>
To: libssh2-devel@cool.haxx.se
Subject: Re: Removing non-CMake windows support (was Re: problems building
 under Windows)
Date: Sat, 02 Jan 2016 06:52:02 +0100
Message-ID: <06de8bpbtd8gqvf952d7gchr0uon4r3qfu@4ax.com>
References: <F12967EC-1E40-4F60-9534-D194E67E114A-KW/l9Rx3T7T1P9xLtpHBDw@public.gmane.org>
 <CADyPeTNhp4r9d1kdavtkZUOGmAs54G8xuRTMMDM305RfvaZV8Q@mail.gmail.com>
 <k7lf7b9k5fq9evle7864vptbb5ssq99a4f@4ax.com>
 <k7lf7b9k5fq9evle7864vptbb5ssq99a4f-e09XROE/p8c@public.gmane.org>
 <CADyPeTMj-FJ_E4JBe0-epV459X67WDrji7es_cTDuL=WD5QJjw@mail.gmail.com>
 <CADyPeTMj-FJ_E4JBe0-epV459X67WDrji7es_cTDuL=WD5QJjw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
 <c21e8bdvpka2ot9ljhjfbmal9vob5vugfq@4ax.com>
In-Reply-To: <c21e8bdvpka2ot9ljhjfbmal9vob5vugfq@4ax.com>
X-Mailer: Forte Agent 3.3/32.846
MIME-Version: 1.0
X-MIME-Autoconverted: from quoted-printable to 8bit by giant.haxx.se id
 u025q79h018099
X-BeenThere: libssh2-devel@cool.haxx.se
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: libssh2 development <libssh2-devel.cool.haxx.se>
List-Unsubscribe: <http://cool.haxx.se/cgi-bin/mailman/options/libssh2-devel>, 
 <mailto:libssh2-devel-request@cool.haxx.se?subject=unsubscribe>
List-Archive: <http://cool.haxx.se/pipermail/libssh2-devel/>
List-Post: <mailto:libssh2-devel@cool.haxx.se>
List-Help: <mailto:libssh2-devel-request@cool.haxx.se?subject=help>
List-Subscribe: <http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel>, 
 <mailto:libssh2-devel-request@cool.haxx.se?subject=subscribe>
Reply-To: libssh2 development <libssh2-devel@cool.haxx.se>
Content-Type: text/plain; charset="utf-8"
Errors-To: libssh2-devel-bounces@cool.haxx.se
Sender: "libssh2-devel" <libssh2-devel-bounces@cool.haxx.se>
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from base64 to 8bit by giant.haxx.se id u025qAsg018172

Jan Ehrhardt in gmane.network.ssh.libssh2.devel (Sat, 02 Jan 2016 01:35:57
+0100):
>-- The following features have been disabled:
>
> * Compression , using zlib for compression

Solved: -D"ENABLE_ZLIB_COMPRESSION-1"

> * "none" cipher

OK: option(ENABLE_CRYPT_NONE "Permit \"none\" cipher -- NOT RECOMMENDED")

> * "none" MAC

OK, option(ENABLE_MAC_NONE "Permit \"none\" MAC -- NOT RECOMMMENDED")

> * Logging , Logging of execution with debug trace

Can be turned on:

option(ENABLE_DEBUG_LOGGING "log execution with debug trace"
  ${DEBUG_LOGGING_DEFAULT})

And the HAVE_SNPRINTF error can be defeated by an sneaky command line
option: -D"HAVE_SNPRINTF:INTERNAL=1"

Final commend line:

CMake -G"Visual Studio 14 2015"
    -D"BUILD_SHARED_LIBS=1"
    -D"OPENSSL_ROOT_DIR=/php-sdk/win32build.vc14"
    -D"ENABLE_ZLIB_COMPRESSION=1"
    -D"ZLIB_ROOT=/php-sdk/win32build.vc14"
    -D"ENABLE_DEBUG_LOGGING=1"
    -D"HAVE_SNPRINTF:INTERNAL=1"

Output:

-- The following features have been enabled:

 * Shared library , creating libssh2 as a shared library (.so/.dll)
 * Compression , using zlib for compression
 * diffie-hellman-group-exchange-sha1 ,
     "new" diffie-hellman-group-exchange-sha1 method
 * Logging , Logging of execution with debug trace

-- The following OPTIONAL packages have been found:

 * OpenSSL

-- The following REQUIRED packages have been found:

 * ZLIB

-- The following features have been disabled:

 * "none" cipher
 * "none" MAC

The install-dir is 'C:\Program Files (x86)\libssh2' (x86) or 'C:\Program
Files\libssh2' (x64), which is a bit silly, but otherwise it works.
-- 
Jan

_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel

From libssh2-devel-bounces@cool.haxx.se  Sat Jan  2 06:52:32 2016
Return-Path: <libssh2-devel-bounces@cool.haxx.se>
Received: from www.haxx.se (localhost.localdomain [127.0.0.1])
	by giant.haxx.se (8.14.4/8.14.4/Debian-7) with ESMTP id u025qUJ9018222;
	Sat, 2 Jan 2016 06:52:32 +0100
Received: from lb2-smtp-cloud6.xs4all.net (lb2-smtp-cloud6.xs4all.net
 [194.109.24.28])
 by giant.haxx.se (8.14.4/8.14.4/Debian-7) with ESMTP id u025q7nT018100
 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT)
 for <libssh2-devel@cool.haxx.se>; Sat, 2 Jan 2016 06:52:07 +0100
Received: from xs9.xs4all.nl ([194.109.21.9])
 by smtp-cloud6.xs4all.net with ESMTP
 id 0ts21s00E0BlZ8J01ts2w9; Sat, 02 Jan 2016 06:52:02 +0100
Received: from X220 (IDENT:12615@shell.xs4all.nl [194.109.21.9])
 by xs9.xs4all.nl (8.14.4/8.14.4/Debian-4) with ESMTP id u025q207008021
 for <libssh2-devel@cool.haxx.se>; Sat, 2 Jan 2016 06:52:02 +0100
From: Jan Ehrhardt <phpdev@ehrhardt.nl>
To: libssh2-devel@cool.haxx.se
Subject: Re: Removing non-CMake windows support (was Re: problems building
 under Windows)
Date: Sat, 02 Jan 2016 06:52:02 +0100
Message-ID: <65ce8b97ujb3velloaqb6ifgjm1rlndlam@4ax.com>
References: <F12967EC-1E40-4F60-9534-D194E67E114A-KW/l9Rx3T7T1P9xLtpHBDw@public.gmane.org>
 <CADyPeTNhp4r9d1kdavtkZUOGmAs54G8xuRTMMDM305RfvaZV8Q@mail.gmail.com>
 <k7lf7b9k5fq9evle7864vptbb5ssq99a4f@4ax.com>
 <k7lf7b9k5fq9evle7864vptbb5ssq99a4f-e09XROE/p8c@public.gmane.org>
 <CADyPeTMj-FJ_E4JBe0-epV459X67WDrji7es_cTDuL=WD5QJjw@mail.gmail.com>
 <CADyPeTMj-FJ_E4JBe0-epV459X67WDrji7es_cTDuL=WD5QJjw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
 <c21e8bdvpka2ot9ljhjfbmal9vob5vugfq@4ax.com>
In-Reply-To: <c21e8bdvpka2ot9ljhjfbmal9vob5vugfq@4ax.com>
X-Mailer: Forte Agent 3.3/32.846
MIME-Version: 1.0
X-MIME-Autoconverted: from quoted-printable to 8bit by giant.haxx.se id
 u025q7nT018100
X-BeenThere: libssh2-devel@cool.haxx.se
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: libssh2 development <libssh2-devel.cool.haxx.se>
List-Unsubscribe: <http://cool.haxx.se/cgi-bin/mailman/options/libssh2-devel>, 
 <mailto:libssh2-devel-request@cool.haxx.se?subject=unsubscribe>
List-Archive: <http://cool.haxx.se/pipermail/libssh2-devel/>
List-Post: <mailto:libssh2-devel@cool.haxx.se>
List-Help: <mailto:libssh2-devel-request@cool.haxx.se?subject=help>
List-Subscribe: <http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel>, 
 <mailto:libssh2-devel-request@cool.haxx.se?subject=subscribe>
Reply-To: libssh2 development <libssh2-devel@cool.haxx.se>
Content-Type: text/plain; charset="utf-8"
Errors-To: libssh2-devel-bounces@cool.haxx.se
Sender: "libssh2-devel" <libssh2-devel-bounces@cool.haxx.se>
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from base64 to 8bit by giant.haxx.se id u025qUJ9018222

Jan Ehrhardt in gmane.network.ssh.libssh2.devel (Sat, 02 Jan 2016 01:35:57
+0100):
>But the same trick for Zlib did not work:
>-D"ZLIB_ROOT=/php-sdk/win64build.vc14"

Found the solution:
-D"ENABLE_ZLIB_COMPRESSION=1" -D"ZLIB_ROOT=/php-sdk/win32build.vc14"

This one keeps annoying:

>Moreover CMake falsely #undef's HAVE_SNPRINTF in VC14. VC14 aka VS2015
>does have a snprintf, so you will have to manually add #define
>HAVE_SNPRINTF to libssh2_config.h

But most of it works now:

CMake -G"Visual Studio 14 2015" -D"BUILD_SHARED_LIBS=1"
    -D"OPENSSL_ROOT_DIR=/php-sdk/win32build.vc14"
    -D"ENABLE_ZLIB_COMPRESSION=1" -D"ZLIB_ROOT=/php-sdk/win32build.vc14"

leads to

-- The following features have been enabled:

 * Shared library , creating libssh2 as a shared library (.so/.dll)
 * Compression , using zlib for compression
 * diffie-hellman-group-exchange-sha1 ,
     "new" diffie-hellman-group-exchange-sha1 method

-- The following OPTIONAL packages have been found:

 * OpenSSL

-- The following REQUIRED packages have been found:

 * ZLIB

-- The following features have been disabled:

 * "none" cipher
 * "none" MAC
 * Logging , Logging of execution with debug trace
-- 
Jan

_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel

From libssh2-devel-bounces@cool.haxx.se  Sat Jan  2 12:12:33 2016
Return-Path: <libssh2-devel-bounces@cool.haxx.se>
Received: from www.haxx.se (localhost.localdomain [127.0.0.1])
	by giant.haxx.se (8.14.4/8.14.4/Debian-7) with ESMTP id u02BC8AC018552;
	Sat, 2 Jan 2016 12:12:30 +0100
Received: from mail-wm0-x22f.google.com (mail-wm0-x22f.google.com
 [IPv6:2a00:1450:400c:c09::22f])
 by giant.haxx.se (8.14.4/8.14.4/Debian-7) with ESMTP id u02BC72A018478
 (version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NOT)
 for <libssh2-devel@cool.haxx.se>; Sat, 2 Jan 2016 12:12:07 +0100
Received: by mail-wm0-x22f.google.com with SMTP id f206so127850943wmf.0
 for <libssh2-devel@cool.haxx.se>; Sat, 02 Jan 2016 03:12:07 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
 h=mime-version:sender:in-reply-to:references:date:message-id:subject
 :from:to:content-type;
 bh=qqWg64flmt8w5+quC1xbau96K/L/MOCTuvepqh83dJQ=;
 b=VtV0gQtCbN41rkJSuERgK710vbPAnDuamff0MSR+8/N/fpMEXuVWWdByi+GrcBfiiK
 /MzRxBt34Yj+hG9YQbjuCgJ8Xh7Z2DJNsmUBpZ1OP7IMopqLrI3LiMGi5C+elfQkUxAk
 4MNwoGNQykHK12UNWYc0awn821Gmat5U0OHoGzp73Rt0yJseIwlprKWOJRjdJxS3vGdD
 ETiYcLyqGmgdxZzkXDydE6aelM01GRxoJG19t+RmBG5PLtN+bcziq9xl3ySkoRetoDSc
 kKIWTBaYSjNi/GYFfa8UVvDmkxnOXAoxrO9ZznD6aQYY2hqHJUz/w2sAsO2HJ5rh11Gg
 RijA==
MIME-Version: 1.0
X-Received: by 10.28.229.20 with SMTP id c20mr46606454wmh.79.1451733122471;
 Sat, 02 Jan 2016 03:12:02 -0800 (PST)
Received: by 10.27.28.66 with HTTP; Sat, 2 Jan 2016 03:12:02 -0800 (PST)
In-Reply-To: <c21e8bdvpka2ot9ljhjfbmal9vob5vugfq@4ax.com>
References: <CAHL=4t6e5D7CvHu9eUXfnNPL82V_cMvAG-7xNB2cEQt7KNZjZQ@mail.gmail.com>
 <F12967EC-1E40-4F60-9534-D194E67E114A@ormris.us>
 <F12967EC-1E40-4F60-9534-D194E67E114A-KW/l9Rx3T7T1P9xLtpHBDw@public.gmane.org>
 <CADyPeTNhp4r9d1kdavtkZUOGmAs54G8xuRTMMDM305RfvaZV8Q@mail.gmail.com>
 <k7lf7b9k5fq9evle7864vptbb5ssq99a4f@4ax.com>
 <k7lf7b9k5fq9evle7864vptbb5ssq99a4f-e09XROE/p8c@public.gmane.org>
 <CADyPeTMj-FJ_E4JBe0-epV459X67WDrji7es_cTDuL=WD5QJjw@mail.gmail.com>
 <c21e8bdvpka2ot9ljhjfbmal9vob5vugfq@4ax.com>
Date: Sat, 2 Jan 2016 11:12:02 +0000
X-Google-Sender-Auth: iuiNviV0bwbRnbr80R92mDNiXIM
Message-ID: <CADyPeTNQ+TMuREpmON+EnQHwfBBGTa1P_Qvw+WxzWj9cuDLRsg@mail.gmail.com>
Subject: Re: Removing non-CMake windows support (was Re: problems building
 under Windows)
From: Alexander Lamaison <swish@lammy.co.uk>
To: libssh2 development <libssh2-devel@cool.haxx.se>
X-BeenThere: libssh2-devel@cool.haxx.se
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: libssh2 development <libssh2-devel.cool.haxx.se>
List-Unsubscribe: <http://cool.haxx.se/cgi-bin/mailman/options/libssh2-devel>, 
 <mailto:libssh2-devel-request@cool.haxx.se?subject=unsubscribe>
List-Archive: <http://cool.haxx.se/pipermail/libssh2-devel/>
List-Post: <mailto:libssh2-devel@cool.haxx.se>
List-Help: <mailto:libssh2-devel-request@cool.haxx.se?subject=help>
List-Subscribe: <http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel>, 
 <mailto:libssh2-devel-request@cool.haxx.se?subject=subscribe>
Reply-To: libssh2 development <libssh2-devel@cool.haxx.se>
Content-Type: text/plain; charset="utf-8"
Errors-To: libssh2-devel-bounces@cool.haxx.se
Sender: "libssh2-devel" <libssh2-devel-bounces@cool.haxx.se>
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from base64 to 8bit by giant.haxx.se id u02BC8AC018552

On 2 January 2016 at 00:35, Jan Ehrhardt <phpdev@ehrhardt.nl> wrote:
> Alexander Lamaison in gmane.network.ssh.libssh2.devel (Fri, 1 Jan 2016
> 15:46:41 +0000):
>>On 21 December 2015 at 10:32, Jan Ehrhardt <phpdev@ehrhardt.nl> wrote:
>>> The VC-projects are used for compiling libssh2 as a dependency for PHP 5
>>> and PHP 7: https://github.com/winlibs/libssh2
>>>
>>> I would not advice to remove them.
>>
>>Could PHP not use VC projects via CMake?
>
> TLDR: CMake sort of works

Thanks for your detailed feedback.

> CMake (on Windows) is notoriously stubborn when it comes to finding
> libraries. I had to upgrade to CMake 3.4.1 (was 3.2.2) to be able to
> manually specify the location of the OpenSSL library:
> -D"OPENSSL_ROOT_DIR=/php-sdk/win64build.vc14" for 64-bits VC14 libs
> -D"OPENSSL_ROOT_DIR=/php-sdk/win64build.vc11" for 64-bits VC11 libs

With CMake 3.2, what was happening? Was it failing to find any
OpenSSL, or was it finding the wrong one?

> But the same trick for Zlib did not work:
> -D"ZLIB_ROOT=/php-sdk/win64build.vc14"

As you've since discovered, compression is an optional feature that
you have to explicitly enable.  If you don't enable it, you don't need
zlib so the build doesn't even look for it. You might not be expecting
this because the default for the autotools build is to use encryption
if zlib can be found.  Would you prefer the CMake build to do this
also?

> Moreover CMake falsely #undef's HAVE_SNPRINTF in VC14. VC14 aka VS2015
> does have a snprintf, so you will have to manually add #define
> HAVE_SNPRINTF to libssh2_config.h

Are you using the latest from git? This should have been fixed in
https://github.com/libssh2/libssh2/commit/af14462d535a2b061a77d31d60734ebb558aca16

Alex

-- 
Swish - Easy SFTP for Windows Explorer (http://www.swish-sftp.org)
_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel

From libssh2-devel-bounces@cool.haxx.se  Sat Jan  2 18:11:01 2016
Return-Path: <libssh2-devel-bounces@cool.haxx.se>
Received: from www.haxx.se (localhost.localdomain [127.0.0.1])
	by giant.haxx.se (8.14.4/8.14.4/Debian-7) with ESMTP id u02HAUSN005105;
	Sat, 2 Jan 2016 18:10:56 +0100
Received: from plane.gmane.org (plane.gmane.org [80.91.229.3])
 by giant.haxx.se (8.14.4/8.14.4/Debian-7) with ESMTP id u02HAT6G005100
 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NOT)
 for <libssh2-devel@cool.haxx.se>; Sat, 2 Jan 2016 18:10:29 +0100
Received: from list by plane.gmane.org with local (Exim 4.69)
 (envelope-from <gnslg-libssh2-devel-2@m.gmane.org>)
 id 1aFPhF-0005kA-RJ
 for libssh2-devel@cool.haxx.se; Sat, 02 Jan 2016 18:10:29 +0100
Received: from 92.66.168.50 ([92.66.168.50])
 by main.gmane.org with esmtp (Gmexim 0.1 (Debian))
 id 1AlnuQ-0007hv-00
 for <libssh2-devel@cool.haxx.se>; Sat, 02 Jan 2016 18:10:29 +0100
Received: from phpdev by 92.66.168.50 with local (Gmexim 0.1 (Debian))
 id 1AlnuQ-0007hv-00
 for <libssh2-devel@cool.haxx.se>; Sat, 02 Jan 2016 18:10:29 +0100
X-Injected-Via-Gmane: http://gmane.org/
To: libssh2-devel@cool.haxx.se
From: Jan Ehrhardt <phpdev@ehrhardt.nl>
Subject: Re: Removing non-CMake windows support (was Re: problems building
 under Windows)
Date: Sat, 02 Jan 2016 18:10:15 +0100
Lines: 64
Message-ID: <330g8bdsi0ioartc806q4c16359r17ok1m@4ax.com>
References: <CADyPeTNhp4r9d1kdavtkZUOGmAs54G8xuRTMMDM305RfvaZV8Q@mail.gmail.com>
 <k7lf7b9k5fq9evle7864vptbb5ssq99a4f@4ax.com>
 <k7lf7b9k5fq9evle7864vptbb5ssq99a4f-e09XROE/p8c@public.gmane.org>
 <CADyPeTMj-FJ_E4JBe0-epV459X67WDrji7es_cTDuL=WD5QJjw@mail.gmail.com>
 <c21e8bdvpka2ot9ljhjfbmal9vob5vugfq@4ax.com>
 <c21e8bdvpka2ot9ljhjfbmal9vob5vugfq-e09XROE/p8c@public.gmane.org>
 <CADyPeTNQ+TMuREpmON+EnQHwfBBGTa1P_Qvw+WxzWj9cuDLRsg@mail.gmail.com>
Mime-Version: 1.0
X-Complaints-To: usenet@ger.gmane.org
X-Gmane-NNTP-Posting-Host: 92.66.168.50
X-Newsreader: Forte Agent 3.3/32.846
X-BeenThere: libssh2-devel@cool.haxx.se
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: libssh2 development <libssh2-devel.cool.haxx.se>
List-Unsubscribe: <http://cool.haxx.se/cgi-bin/mailman/options/libssh2-devel>, 
 <mailto:libssh2-devel-request@cool.haxx.se?subject=unsubscribe>
List-Archive: <http://cool.haxx.se/pipermail/libssh2-devel/>
List-Post: <mailto:libssh2-devel@cool.haxx.se>
List-Help: <mailto:libssh2-devel-request@cool.haxx.se?subject=help>
List-Subscribe: <http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel>, 
 <mailto:libssh2-devel-request@cool.haxx.se?subject=subscribe>
Reply-To: libssh2 development <libssh2-devel@cool.haxx.se>
Content-Type: text/plain; charset="utf-8"
Errors-To: libssh2-devel-bounces@cool.haxx.se
Sender: "libssh2-devel" <libssh2-devel-bounces@cool.haxx.se>
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from base64 to 8bit by giant.haxx.se id u02HAUSN005105

Alexander Lamaison in gmane.network.ssh.libssh2.devel (Sat, 2 Jan 2016
11:12:02 +0000):
>On 2 January 2016 at 00:35, Jan Ehrhardt <phpdev@ehrhardt.nl> wrote:
>> CMake (on Windows) is notoriously stubborn when it comes to finding
>> libraries. I had to upgrade to CMake 3.4.1 (was 3.2.2) to be able to
>> manually specify the location of the OpenSSL library:
>> -D"OPENSSL_ROOT_DIR=/php-sdk/win64build.vc14" for 64-bits VC14 libs
>> -D"OPENSSL_ROOT_DIR=/php-sdk/win64build.vc11" for 64-bits VC11 libs
>
>With CMake 3.2, what was happening? Was it failing to find any
>OpenSSL, or was it finding the wrong one?

I later discovered that it wasn't the upgrade to CMake 3.4.1 that made the
real difference, but the fact that I uninstalled OpenSSL on my system. I
had it installed with the installers of
https://slproweb.com/products/Win32OpenSSL.html and then CMake prefers the
system wide OpenSSL, no matter what you specify manually. It just
disregarded OPENSSL_ROOT_DIR. See the snippet from FindOpenSSL.cmake
below. In my case it found C:\OpenSSL\Win32\1_0_2d because the registry
key pointed to that location. The difference between 3.2.2 and 3.4.1 was
that 3.2.2 always used the 32-bits key and 3.4.1 was smart enough to use
the 64-bits key when building for Win64.

>> Moreover CMake falsely #undef's HAVE_SNPRINTF in VC14. VC14 aka VS2015
>> does have a snprintf, so you will have to manually add #define
>> HAVE_SNPRINTF to libssh2_config.h
>
>Are you using the latest from git? This should have been fixed in
>https://github.com/libssh2/libssh2/commit/af14462d535a2b061a77d31d60734ebb558aca16

I used the 1.6.0 release tarball. Did not check git head yet.

Jan

Snippet from FindOpenSSL.cmake:

if (WIN32)
  # http://www.slproweb.com/products/Win32OpenSSL.html
  set(_OPENSSL_ROOT_HINTS
    ${OPENSSL_ROOT_DIR}

"[HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Uninstall\\OpenSSL
      (32-bit)_is1;Inno Setup: App Path]"

"[HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Uninstall\\OpenSSL
      (64-bit)_is1;Inno Setup: App Path]"
    ENV OPENSSL_ROOT_DIR
    )
  file(TO_CMAKE_PATH "$ENV{PROGRAMFILES}" _programfiles)
  set(_OPENSSL_ROOT_PATHS
    "${_programfiles}/OpenSSL"
    "${_programfiles}/OpenSSL-Win32"
    "${_programfiles}/OpenSSL-Win64"
    "C:/OpenSSL/"
    "C:/OpenSSL-Win32/"
    "C:/OpenSSL-Win64/"
    )
  unset(_programfiles)
else ()
  set(_OPENSSL_ROOT_HINTS
    ${OPENSSL_ROOT_DIR}
    ENV OPENSSL_ROOT_DIR
    )
endif ()

_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel

From libssh2-devel-bounces@cool.haxx.se  Tue Jan  5 08:49:51 2016
Return-Path: <libssh2-devel-bounces@cool.haxx.se>
Received: from www.haxx.se (localhost.localdomain [127.0.0.1])
	by giant.haxx.se (8.14.4/8.14.4/Debian-7) with ESMTP id u057lQrQ008325;
	Tue, 5 Jan 2016 08:49:48 +0100
Received: from nlsmtpp2.infor.com (nlsmtpp2.infor.com [194.149.81.57])
 by giant.haxx.se (8.14.4/8.14.4/Debian-7) with ESMTP id u057lOdZ008240
 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=NOT)
 for <libssh2-devel@cool.haxx.se>; Tue, 5 Jan 2016 08:47:24 +0100
X-SBRS: None
X-IronPort-AV: E=Sophos;i="5.20,524,1444687200"; 
 d="scan'208,217";a="177497968"
From: Mark Anthony Santos <MarkAnthony.Santos@infor.com>
To: "libssh2-devel@cool.haxx.se" <libssh2-devel@cool.haxx.se>
Subject: Building libssh2 in Windows using CMAKE 
Thread-Topic: Building libssh2 in Windows using CMAKE 
Thread-Index: AdFHjSCFaGcUR1w4SBe831KTfiGD8g==
Date: Tue, 5 Jan 2016 07:47:17 +0000
Message-ID: <32F284A7F406EF498F41C0249E3E8DBF46AB915C@INHYWEXMBX2.infor.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-originating-ip: [10.13.40.79]
MIME-Version: 1.0
X-BeenThere: libssh2-devel@cool.haxx.se
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: libssh2 development <libssh2-devel.cool.haxx.se>
List-Unsubscribe: <http://cool.haxx.se/cgi-bin/mailman/options/libssh2-devel>, 
 <mailto:libssh2-devel-request@cool.haxx.se?subject=unsubscribe>
List-Archive: <http://cool.haxx.se/pipermail/libssh2-devel/>
List-Post: <mailto:libssh2-devel@cool.haxx.se>
List-Help: <mailto:libssh2-devel-request@cool.haxx.se?subject=help>
List-Subscribe: <http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel>, 
 <mailto:libssh2-devel-request@cool.haxx.se?subject=subscribe>
Reply-To: libssh2 development <libssh2-devel@cool.haxx.se>
Content-Type: multipart/mixed; boundary="===============0022657711=="
Errors-To: libssh2-devel-bounces@cool.haxx.se
Sender: "libssh2-devel" <libssh2-devel-bounces@cool.haxx.se>

--===============0022657711==
Content-Language: en-US
Content-Type: multipart/alternative;
	boundary="_000_32F284A7F406EF498F41C0249E3E8DBF46AB915CINHYWEXMBX2info_"

--_000_32F284A7F406EF498F41C0249E3E8DBF46AB915CINHYWEXMBX2info_
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

Hello,

I'd like to change my application to use libssh2 instead of libssh but I'm =
getting an error from the very start of cmake.

I downloaded the code from https://github.com/libssh2/libssh2 and followed =
what is written in INSTALL_CMAKE

First I run :

cmake <libssh2 source location>               // I'm currently in libssh2\s=
rc directory

In which I already getting a warning "No cmake_minimum_required command is =
present." There's also a message in the end that says [Configuring incomple=
te, errors occurred! See also "C:/libssh2-master/src/CMakeFiles/CMakeOutput=
.log".] but when I checked CMakeOutput.log I found no error.

I tried adding cmake_minimum_required(VERSION 3.3.0) and it generated new e=
rrors. (please see below) :

C:\libssh2-master\src>cmake .
-- Building for: Visual Studio 10 2010
CMake Error at CMakeLists.txt:40 (include):
  include could not find load file:

    CheckFunctionExistsMayNeedLibrary


CMake Error at CMakeLists.txt:44 (include):
  include could not find load file:

    CheckNonblockingSocketSupport


CMake Error at CMakeLists.txt:45 (include):
  include could not find load file:

    SocketLibraries


CMake Error at CMakeLists.txt:209 (add_feature_info):
  Unknown CMake command "add_feature_info".


Hope you can help me.

Thanks,
Mark


--_000_32F284A7F406EF498F41C0249E3E8DBF46AB915CINHYWEXMBX2info_
Content-Type: text/html; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<html xmlns:v=3D"urn:schemas-microsoft-com:vml" xmlns:o=3D"urn:schemas-micr=
osoft-com:office:office" xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" xmlns=3D"http:=
//www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dus-ascii"=
>
<meta name=3D"Generator" content=3D"Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
	{font-family:"Cambria Math";
	panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:11.0pt;
	font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:#0563C1;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{mso-style-priority:99;
	color:#954F72;
	text-decoration:underline;}
span.EmailStyle17
	{mso-style-type:personal-compose;
	font-family:"Calibri",sans-serif;
	color:windowtext;}
.MsoChpDefault
	{mso-style-type:export-only;
	font-family:"Calibri",sans-serif;}
@page WordSection1
	{size:8.5in 11.0in;
	margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
	{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext=3D"edit">
<o:idmap v:ext=3D"edit" data=3D"1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang=3D"EN-US" link=3D"#0563C1" vlink=3D"#954F72">
<div class=3D"WordSection1">
<p class=3D"MsoNormal">Hello,<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">I&#8217;d like to change my application to use libss=
h2 instead of libssh but I&#8217;m getting an error from the very start of =
cmake.<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">I downloaded the code from <a href=3D"https://github=
.com/libssh2/libssh2">
https://github.com/libssh2/libssh2</a> and followed what is written in INST=
ALL_CMAKE<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">First I run :<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal"><i>cmake &lt;libssh2 source location&gt;&nbsp;&nbsp;=
 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; // I&#8=
217;m currently in libssh2\src directory<o:p></o:p></i></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">In which I already getting a warning &#8220;No cmake=
_minimum_required command is present.&#8221; There&#8217;s also a message i=
n the end that says [Configuring incomplete, errors occurred! See also &quo=
t;C:/libssh2-master/src/CMakeFiles/CMakeOutput.log&quot;.] but
 when I checked CMakeOutput.log I found no error. <o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">I tried adding cmake_minimum_required(VERSION 3.3.0)=
 and it generated new errors. (please see below) :<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">C:\libssh2-master\src&gt;cmake .<o:p></o:p></p>
<p class=3D"MsoNormal">-- Building for: Visual Studio 10 2010<o:p></o:p></p=
>
<p class=3D"MsoNormal">CMake Error at CMakeLists.txt:40 (include):<o:p></o:=
p></p>
<p class=3D"MsoNormal">&nbsp; include could not find load file:<o:p></o:p><=
/p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">&nbsp;&nbsp;&nbsp; CheckFunctionExistsMayNeedLibrary=
<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">CMake Error at CMakeLists.txt:44 (include):<o:p></o:=
p></p>
<p class=3D"MsoNormal">&nbsp; include could not find load file:<o:p></o:p><=
/p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">&nbsp;&nbsp;&nbsp; CheckNonblockingSocketSupport<o:p=
></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">CMake Error at CMakeLists.txt:45 (include):<o:p></o:=
p></p>
<p class=3D"MsoNormal">&nbsp; include could not find load file:<o:p></o:p><=
/p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">&nbsp;&nbsp;&nbsp; SocketLibraries<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">CMake Error at CMakeLists.txt:209 (add_feature_info)=
:<o:p></o:p></p>
<p class=3D"MsoNormal">&nbsp; Unknown CMake command &quot;add_feature_info&=
quot;.<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">Hope you can help me.<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">Thanks,<o:p></o:p></p>
<p class=3D"MsoNormal">Mark<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
</body>
</html>

--_000_32F284A7F406EF498F41C0249E3E8DBF46AB915CINHYWEXMBX2info_--

--===============0022657711==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: base64
Content-Disposition: inline

X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KbGlic3NoMi1k
ZXZlbCBodHRwOi8vY29vbC5oYXh4LnNlL2NnaS1iaW4vbWFpbG1hbi9saXN0aW5mby9saWJzc2gy
LWRldmVsCg==

--===============0022657711==--

From libssh2-devel-bounces@cool.haxx.se  Tue Jan  5 08:59:19 2016
Return-Path: <libssh2-devel-bounces@cool.haxx.se>
Received: from www.haxx.se (localhost.localdomain [127.0.0.1])
	by giant.haxx.se (8.14.4/8.14.4/Debian-7) with ESMTP id u057vFgY018459;
	Tue, 5 Jan 2016 08:59:18 +0100
Received: from mail-wm0-f44.google.com (mail-wm0-f44.google.com [74.125.82.44])
 by giant.haxx.se (8.14.4/8.14.4/Debian-7) with ESMTP id u057vElA018341
 (version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NOT)
 for <libssh2-devel@cool.haxx.se>; Tue, 5 Jan 2016 08:57:14 +0100
Received: by mail-wm0-f44.google.com with SMTP id b14so16143325wmb.1
 for <libssh2-devel@cool.haxx.se>; Mon, 04 Jan 2016 23:57:14 -0800 (PST)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20130820;
 h=mime-version:references:in-reply-to:from:date:message-id:subject:to
 :content-type;
 bh=JOqqAIx1n0TuA07cXqEAiYjnckiyZsfbfVtaDmZOV1g=;
 b=LaPWuV7i2xqcaFO0xjJU/fC2avGcHqHPZZ04rWrbTtRAHGpqcMzOxoixSl1LbhKzkb
 E9DtmhJwNpqTu9YO5cisrWRJvvtlYLzm3CMegmz47xc8NWnv5/OG8SZIVk2g3xDulwUJ
 aYjsUCfdtFRj+vEt83ZgSx0g7lxNs89drwSkTYSl/FtoCCoDyW+zz691OYpKobWXJeSW
 1PNfYZdTGBuVmSXwRP7jZBHjb1tZpmb26YT3Y9R5hPkXAInhWVQdd3nzcZRlUCOMN+Br
 oObchTpJzQGA6+JaYtKtWVCODicSzMYDEIvKLt5c0qCGmRYwsrxvEpfXFxlhABegWK+T
 XQHA==
X-Received: by 10.28.229.20 with SMTP id c20mr2388891wmh.79.1451980629062;
 Mon, 04 Jan 2016 23:57:09 -0800 (PST)
MIME-Version: 1.0
References: <32F284A7F406EF498F41C0249E3E8DBF46AB915C@INHYWEXMBX2.infor.com>
In-Reply-To: <32F284A7F406EF498F41C0249E3E8DBF46AB915C@INHYWEXMBX2.infor.com>
From: Alexander Lamaison <swish@lammy.co.uk>
Date: Tue, 05 Jan 2016 07:56:59 +0000
Message-ID: <CADyPeTPmAtc+w3P3YqJo2bGGkQBWPtOiQKT3aQ7-ohKjfYUxpg@mail.gmail.com>
Subject: Re: Building libssh2 in Windows using CMAKE
To: libssh2 development <libssh2-devel@cool.haxx.se>
X-BeenThere: libssh2-devel@cool.haxx.se
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: libssh2 development <libssh2-devel.cool.haxx.se>
List-Unsubscribe: <http://cool.haxx.se/cgi-bin/mailman/options/libssh2-devel>, 
 <mailto:libssh2-devel-request@cool.haxx.se?subject=unsubscribe>
List-Archive: <http://cool.haxx.se/pipermail/libssh2-devel/>
List-Post: <mailto:libssh2-devel@cool.haxx.se>
List-Help: <mailto:libssh2-devel-request@cool.haxx.se?subject=help>
List-Subscribe: <http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel>, 
 <mailto:libssh2-devel-request@cool.haxx.se?subject=subscribe>
Reply-To: libssh2 development <libssh2-devel@cool.haxx.se>
Content-Type: multipart/mixed; boundary="===============1215894077=="
Errors-To: libssh2-devel-bounces@cool.haxx.se
Sender: "libssh2-devel" <libssh2-devel-bounces@cool.haxx.se>

--===============1215894077==
Content-Type: multipart/alternative; boundary=001a1145a72e9dbbbb052891950a

--001a1145a72e9dbbbb052891950a
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

On Tue, 5 Jan 2016 07:50 Mark Anthony Santos <MarkAnthony.Santos@infor.com>
wrote:

> Hello,
>
> I=E2=80=99d like to change my application to use libssh2 instead of libss=
h but I=E2=80=99m
> getting an error from the very start of cmake.
>
>
>
> I downloaded the code from https://github.com/libssh2/libssh2 and
> followed what is written in INSTALL_CMAKE
>
>
>
> First I run :
>
>
>
> *cmake <libssh2 source location>               // I=E2=80=99m currently i=
n
> libssh2\src directory*
>
You're running CMake in the wrong directory. It should be the top-level
source directory, ie, the parent of src.

Note to self: make this more clear in INSTALL_CMAKE.

Alex

--001a1145a72e9dbbbb052891950a
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div class=3D"gmail_quote"><div dir=3D"ltr">On Tue, 5 Jan 2016 07:50=C2=A0M=
ark Anthony Santos &lt;<a href=3D"mailto:MarkAnthony.Santos@infor.com">Mark=
Anthony.Santos@infor.com</a>&gt; wrote:<br></div><blockquote class=3D"gmail=
_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:=
1ex">





<div lang=3D"EN-US" link=3D"#0563C1" vlink=3D"#954F72">
<div>
<p class=3D"MsoNormal">Hello,<u></u><u></u></p>
<br>
<p class=3D"MsoNormal">I=E2=80=99d like to change my application to use lib=
ssh2 instead of libssh but I=E2=80=99m getting an error from the very start=
 of cmake.<u></u><u></u></p>
<p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p>
<p class=3D"MsoNormal">I downloaded the code from <a href=3D"https://github=
.com/libssh2/libssh2" target=3D"_blank">
https://github.com/libssh2/libssh2</a> and followed what is written in INST=
ALL_CMAKE<u></u><u></u></p>
<p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p>
<p class=3D"MsoNormal">First I run :<u></u><u></u></p>
<p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p>
<p class=3D"MsoNormal"><i>cmake &lt;libssh2 source location&gt;=C2=A0=C2=A0=
 =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 // I=E2=
=80=99m currently in libssh2\src directory</i></p></div></div></blockquote>=
</div><div>You&#39;re running CMake in the wrong directory. It should be th=
e top-level source directory, ie, the parent of src.</div><div><br></div><d=
iv>Note to self: make this more clear in INSTALL_CMAKE.=C2=A0</div><div><br=
></div><div>Alex</div>

--001a1145a72e9dbbbb052891950a--

--===============1215894077==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: base64
Content-Disposition: inline

X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KbGlic3NoMi1k
ZXZlbCBodHRwOi8vY29vbC5oYXh4LnNlL2NnaS1iaW4vbWFpbG1hbi9saXN0aW5mby9saWJzc2gy
LWRldmVsCg==

--===============1215894077==--

From libssh2-devel-bounces@cool.haxx.se  Tue Jan  5 09:07:16 2016
Return-Path: <libssh2-devel-bounces@cool.haxx.se>
Received: from www.haxx.se (localhost.localdomain [127.0.0.1])
	by giant.haxx.se (8.14.4/8.14.4/Debian-7) with ESMTP id u0585Cgs029798;
	Tue, 5 Jan 2016 09:07:15 +0100
Received: from mail-wm0-f41.google.com (mail-wm0-f41.google.com [74.125.82.41])
 by giant.haxx.se (8.14.4/8.14.4/Debian-7) with ESMTP id u0585A01029622
 (version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NOT)
 for <libssh2-devel@cool.haxx.se>; Tue, 5 Jan 2016 09:05:10 +0100
Received: by mail-wm0-f41.google.com with SMTP id f206so16500678wmf.0
 for <libssh2-devel@cool.haxx.se>; Tue, 05 Jan 2016 00:05:10 -0800 (PST)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20130820;
 h=mime-version:references:in-reply-to:from:date:message-id:subject:to
 :content-type;
 bh=vi/y62cYKVO36cF9xXz8KJcH4Sq35KWHKu2pxcMu3SY=;
 b=DEDuiTM73LowrdioWWLofQDftqqY3qI9FhF+fKYmBQyY7cXQVgDRU+vn7QoEpPN84s
 uR7z7LkkRGIrH3vVNocu83y8issEpHFzR+T0uCg+0lYG7bGy+7sEDbbDLiIJ+m+N4fb8
 xK1qMJZGWmjF8lr2sQ7SDW2V0u7QszwBHENt6wFFANxQVXvWgIksfArk96CRD1gtEkaq
 mpTcIIOJJzUGyOBai4odyB4pJFzMQisY+ku+i1jnmGeadYlxTDXtQJSy1dNkR1LCJQlX
 pvDtawJugX1s+fRdBbjj7gtV3wtcOVGGhqd33fCrxSibZp2mxHAJ0RyLnPFvoSxulFhu
 3wgg==
X-Received: by 10.194.6.196 with SMTP id d4mr99819029wja.120.1451981105226;
 Tue, 05 Jan 2016 00:05:05 -0800 (PST)
MIME-Version: 1.0
References: <32F284A7F406EF498F41C0249E3E8DBF46AB915C@INHYWEXMBX2.infor.com>
 <CADyPeTPmAtc+w3P3YqJo2bGGkQBWPtOiQKT3aQ7-ohKjfYUxpg@mail.gmail.com>
In-Reply-To: <CADyPeTPmAtc+w3P3YqJo2bGGkQBWPtOiQKT3aQ7-ohKjfYUxpg@mail.gmail.com>
From: Alexander Lamaison <swish@lammy.co.uk>
Date: Tue, 05 Jan 2016 08:04:55 +0000
Message-ID: <CADyPeTNEz26ZTntEbNWmtUVqyEvBtyMmb6h8p=QTSimqxv7dbQ@mail.gmail.com>
Subject: Re: Building libssh2 in Windows using CMAKE
To: libssh2 development <libssh2-devel@cool.haxx.se>
X-BeenThere: libssh2-devel@cool.haxx.se
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: libssh2 development <libssh2-devel.cool.haxx.se>
List-Unsubscribe: <http://cool.haxx.se/cgi-bin/mailman/options/libssh2-devel>, 
 <mailto:libssh2-devel-request@cool.haxx.se?subject=unsubscribe>
List-Archive: <http://cool.haxx.se/pipermail/libssh2-devel/>
List-Post: <mailto:libssh2-devel@cool.haxx.se>
List-Help: <mailto:libssh2-devel-request@cool.haxx.se?subject=help>
List-Subscribe: <http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel>, 
 <mailto:libssh2-devel-request@cool.haxx.se?subject=subscribe>
Reply-To: libssh2 development <libssh2-devel@cool.haxx.se>
Content-Type: multipart/mixed; boundary="===============0744465965=="
Errors-To: libssh2-devel-bounces@cool.haxx.se
Sender: "libssh2-devel" <libssh2-devel-bounces@cool.haxx.se>

--===============0744465965==
Content-Type: multipart/alternative; boundary=047d7b5d4976ff7ca5052891b119

--047d7b5d4976ff7ca5052891b119
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

On Tue, 5 Jan 2016 07:56 Alexander Lamaison <swish@lammy.co.uk> wrote:

> On Tue, 5 Jan 2016 07:50 Mark Anthony Santos <MarkAnthony.Santos@infor.co=
m>
> wrote:
>
>> Hello,
>>
>> I=E2=80=99d like to change my application to use libssh2 instead of libs=
sh but
>> I=E2=80=99m getting an error from the very start of cmake.
>>
>>
>>
>> I downloaded the code from https://github.com/libssh2/libssh2 and
>> followed what is written in INSTALL_CMAKE
>>
>>
>>
>> First I run :
>>
>>
>>
>> *cmake <libssh2 source location>               // I=E2=80=99m currently =
in
>> libssh2\src directory*
>>
> You're running CMake in the wrong directory. It should be the top-level
> source directory, ie, the parent of src.
>

Sorry for the woolly language: by 'running CMake in' I meant the CMake
source directory is wrong. The target directory (usually the current
directory) can be whatever you like.

Alex

--047d7b5d4976ff7ca5052891b119
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div class=3D"gmail_quote"><div dir=3D"ltr">On Tue, 5 Jan 2016 07:56=C2=A0A=
lexander Lamaison &lt;<a href=3D"mailto:swish@lammy.co.uk">swish@lammy.co.u=
k</a>&gt; wrote:<br></div><blockquote class=3D"gmail_quote" style=3D"margin=
:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class=3D"gmai=
l_quote"><div dir=3D"ltr">On Tue, 5 Jan 2016 07:50=C2=A0Mark Anthony Santos=
 &lt;<a href=3D"mailto:MarkAnthony.Santos@infor.com" target=3D"_blank">Mark=
Anthony.Santos@infor.com</a>&gt; wrote:<br></div><blockquote class=3D"gmail=
_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:=
1ex">





<div lang=3D"EN-US" link=3D"#0563C1" vlink=3D"#954F72">
<div>
<p class=3D"MsoNormal">Hello,<u></u><u></u></p>
<br>
<p class=3D"MsoNormal">I=E2=80=99d like to change my application to use lib=
ssh2 instead of libssh but I=E2=80=99m getting an error from the very start=
 of cmake.<u></u><u></u></p>
<p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p>
<p class=3D"MsoNormal">I downloaded the code from <a href=3D"https://github=
.com/libssh2/libssh2" target=3D"_blank">
https://github.com/libssh2/libssh2</a> and followed what is written in INST=
ALL_CMAKE<u></u><u></u></p>
<p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p>
<p class=3D"MsoNormal">First I run :<u></u><u></u></p>
<p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p>
<p class=3D"MsoNormal"><i>cmake &lt;libssh2 source location&gt;=C2=A0=C2=A0=
 =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 // I=E2=
=80=99m currently in libssh2\src directory</i></p></div></div></blockquote>=
</div><div>You&#39;re running CMake in the wrong directory. It should be th=
e top-level source directory, ie, the parent of src.</div></blockquote></di=
v><div><br></div><div>Sorry for the woolly language: by &#39;running CMake =
in&#39; I meant the CMake source directory is wrong. The target directory (=
usually the current directory) can be whatever you like.=C2=A0</div><div><b=
r></div><div>Alex</div><div class=3D"gmail_quote"></div>

--047d7b5d4976ff7ca5052891b119--

--===============0744465965==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: base64
Content-Disposition: inline

X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KbGlic3NoMi1k
ZXZlbCBodHRwOi8vY29vbC5oYXh4LnNlL2NnaS1iaW4vbWFpbG1hbi9saXN0aW5mby9saWJzc2gy
LWRldmVsCg==

--===============0744465965==--

From libssh2-devel-bounces@cool.haxx.se  Tue Jan  5 09:33:05 2016
Return-Path: <libssh2-devel-bounces@cool.haxx.se>
Received: from www.haxx.se (localhost.localdomain [127.0.0.1])
	by giant.haxx.se (8.14.4/8.14.4/Debian-7) with ESMTP id u058Ux50009221;
	Tue, 5 Jan 2016 09:33:04 +0100
Received: from nlsmtpp2.infor.com (nlsmtpp2.infor.com [194.149.81.57])
 by giant.haxx.se (8.14.4/8.14.4/Debian-7) with ESMTP id u058Uv7D009188
 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=NOT)
 for <libssh2-devel@cool.haxx.se>; Tue, 5 Jan 2016 09:30:57 +0100
X-SBRS: None
X-IronPort-AV: E=Sophos;i="5.20,524,1444687200"; 
 d="scan'208,217";a="177499929"
From: Mark Anthony Santos <MarkAnthony.Santos@infor.com>
To: libssh2 development <libssh2-devel@cool.haxx.se>
Subject: RE: Building libssh2 in Windows using CMAKE
Thread-Topic: Building libssh2 in Windows using CMAKE
Thread-Index: AQHRR49BMBIxCd3JEEGtxjzyT6xqvJ7sNDSAgABh/BA=
Date: Tue, 5 Jan 2016 08:30:47 +0000
Message-ID: <32F284A7F406EF498F41C0249E3E8DBF46AB918B@INHYWEXMBX2.infor.com>
References: <32F284A7F406EF498F41C0249E3E8DBF46AB915C@INHYWEXMBX2.infor.com>
 <CADyPeTPmAtc+w3P3YqJo2bGGkQBWPtOiQKT3aQ7-ohKjfYUxpg@mail.gmail.com>
 <CADyPeTNEz26ZTntEbNWmtUVqyEvBtyMmb6h8p=QTSimqxv7dbQ@mail.gmail.com>
In-Reply-To: <CADyPeTNEz26ZTntEbNWmtUVqyEvBtyMmb6h8p=QTSimqxv7dbQ@mail.gmail.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-originating-ip: [10.13.40.79]
MIME-Version: 1.0
X-BeenThere: libssh2-devel@cool.haxx.se
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: libssh2 development <libssh2-devel.cool.haxx.se>
List-Unsubscribe: <http://cool.haxx.se/cgi-bin/mailman/options/libssh2-devel>, 
 <mailto:libssh2-devel-request@cool.haxx.se?subject=unsubscribe>
List-Archive: <http://cool.haxx.se/pipermail/libssh2-devel/>
List-Post: <mailto:libssh2-devel@cool.haxx.se>
List-Help: <mailto:libssh2-devel-request@cool.haxx.se?subject=help>
List-Subscribe: <http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel>, 
 <mailto:libssh2-devel-request@cool.haxx.se?subject=subscribe>
Reply-To: libssh2 development <libssh2-devel@cool.haxx.se>
Content-Type: multipart/mixed; boundary="===============0454468527=="
Errors-To: libssh2-devel-bounces@cool.haxx.se
Sender: "libssh2-devel" <libssh2-devel-bounces@cool.haxx.se>

--===============0454468527==
Content-Language: en-US
Content-Type: multipart/alternative;
	boundary="_000_32F284A7F406EF498F41C0249E3E8DBF46AB918BINHYWEXMBX2info_"

--_000_32F284A7F406EF498F41C0249E3E8DBF46AB918BINHYWEXMBX2info_
Content-Type: text/plain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Qo=

--_000_32F284A7F406EF498F41C0249E3E8DBF46AB918BINHYWEXMBX2info_--

--===============0454468527==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: base64
Content-Disposition: inline

X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KbGlic3NoMi1k
ZXZlbCBodHRwOi8vY29vbC5oYXh4LnNlL2NnaS1iaW4vbWFpbG1hbi9saXN0aW5mby9saWJzc2gy
LWRldmVsCg==

--===============0454468527==--

From libssh2-devel-bounces@cool.haxx.se  Tue Jan  5 10:03:33 2016
Return-Path: <libssh2-devel-bounces@cool.haxx.se>
Received: from www.haxx.se (localhost.localdomain [127.0.0.1])
	by giant.haxx.se (8.14.4/8.14.4/Debian-7) with ESMTP id u0591KaW028769;
	Tue, 5 Jan 2016 10:03:32 +0100
Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28])
 by giant.haxx.se (8.14.4/8.14.4/Debian-7) with ESMTP id u0591GEN028753
 (version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT)
 for <libssh2-devel@cool.haxx.se>; Tue, 5 Jan 2016 10:01:18 +0100
Received: from int-mx09.intmail.prod.int.phx2.redhat.com
 (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22])
 by mx1.redhat.com (Postfix) with ESMTPS id 535F0C1090BF;
 Tue,  5 Jan 2016 09:01:15 +0000 (UTC)
Received: from kdudka.brq.redhat.com (kdudka.brq.redhat.com [10.34.4.67])
 by int-mx09.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id
 u0591DMW000769
 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO);
 Tue, 5 Jan 2016 04:01:15 -0500
From: Kamil Dudka <kdudka@redhat.com>
To: Mark Anthony Santos <MarkAnthony.Santos@infor.com>
Subject: Re: Building libssh2 in Windows using CMAKE
Date: Tue, 05 Jan 2016 10:01:13 +0100
Message-ID: <1802598.yaGqLB8rud@kdudka.brq.redhat.com>
User-Agent: KMail/4.14.10 (Linux/4.2.8-300.fc23.x86_64; KDE/4.14.14; x86_64; ;
 )
In-Reply-To: <32F284A7F406EF498F41C0249E3E8DBF46AB918B@INHYWEXMBX2.infor.com>
References: <32F284A7F406EF498F41C0249E3E8DBF46AB915C@INHYWEXMBX2.infor.com>
 <CADyPeTNEz26ZTntEbNWmtUVqyEvBtyMmb6h8p=QTSimqxv7dbQ@mail.gmail.com>
 <32F284A7F406EF498F41C0249E3E8DBF46AB918B@INHYWEXMBX2.infor.com>
MIME-Version: 1.0
X-Scanned-By: MIMEDefang 2.68 on 10.5.11.22
X-MIME-Autoconverted: from quoted-printable to 8bit by giant.haxx.se id
 u0591GEN028753
Cc: libssh2-devel@cool.haxx.se
X-BeenThere: libssh2-devel@cool.haxx.se
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: libssh2 development <libssh2-devel.cool.haxx.se>
List-Unsubscribe: <http://cool.haxx.se/cgi-bin/mailman/options/libssh2-devel>, 
 <mailto:libssh2-devel-request@cool.haxx.se?subject=unsubscribe>
List-Archive: <http://cool.haxx.se/pipermail/libssh2-devel/>
List-Post: <mailto:libssh2-devel@cool.haxx.se>
List-Help: <mailto:libssh2-devel-request@cool.haxx.se?subject=help>
List-Subscribe: <http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel>, 
 <mailto:libssh2-devel-request@cool.haxx.se?subject=subscribe>
Reply-To: libssh2 development <libssh2-devel@cool.haxx.se>
Content-Type: text/plain; charset="utf-8"
Errors-To: libssh2-devel-bounces@cool.haxx.se
Sender: "libssh2-devel" <libssh2-devel-bounces@cool.haxx.se>
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from base64 to 8bit by giant.haxx.se id u0591KaW028769

On Tuesday 05 January 2016 08:30:47 Mark Anthony Santos wrote:
> Hi Alex,
> 
> Thanks for quick response.
> 
> I already did that. I ran CMake in the parent directory of ‘src’ which is
> the libssh2 itself but I’m still seeing the same problem.
 
> Here’s my terminal.
> 
> Where :
> 
> C:\libssh2-master            - is where I saved my downloaded libssh2 from
> github
> C:\libssh2-master\src     - is the location of the source code
> 
> ================================================================
> 
> C:\libssh2-master>cmake C:\libssh2-master\src

This ^^^ line is wrong.  You wanted to run:

cmake C:\libssh2-master

Kamil

_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel

From libssh2-devel-bounces@cool.haxx.se  Tue Jan  5 10:28:39 2016
Return-Path: <libssh2-devel-bounces@cool.haxx.se>
Received: from www.haxx.se (localhost.localdomain [127.0.0.1])
	by giant.haxx.se (8.14.4/8.14.4/Debian-7) with ESMTP id u059QW2H028433;
	Tue, 5 Jan 2016 10:28:37 +0100
Received: from mail-wm0-x235.google.com (mail-wm0-x235.google.com
 [IPv6:2a00:1450:400c:c09::235])
 by giant.haxx.se (8.14.4/8.14.4/Debian-7) with ESMTP id u059QUVx028377
 (version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NOT)
 for <libssh2-devel@cool.haxx.se>; Tue, 5 Jan 2016 10:26:30 +0100
Received: by mail-wm0-x235.google.com with SMTP id f206so15345519wmf.0
 for <libssh2-devel@cool.haxx.se>; Tue, 05 Jan 2016 01:26:31 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
 h=mime-version:sender:in-reply-to:references:date:message-id:subject
 :from:to:content-type;
 bh=GY4Oi8Cxnfwt3tZJKTSTy7ebwyOgbXazfo5jtp1GJuc=;
 b=STBdv1MF1hfNPVx2Dn4OhedoRDnKk27sfGRy4fitCGI21SruApey9vApG2k+ZssTX0
 PG3z2dR8fn0APB074ccpNDZcnjc1PKV2VK2v4KQlw8KE4P47M9pp27lbP9wgEUvmMUwV
 zwqT68n8dXRgLpqvMG7oJSeJBfqjnX7539dVl5J6AWmiMNiKOUBEos28GSytdya0sTr1
 Ub58jxCDOhWtbp35bQe8mkd4VjtllzwvxgPM1rd6sgLOg+rI4tGWqQnIipbhPee9/5Wd
 9FuT74vTj4EZIvknQoFoBAxB6YUOJxZu/E0kyEQMKytQa0881uwltZ9+UI1fK8jcIgEF
 V0BQ==
MIME-Version: 1.0
X-Received: by 10.28.225.132 with SMTP id y126mr3048904wmg.98.1451985985569;
 Tue, 05 Jan 2016 01:26:25 -0800 (PST)
Received: by 10.27.28.66 with HTTP; Tue, 5 Jan 2016 01:26:25 -0800 (PST)
In-Reply-To: <32F284A7F406EF498F41C0249E3E8DBF46AB918B@INHYWEXMBX2.infor.com>
References: <32F284A7F406EF498F41C0249E3E8DBF46AB915C@INHYWEXMBX2.infor.com>
 <CADyPeTPmAtc+w3P3YqJo2bGGkQBWPtOiQKT3aQ7-ohKjfYUxpg@mail.gmail.com>
 <CADyPeTNEz26ZTntEbNWmtUVqyEvBtyMmb6h8p=QTSimqxv7dbQ@mail.gmail.com>
 <32F284A7F406EF498F41C0249E3E8DBF46AB918B@INHYWEXMBX2.infor.com>
Date: Tue, 5 Jan 2016 09:26:25 +0000
X-Google-Sender-Auth: JSpeI9pWHLfVZ9Q3s07YN5sAPmg
Message-ID: <CADyPeTM9LWPA71=yx365ivisfgXgWMyLSMOqoOS4SPkyxaHEng@mail.gmail.com>
Subject: Re: Building libssh2 in Windows using CMAKE
From: Alexander Lamaison <swish@lammy.co.uk>
To: libssh2 development <libssh2-devel@cool.haxx.se>
X-BeenThere: libssh2-devel@cool.haxx.se
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: libssh2 development <libssh2-devel.cool.haxx.se>
List-Unsubscribe: <http://cool.haxx.se/cgi-bin/mailman/options/libssh2-devel>, 
 <mailto:libssh2-devel-request@cool.haxx.se?subject=unsubscribe>
List-Archive: <http://cool.haxx.se/pipermail/libssh2-devel/>
List-Post: <mailto:libssh2-devel@cool.haxx.se>
List-Help: <mailto:libssh2-devel-request@cool.haxx.se?subject=help>
List-Subscribe: <http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel>, 
 <mailto:libssh2-devel-request@cool.haxx.se?subject=subscribe>
Reply-To: libssh2 development <libssh2-devel@cool.haxx.se>
Content-Type: multipart/mixed; boundary="===============0731029686=="
Errors-To: libssh2-devel-bounces@cool.haxx.se
Sender: "libssh2-devel" <libssh2-devel-bounces@cool.haxx.se>

--===============0731029686==
Content-Type: multipart/alternative; boundary=001a114b14cae398a9052892d46c

--001a114b14cae398a9052892d46c
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

On Tue, 5 Jan 2016 08:33 Mark Anthony Santos <MarkAnthony.Santos@infor.com>
wrote:

> Hi Alex,
>
>
>
> Thanks for quick response.
>
>
>
> I already did that. I ran CMake in the parent directory of =E2=80=98src=
=E2=80=99 which is
> the libssh2 itself but I=E2=80=99m still seeing the same problem.
>
>
>
> Here=E2=80=99s my terminal.
>
>
>
> Where :
>
>
>
> C:\libssh2-master            - is where I saved my downloaded libssh2 fro=
m
> github
>
> C:\libssh2-master\src     - is the location of the source code
>
>
>
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
>
>
>
> C:\libssh2-master>cmake C:\libssh2-master\src
>
> -- Building for: Visual Studio 10 2010
>

I'm not sure exactly what's going wrong (it looks like the CMake files are
missing) so I'll try to guide you through step by step. Firstly, you are
trying to do an in-source build. While I doubt that's the source of the
problem, it's not a good idea.

So please check out a fresh copy of libssh2 into a directory, let's say
libssh2a.

cd libssh2a
dir

Confirm that you see a 'CMakeLists.txt' file, directories 'src' and
'include' and also a 'cmake' directory.  Now you need to make a target
directory and configure the project in it:

mkdir build
cd build
cmake ..

Note the dot-dot at the end of the cmake command telling it to use the
source from the parent directory.  It will put all its outputs in the
libssh2a\build directory, leaving your source tree untouched.

Alex

--001a114b14cae398a9052892d46c
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div class=3D"gmail_quote"><div dir=3D"ltr">On Tue, 5 Jan =
2016 08:33=C2=A0Mark Anthony Santos &lt;<a href=3D"mailto:MarkAnthony.Santo=
s@infor.com" target=3D"_blank">MarkAnthony.Santos@infor.com</a>&gt; wrote:<=
br></div><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;borde=
r-left:1px #ccc solid;padding-left:1ex">





<div link=3D"blue" vlink=3D"purple" lang=3D"EN-US">
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,sans-serif;color:#1f497d">Hi Alex,<u></u><u></u></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,sans-serif;color:#1f497d"><u></u>=C2=A0<u></u></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,sans-serif;color:#1f497d">Thanks for quick response.<u></u><u><=
/u></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,sans-serif;color:#1f497d"><u></u>=C2=A0<u></u></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,sans-serif;color:#1f497d">I already did that. I ran CMake in th=
e parent directory of =E2=80=98src=E2=80=99 which is the libssh2 itself but=
 I=E2=80=99m still seeing the same problem.
<u></u><u></u></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,sans-serif;color:#1f497d"><u></u>=C2=A0<u></u></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,sans-serif;color:#1f497d">Here=E2=80=99s my terminal.
<u></u><u></u></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,sans-serif;color:#1f497d"><u></u>=C2=A0<u></u></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,sans-serif;color:#1f497d">Where :
<u></u><u></u></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,sans-serif;color:#1f497d"><u></u>=C2=A0<u></u></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,sans-serif;color:#1f497d">C:\libssh2-master =C2=A0=C2=A0=C2=A0=
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 - is where I saved my downloaded=
 libssh2 from github<u></u><u></u></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,sans-serif;color:#1f497d">C:\libssh2-master\src=C2=A0=C2=A0=C2=
=A0=C2=A0 - is the location of the source code<u></u><u></u></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,sans-serif;color:#1f497d">=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0
<u></u><u></u></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,sans-serif;color:#1f497d">=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D<u></u><u></u></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,sans-serif;color:#1f497d"><u></u>=C2=A0<u></u></span></p>
<p class=3D"MsoNormal" style=3D"margin-left:.5in"><span style=3D"font-size:=
11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:#1f497d">C:\libssh2=
-master&gt;cmake C:\libssh2-master\src<u></u><u></u></span></p></div></div>=
<div link=3D"blue" vlink=3D"purple" lang=3D"EN-US"><div>
<p class=3D"MsoNormal" style=3D"margin-left:.5in"><span style=3D"font-size:=
11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:#1f497d">-- Buildin=
g for: Visual Studio 10 2010</span></p></div></div></blockquote></div><div>=
<br></div><div>I&#39;m not sure exactly what&#39;s going wrong (it looks li=
ke the CMake files are missing) so I&#39;ll try to guide you through step b=
y step. Firstly, you are trying to do an in-source build. While I doubt tha=
t&#39;s the source of the problem, it&#39;s not a good idea.</div><div><br>=
</div><div>So please check out a fresh copy of libssh2 into a directory, le=
t&#39;s say libssh2a.<br><br>cd libssh2a<br>dir<br><br>Confirm that you see=
 a &#39;CMakeLists.txt&#39; file, directories &#39;src&#39; and &#39;includ=
e&#39; and also a &#39;cmake&#39; directory.=C2=A0 Now you need to make a t=
arget directory and configure the project in it:<br><br></div><div>mkdir bu=
ild<br></div><div>cd build<br></div><div>cmake ..<br><br></div><div>Note th=
e dot-dot at the end of the cmake command telling it to use the source from=
 the parent directory.=C2=A0 It will put all its outputs in the libssh2a\bu=
ild directory, leaving your source tree untouched.<br><br>Alex</div></div>

--001a114b14cae398a9052892d46c--

--===============0731029686==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: base64
Content-Disposition: inline

X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KbGlic3NoMi1k
ZXZlbCBodHRwOi8vY29vbC5oYXh4LnNlL2NnaS1iaW4vbWFpbG1hbi9saXN0aW5mby9saWJzc2gy
LWRldmVsCg==

--===============0731029686==--

From libssh2-devel-bounces@cool.haxx.se  Thu Jan  7 02:20:36 2016
Return-Path: <libssh2-devel-bounces@cool.haxx.se>
Received: from www.haxx.se (list@localhost.localdomain [127.0.0.1])
	by giant.haxx.se (8.15.2/8.15.2/Debian-3) with ESMTP id u071Irx3007041;
	Thu, 7 Jan 2016 02:20:32 +0100
Received: from smtp2911-211.mail.sina.com.cn (mail2-186.sinamail.sina.com.cn
 [60.28.2.186])
 by giant.haxx.se (8.15.2/8.15.2/Debian-3) with SMTP id u071Il7H006710
 for <libssh2-devel@cool.haxx.se>; Thu, 7 Jan 2016 02:18:49 +0100
Received: from unknown (HELO webmail.sinamail.sina.com.cn)([172.16.201.150])
 by sina.com with SMTP 7 Jan 2016 09:18:45 +0800 (CST)
X-Sender: hongzhen_luo@sina.com
X-SMAIL-MID: 7673189061689
Received: by webmail.sinamail.sina.com.cn (Postfix, from userid 496)
 id B543AC80330; Thu,  7 Jan 2016 09:18:44 +0800 (CST)
Date: Thu, 07 Jan 2016 09:18:44 +0800
Received: from hongzhen_luo@sina.com([172.16.228.18]) by m0.mail.sina.com.cn
 via HTTP; Thu, 07 Jan 2016 09:18:44 +0800 (CST)
From: <hongzhen_luo@sina.com>
To: "libssh2-devel" <libssh2-devel@cool.haxx.se>
Subject: How to compile libssh2(1.6.0) in the Window7(32bit) with VS2013 for
 get library file ?
MIME-Version: 1.0
X-Priority: 3
X-MessageID: 568dbcf41c3052c4
X-Originating-IP: [172.16.201.150]
X-Mailer: Sina WebMail 4.0
Message-Id: <20160107011844.B543AC80330@webmail.sinamail.sina.com.cn>
X-BeenThere: libssh2-devel@cool.haxx.se
X-Mailman-Version: 2.1.20
Precedence: list
List-Id: libssh2 development <libssh2-devel.cool.haxx.se>
List-Unsubscribe: <http://cool.haxx.se/cgi-bin/mailman/options/libssh2-devel>, 
 <mailto:libssh2-devel-request@cool.haxx.se?subject=unsubscribe>
List-Archive: <http://cool.haxx.se/pipermail/libssh2-devel/>
List-Post: <mailto:libssh2-devel@cool.haxx.se>
List-Help: <mailto:libssh2-devel-request@cool.haxx.se?subject=help>
List-Subscribe: <http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel>, 
 <mailto:libssh2-devel-request@cool.haxx.se?subject=subscribe>
Reply-To: hongzhen_luo@sina.com,
        libssh2 development <libssh2-devel@cool.haxx.se>
Content-Type: multipart/mixed; boundary="===============1666373630=="
Errors-To: libssh2-devel-bounces@cool.haxx.se
Sender: "libssh2-devel" <libssh2-devel-bounces@cool.haxx.se>


--===============1666373630==
Content-Type: multipart/alternative;
	 boundary="=-sinamail_alt_04c890ef313be6bb9e0cfd611f309727"


--=-sinamail_alt_04c890ef313be6bb9e0cfd611f309727
Content-Type: text/plain;
	charset=GBK
Content-Transfer-Encoding: base64
Content-Disposition: inline

RGVhciBldmVyeW9uZSAKCiAgICAgICAgSSBhbSBnb2luZyB0byBkZXZlbG9wIGEgJ1BsdWctaW4n
IHRvIG91ciBDL1MgQXBwICwgIEl0IG5lZWRzIHRvIHVzZSBMaWJzc2gyICxidXQgSSBkb24ndCBr
bm93IEhvdyB0byBjb21waWxlIGxpYnNzaDIoMS42LjApIGluIHRoZSBXaW5kb3c3KDMyYml0KSBP
UyB3aXRoIFZTMjAxMyBmb3IgIGdldCAgdGhlICBMaWJzc2gyIGxpYnJhcnkgZmlsZSAuIAogICAg
ICAgUGxlYXNlIHRlbGwgbWUgdGhlIHByb2Nlc3MgLCBUaGFuayB5b3UgdmVyeSBtdWNoCkJlc3Qg
UmVnYXJkcwog


--=-sinamail_alt_04c890ef313be6bb9e0cfd611f309727
Content-Type: text/html; 
	charset=GBK
Content-Transfer-Encoding: base64
Content-Disposition: inline

PHA+RGVhciBldmVyeW9uZSA8YnI+PC9wPjxwPjxicj48L3A+PHA+Jm5ic3A7Jm5ic3A7Jm5ic3A7
Jm5ic3A7Jm5ic3A7Jm5ic3A7Jm5ic3A7IEkgYW0gZ29pbmcgdG8gZGV2ZWxvcCBhICdQbHVnLWlu
JyB0byBvdXIgQy9TIEFwcCAsJm5ic3A7IEl0IG5lZWRzIHRvIHVzZSBMaWJzc2gyICxidXQgSSBk
b24ndCBrbm93IEhvdyB0byBjb21waWxlIGxpYnNzaDIoMS42LjApIGluIHRoZSBXaW5kb3c3KDMy
Yml0KSBPUyB3aXRoIFZTMjAxMyBmb3ImbmJzcDsgZ2V0Jm5ic3A7IHRoZSZuYnNwOyBMaWJzc2gy
IGxpYnJhcnkgZmlsZSAuIDxicj48L3A+PHA+Jm5ic3A7Jm5ic3A7Jm5ic3A7Jm5ic3A7Jm5ic3A7
Jm5ic3A7IFBsZWFzZSB0ZWxsIG1lIHRoZSBwcm9jZXNzICwgVGhhbmsgeW91IHZlcnkgbXVjaDwv
cD48cD48YnI+PC9wPjxwPkJlc3QgUmVnYXJkczxicj4gPC9wPg==


--=-sinamail_alt_04c890ef313be6bb9e0cfd611f309727--


--===============1666373630==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: base64
Content-Disposition: inline

X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KbGlic3NoMi1k
ZXZlbCBodHRwOi8vY29vbC5oYXh4LnNlL2NnaS1iaW4vbWFpbG1hbi9saXN0aW5mby9saWJzc2gy
LWRldmVsCg==

--===============1666373630==--

From libssh2-devel-bounces@cool.haxx.se  Thu Jan  7 02:30:19 2016
Return-Path: <libssh2-devel-bounces@cool.haxx.se>
Received: from www.haxx.se (list@localhost.localdomain [127.0.0.1])
	by giant.haxx.se (8.15.2/8.15.2/Debian-3) with ESMTP id u071KmAf011004;
	Thu, 7 Jan 2016 02:21:50 +0100
Received: from mail.rcousins.com (mail.rcousins.com [66.220.7.56])
 by giant.haxx.se (8.15.2/8.15.2/Debian-3) with ESMTPS id u071KfaF010863
 (version=TLSv1 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NOT)
 for <libssh2-devel@cool.haxx.se>; Thu, 7 Jan 2016 02:20:42 +0100
Received: from [10.0.0.125] (c-174-62-73-213.hsd1.ca.comcast.net
 [174.62.73.213])
 (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits))
 (Client did not present a certificate)
 by mail.rcousins.com (Postfix) with ESMTPSA id D3A3CC21C17
 for <libssh2-devel@cool.haxx.se>; Wed,  6 Jan 2016 17:20:36 -0800 (PST)
Subject: Re: How to compile libssh2(1.6.0) in the Window7(32bit) with VS2013
 for get library file ?
To: libssh2-devel@cool.haxx.se
References: <20160107011844.B543AC80330@webmail.sinamail.sina.com.cn>
From: Matthew Voss <ormris@ormris.us>
Message-ID: <568DBD60.2030709@ormris.us>
Date: Wed, 6 Jan 2016 17:20:32 -0800
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101
 Thunderbird/38.4.0
MIME-Version: 1.0
In-Reply-To: <20160107011844.B543AC80330@webmail.sinamail.sina.com.cn>
X-BeenThere: libssh2-devel@cool.haxx.se
X-Mailman-Version: 2.1.20
Precedence: list
List-Id: libssh2 development <libssh2-devel.cool.haxx.se>
List-Unsubscribe: <http://cool.haxx.se/cgi-bin/mailman/options/libssh2-devel>, 
 <mailto:libssh2-devel-request@cool.haxx.se?subject=unsubscribe>
List-Archive: <http://cool.haxx.se/pipermail/libssh2-devel/>
List-Post: <mailto:libssh2-devel@cool.haxx.se>
List-Help: <mailto:libssh2-devel-request@cool.haxx.se?subject=help>
List-Subscribe: <http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel>, 
 <mailto:libssh2-devel-request@cool.haxx.se?subject=subscribe>
Reply-To: libssh2 development <libssh2-devel@cool.haxx.se>
Content-Type: multipart/mixed; boundary="===============2073406907=="
Errors-To: libssh2-devel-bounces@cool.haxx.se
Sender: "libssh2-devel" <libssh2-devel-bounces@cool.haxx.se>

This is a multi-part message in MIME format.
--===============2073406907==
Content-Type: multipart/alternative;
 boundary="------------050400020502020506070706"

This is a multi-part message in MIME format.
--------------050400020502020506070706
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 7bit

Hello,

You need to download the latest code from Github, then use the CMake
project file to generate the necessary Visual Studio Project.

Matthew

On 01/06/2016 05:18 PM, hongzhen_luo@sina.com wrote:
>
> Dear everyone
>
>
>         I am going to develop a 'Plug-in' to our C/S App ,  It needs
> to use Libssh2 ,but I don't know How to compile libssh2(1.6.0) in the
> Window7(32bit) OS with VS2013 for  get  the  Libssh2 library file .
>
>        Please tell me the process , Thank you very much
>
>
> Best Regards
>
>
>
> _______________________________________________
> libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel


--------------050400020502020506070706
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: 8bit

<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    Hello,<br>
    <br>
    You need to download the latest code from Github, then use the CMake
    project file to generate the necessary Visual Studio Project.<br>
    <br>
    Matthew<br>
    <br>
    <div class="moz-cite-prefix">On 01/06/2016 05:18 PM,
      <a class="moz-txt-link-abbreviated" href="mailto:hongzhen_luo@sina.com">hongzhen_luo@sina.com</a> wrote:<br>
    </div>
    <blockquote
      cite="mid:20160107011844.B543AC80330@webmail.sinamail.sina.com.cn"
      type="cite">
      <p>Dear everyone <br>
      </p>
      <p><br>
      </p>
      <p>        I am going to develop a 'Plug-in' to our C/S App ,  It
        needs to use Libssh2 ,but I don't know How to compile
        libssh2(1.6.0) in the Window7(32bit) OS with VS2013 for  get 
        the  Libssh2 library file . <br>
      </p>
      <p>       Please tell me the process , Thank you very much</p>
      <p><br>
      </p>
      <p>Best Regards<br>
      </p>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
libssh2-devel <a class="moz-txt-link-freetext" href="http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel">http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>

--------------050400020502020506070706--

--===============2073406907==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: base64
Content-Disposition: inline

X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KbGlic3NoMi1k
ZXZlbCBodHRwOi8vY29vbC5oYXh4LnNlL2NnaS1iaW4vbWFpbG1hbi9saXN0aW5mby9saWJzc2gy
LWRldmVsCg==

--===============2073406907==--

From libssh2-devel-bounces@cool.haxx.se  Tue Jan 12 22:37:11 2016
Return-Path: <libssh2-devel-bounces@cool.haxx.se>
Received: from www.haxx.se (list@localhost.localdomain [127.0.0.1])
	by giant.haxx.se (8.15.2/8.15.2/Debian-3) with ESMTP id u0CLZl9m002537;
	Tue, 12 Jan 2016 22:37:07 +0100
Received: from out3-smtp.messagingengine.com (out3-smtp.messagingengine.com
 [66.111.4.27])
 by giant.haxx.se (8.15.2/8.15.2/Debian-3) with ESMTPS id u0CLZiav002445
 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT)
 for <libssh2-devel@cool.haxx.se>; Tue, 12 Jan 2016 22:35:45 +0100
Received: from compute4.internal (compute4.nyi.internal [10.202.2.44])
 by mailout.nyi.internal (Postfix) with ESMTP id 34E2020CED;
 Tue, 12 Jan 2016 16:35:45 -0500 (EST)
Received: from frontend1 ([10.202.2.160])
 by compute4.internal (MEProxy); Tue, 12 Jan 2016 16:35:45 -0500
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=
 messagingengine.com; h=content-transfer-encoding:content-type
 :date:from:in-reply-to:message-id:mime-version:references
 :subject:to:x-sasl-enc:x-sasl-enc; s=smtpout; bh=pXLMUqtJOlQjB5f
 cCa60poHLkJw=; b=rk6x6bj1Rb4+h/TResjYPzDxB7YPpUyoj+RyJCvW2TYtmIi
 cXWR50+VLGNV0/M12fiMs6R94KzVdytdSbG2oRJB8sA3nemrRl71JOgKXvNNX71H
 NnDTEyb45QkSCa/Y8z3/h4GZAmLuDivyqUwMvieeIGr1NEP6qMyOSUOQc364=
X-Sasl-enc: ZyWTJjY5nCSEzd/rHnQHQlWt8B4tJep0S0tLmdTmmzkP 1452634544
Received: from [192.168.0.6] (cm56-156-173.liwest.at [86.56.156.173])
 by mail.messagingengine.com (Postfix) with ESMTPA id CA145C013FE
 for <libssh2-devel@cool.haxx.se>; Tue, 12 Jan 2016 16:35:44 -0500 (EST)
Mime-Version: 1.0 (Mac OS X Mail 9.2 \(3112\))
Subject: Re: ping for release
From: Jakob Egger <jakob@eggerapps.at>
In-Reply-To: <CADyPeTOoLU4nZ=EdVp5Jh8Fc5xwrbU22geBNOD0U+0+pbdz1SA@mail.gmail.com>
Date: Tue, 12 Jan 2016 22:35:44 +0100
Message-Id: <B71D6268-9F3C-46F3-AAF8-6C2387E246B9@eggerapps.at>
References: <56377A0C.8090103@dbyron.com>
 <alpine.DEB.2.11.1511030740440.9027@tvnag.unkk.fr>
 <CADyPeTMDaRT30wNk1TXFOr12G_drBfyMqk+FHaP=NOreUuvYPA@mail.gmail.com>
 <alpine.DEB.2.11.1511090949360.7567@tvnag.unkk.fr>
 <CADyPeTOoLU4nZ=EdVp5Jh8Fc5xwrbU22geBNOD0U+0+pbdz1SA@mail.gmail.com>
To: libssh2 development <libssh2-devel@cool.haxx.se>
X-Mailer: Apple Mail (2.3112)
X-MIME-Autoconverted: from quoted-printable to 8bit by giant.haxx.se id
 u0CLZiav002445
X-BeenThere: libssh2-devel@cool.haxx.se
X-Mailman-Version: 2.1.20
Precedence: list
List-Id: libssh2 development <libssh2-devel.cool.haxx.se>
List-Unsubscribe: <http://cool.haxx.se/cgi-bin/mailman/options/libssh2-devel>, 
 <mailto:libssh2-devel-request@cool.haxx.se?subject=unsubscribe>
List-Archive: <http://cool.haxx.se/pipermail/libssh2-devel/>
List-Post: <mailto:libssh2-devel@cool.haxx.se>
List-Help: <mailto:libssh2-devel-request@cool.haxx.se?subject=help>
List-Subscribe: <http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel>, 
 <mailto:libssh2-devel-request@cool.haxx.se?subject=subscribe>
Reply-To: libssh2 development <libssh2-devel@cool.haxx.se>
Content-Type: text/plain; charset="utf-8"
Errors-To: libssh2-devel-bounces@cool.haxx.se
Sender: "libssh2-devel" <libssh2-devel-bounces@cool.haxx.se>
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from base64 to 8bit by giant.haxx.se id u0CLZl9m002537

Has anybody been able to sort this out in the last two months?

Is there anything else blocking the release?

Jakob


> On 15 Nov 2015, at 15:17, Alexander Lamaison <swish@lammy.co.uk> wrote:
> 
> Based on the bug report [1] I'm assuming it's these changes [2].
> They're the only ones recently that modified MAX_SFTP_READ_SIZE.
> 
> [1] https://github.com/libssh2/libssh2/issues/50
> [2] https://github.com/libssh2/libssh2/commit/d754fee2f24565d8c89dc37a7f05ba1222a7bfc4
> 
> Alex
> 
> On 9 November 2015 at 08:52, Daniel Stenberg <daniel@haxx.se> wrote:
>> On Tue, 3 Nov 2015, Alexander Lamaison wrote:
>> 
>>> We should consider reverting the recent SFTP changes because they are
>>> known to cause data loss. After the release we can add them back and work on
>>> a proper fix.
>> 
>> 
>> Do you know which commits that caused this? I've seen some reports about
>> problems but I've not seen it clarified that recent changes caused them or
>> which commits it might've been.
>> 
>> 
>> --
>> 
>> / daniel.haxx.se
>> _______________________________________________
>> libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
> 
> 
> 
> -- 
> Swish - Easy SFTP for Windows Explorer (http://www.swish-sftp.org)
> _______________________________________________
> libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel


_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel

From libssh2-devel-bounces@cool.haxx.se  Tue Jan 12 22:59:58 2016
Return-Path: <libssh2-devel-bounces@cool.haxx.se>
Received: from www.haxx.se (list@localhost.localdomain [127.0.0.1])
	by giant.haxx.se (8.15.2/8.15.2/Debian-3) with ESMTP id u0CLwqhU002511;
	Tue, 12 Jan 2016 22:59:57 +0100
Received: from giant.haxx.se (dast@localhost.localdomain [127.0.0.1])
 by giant.haxx.se (8.15.2/8.15.2/Debian-3) with ESMTPS id u0CLwp38002469
 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT)
 for <libssh2-devel@cool.haxx.se>; Tue, 12 Jan 2016 22:58:51 +0100
Received: from localhost (dast@localhost)
 by giant.haxx.se (8.15.2/8.15.2/Submit) with ESMTP id u0CLwoHq002466
 for <libssh2-devel@cool.haxx.se>; Tue, 12 Jan 2016 22:58:50 +0100
X-Authentication-Warning: giant.haxx.se: dast owned process doing -bs
Date: Tue, 12 Jan 2016 22:58:50 +0100 (CET)
From: Daniel Stenberg <daniel@haxx.se>
X-X-Sender: dast@giant.haxx.se
To: libssh2 development <libssh2-devel@cool.haxx.se>
Subject: Re: ping for release
In-Reply-To: <B71D6268-9F3C-46F3-AAF8-6C2387E246B9@eggerapps.at>
Message-ID: <alpine.DEB.2.20.1601122256160.26944@tvnag.unkk.fr>
References: <56377A0C.8090103@dbyron.com>
 <alpine.DEB.2.11.1511030740440.9027@tvnag.unkk.fr>
 <CADyPeTMDaRT30wNk1TXFOr12G_drBfyMqk+FHaP=NOreUuvYPA@mail.gmail.com>
 <alpine.DEB.2.11.1511090949360.7567@tvnag.unkk.fr>
 <CADyPeTOoLU4nZ=EdVp5Jh8Fc5xwrbU22geBNOD0U+0+pbdz1SA@mail.gmail.com>
 <B71D6268-9F3C-46F3-AAF8-6C2387E246B9@eggerapps.at>
User-Agent: Alpine 2.20 (DEB 67 2015-01-07)
X-fromdanielhimself: yes
MIME-Version: 1.0
X-BeenThere: libssh2-devel@cool.haxx.se
X-Mailman-Version: 2.1.20
Precedence: list
List-Id: libssh2 development <libssh2-devel.cool.haxx.se>
List-Unsubscribe: <http://cool.haxx.se/cgi-bin/mailman/options/libssh2-devel>, 
 <mailto:libssh2-devel-request@cool.haxx.se?subject=unsubscribe>
List-Archive: <http://cool.haxx.se/pipermail/libssh2-devel/>
List-Post: <mailto:libssh2-devel@cool.haxx.se>
List-Help: <mailto:libssh2-devel-request@cool.haxx.se?subject=help>
List-Subscribe: <http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel>, 
 <mailto:libssh2-devel-request@cool.haxx.se?subject=subscribe>
Reply-To: libssh2 development <libssh2-devel@cool.haxx.se>
Content-Type: text/plain; charset="utf-8"; Format="flowed"
Errors-To: libssh2-devel-bounces@cool.haxx.se
Sender: "libssh2-devel" <libssh2-devel-bounces@cool.haxx.se>
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from base64 to 8bit by giant.haxx.se id u0CLwqhU002511

On Tue, 12 Jan 2016, Jakob Egger wrote:

> Has anybody been able to sort this out in the last two months?

I haven't seen any attempts nor reports on the list since Alexander pointed 
out the likely offending commits. I take that as a pretty strong sign that 
there isn't a very strong desire to get a version out.

> Is there anything else blocking the release?

There are a few very interesting-looking pull requests pending, but we don't 
need to do them before a release.

-- 

  / daniel.haxx.se
_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel

From libssh2-devel-bounces@cool.haxx.se  Tue Jan 12 23:31:11 2016
Return-Path: <libssh2-devel-bounces@cool.haxx.se>
Received: from www.haxx.se (list@localhost.localdomain [127.0.0.1])
	by giant.haxx.se (8.15.2/8.15.2/Debian-3) with ESMTP id u0CMU4dt005812;
	Tue, 12 Jan 2016 23:31:11 +0100
Received: from mail-wm0-f46.google.com (mail-wm0-f46.google.com [74.125.82.46])
 by giant.haxx.se (8.15.2/8.15.2/Debian-3) with ESMTPS id u0CMTpMx003668
 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NOT)
 for <libssh2-devel@cool.haxx.se>; Tue, 12 Jan 2016 23:29:51 +0100
Received: by mail-wm0-f46.google.com with SMTP id f206so271505827wmf.0
 for <libssh2-devel@cool.haxx.se>; Tue, 12 Jan 2016 14:29:52 -0800 (PST)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20130820;
 h=x-gm-message-state:mime-version:references:in-reply-to:from:date
 :message-id:subject:to:content-type;
 bh=HUks4Z46mNPLjysIXMH6GYb0y7ZkmXETchsNt9UXcmE=;
 b=ar9btvHEo9hIgqfUbdwXnqZmc704Av+XOy0YQkS8JhGcaZDKEnif+1y/AZGiHytyjY
 zDe71A3OXdEWYJB5i7f3+xMvNDV8a11OUDautRHRYzmBw9TSoK3zrC5DB58FsDxOtQL1
 Dp659Yf1vTX2C0nwHlXu7x25RnHtpOCABbQtCz9Cb4wLNumsLX1cj9YTScKTOAQYyEsj
 ouNqZnex1K3Y6BJqL+XqNWmsbEhrdzH5WOioRJzr7teZPECUSmdwlIzhODpZQXZi+zRl
 pTB4QnUcntorbVjNu/9aVZgVJrE8CkJA2YAX888WUc2ZeNcc819IE8QvSkJP1i+Nk4ZC
 fCmQ==
X-Gm-Message-State: ALoCoQkC8/iNh9OS4s2dhEKOQN4O0724YM9liloxvmWC4xMaQ9asWfVuvimFkvvFju3Ang6ltX3BDG/nF16y+sVUkIud1DXLzw==
X-Received: by 10.28.174.77 with SMTP id x74mr20633680wme.99.1452637787223;
 Tue, 12 Jan 2016 14:29:47 -0800 (PST)
MIME-Version: 1.0
References: <56377A0C.8090103@dbyron.com>
 <alpine.DEB.2.11.1511030740440.9027@tvnag.unkk.fr>
 <CADyPeTMDaRT30wNk1TXFOr12G_drBfyMqk+FHaP=NOreUuvYPA@mail.gmail.com>
 <alpine.DEB.2.11.1511090949360.7567@tvnag.unkk.fr>
 <CADyPeTOoLU4nZ=EdVp5Jh8Fc5xwrbU22geBNOD0U+0+pbdz1SA@mail.gmail.com>
 <B71D6268-9F3C-46F3-AAF8-6C2387E246B9@eggerapps.at>
 <alpine.DEB.2.20.1601122256160.26944@tvnag.unkk.fr>
In-Reply-To: <alpine.DEB.2.20.1601122256160.26944@tvnag.unkk.fr>
From: Alexander Lamaison <swish@lammy.co.uk>
Date: Tue, 12 Jan 2016 22:29:37 +0000
Message-ID: <CADyPeTMv2oLGZW=h_Q5Rx2iecDAZU4CWWwTO4aGCDRLFzpttrw@mail.gmail.com>
Subject: Re: ping for release
To: libssh2 development <libssh2-devel@cool.haxx.se>
X-BeenThere: libssh2-devel@cool.haxx.se
X-Mailman-Version: 2.1.20
Precedence: list
List-Id: libssh2 development <libssh2-devel.cool.haxx.se>
List-Unsubscribe: <http://cool.haxx.se/cgi-bin/mailman/options/libssh2-devel>, 
 <mailto:libssh2-devel-request@cool.haxx.se?subject=unsubscribe>
List-Archive: <http://cool.haxx.se/pipermail/libssh2-devel/>
List-Post: <mailto:libssh2-devel@cool.haxx.se>
List-Help: <mailto:libssh2-devel-request@cool.haxx.se?subject=help>
List-Subscribe: <http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel>, 
 <mailto:libssh2-devel-request@cool.haxx.se?subject=subscribe>
Reply-To: libssh2 development <libssh2-devel@cool.haxx.se>
Content-Type: multipart/mixed; boundary="===============1557439744=="
Errors-To: libssh2-devel-bounces@cool.haxx.se
Sender: "libssh2-devel" <libssh2-devel-bounces@cool.haxx.se>

--===============1557439744==
Content-Type: multipart/alternative; boundary=001a114443444b7f4805292a97a3

--001a114443444b7f4805292a97a3
Content-Type: text/plain; charset=UTF-8

On Tue, 12 Jan 2016 22:00 Daniel Stenberg <daniel@haxx.se> wrote:

> On Tue, 12 Jan 2016, Jakob Egger wrote:
>
> > Has anybody been able to sort this out in the last two months?
>
> I haven't seen any attempts nor reports on the list since Alexander pointed
> out the likely offending commits. I take that as a pretty strong sign that
> there isn't a very strong desire to get a version out.
>

I'm keen to see a new release, but I've been waiting to test whether the
commits I highlighted really do cause a problem or not. My trusty old test
suite that used to prove these kinds of things, depends on infrastructure
that no longer exists. I've started updating it, but it won't be finished
this week.

What about preemptively reverting those commits, making a release, then
immediately re-applying the commits to master. It's seems a shame to delay
other useful improvements.

Alex

--001a114443444b7f4805292a97a3
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div class=3D"gmail_quote"><div dir=3D"ltr">On Tue, 12 Jan 2016 22:00=C2=A0=
Daniel Stenberg &lt;<a href=3D"mailto:daniel@haxx.se">daniel@haxx.se</a>&gt=
; wrote:<br></div><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .=
8ex;border-left:1px #ccc solid;padding-left:1ex">On Tue, 12 Jan 2016, Jakob=
 Egger wrote:<br>
<br>
&gt; Has anybody been able to sort this out in the last two months?<br>
<br>
I haven&#39;t seen any attempts nor reports on the list since Alexander poi=
nted<br>
out the likely offending commits. I take that as a pretty strong sign that<=
br>
there isn&#39;t a very strong desire to get a version out.<br></blockquote>=
</div><div><br></div><div>I&#39;m keen to see a new release, but I&#39;ve b=
een waiting to test whether the commits I highlighted really do cause a pro=
blem or not. My trusty old test suite that used to prove these kinds of thi=
ngs, depends on infrastructure that no longer exists. I&#39;ve started upda=
ting it, but it won&#39;t be finished this week.=C2=A0</div><div><br></div>=
<div>What about preemptively reverting those commits, making a release, the=
n immediately re-applying the commits to master. It&#39;s seems a shame to =
delay other useful improvements.=C2=A0</div><div><br></div><div>Alex</div>

--001a114443444b7f4805292a97a3--

--===============1557439744==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: base64
Content-Disposition: inline

X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KbGlic3NoMi1k
ZXZlbCBodHRwOi8vY29vbC5oYXh4LnNlL2NnaS1iaW4vbWFpbG1hbi9saXN0aW5mby9saWJzc2gy
LWRldmVsCg==

--===============1557439744==--

From libssh2-devel-bounces@cool.haxx.se  Tue Jan 12 23:42:40 2016
Return-Path: <libssh2-devel-bounces@cool.haxx.se>
Received: from www.haxx.se (list@localhost.localdomain [127.0.0.1])
	by giant.haxx.se (8.15.2/8.15.2/Debian-3) with ESMTP id u0CMfUAo009841;
	Tue, 12 Jan 2016 23:42:39 +0100
Received: from giant.haxx.se (dast@localhost.localdomain [127.0.0.1])
 by giant.haxx.se (8.15.2/8.15.2/Debian-3) with ESMTPS id u0CMfT01009829
 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT)
 for <libssh2-devel@cool.haxx.se>; Tue, 12 Jan 2016 23:41:29 +0100
Received: from localhost (dast@localhost)
 by giant.haxx.se (8.15.2/8.15.2/Submit) with ESMTP id u0CMfTk7009826
 for <libssh2-devel@cool.haxx.se>; Tue, 12 Jan 2016 23:41:29 +0100
X-Authentication-Warning: giant.haxx.se: dast owned process doing -bs
Date: Tue, 12 Jan 2016 23:41:29 +0100 (CET)
From: Daniel Stenberg <daniel@haxx.se>
X-X-Sender: dast@giant.haxx.se
To: libssh2 development <libssh2-devel@cool.haxx.se>
Subject: Re: ping for release
In-Reply-To: <CADyPeTMv2oLGZW=h_Q5Rx2iecDAZU4CWWwTO4aGCDRLFzpttrw@mail.gmail.com>
Message-ID: <alpine.DEB.2.20.1601122337430.26944@tvnag.unkk.fr>
References: <56377A0C.8090103@dbyron.com>
 <alpine.DEB.2.11.1511030740440.9027@tvnag.unkk.fr>
 <CADyPeTMDaRT30wNk1TXFOr12G_drBfyMqk+FHaP=NOreUuvYPA@mail.gmail.com>
 <alpine.DEB.2.11.1511090949360.7567@tvnag.unkk.fr>
 <CADyPeTOoLU4nZ=EdVp5Jh8Fc5xwrbU22geBNOD0U+0+pbdz1SA@mail.gmail.com>
 <B71D6268-9F3C-46F3-AAF8-6C2387E246B9@eggerapps.at>
 <alpine.DEB.2.20.1601122256160.26944@tvnag.unkk.fr>
 <CADyPeTMv2oLGZW=h_Q5Rx2iecDAZU4CWWwTO4aGCDRLFzpttrw@mail.gmail.com>
User-Agent: Alpine 2.20 (DEB 67 2015-01-07)
X-fromdanielhimself: yes
MIME-Version: 1.0
X-BeenThere: libssh2-devel@cool.haxx.se
X-Mailman-Version: 2.1.20
Precedence: list
List-Id: libssh2 development <libssh2-devel.cool.haxx.se>
List-Unsubscribe: <http://cool.haxx.se/cgi-bin/mailman/options/libssh2-devel>, 
 <mailto:libssh2-devel-request@cool.haxx.se?subject=unsubscribe>
List-Archive: <http://cool.haxx.se/pipermail/libssh2-devel/>
List-Post: <mailto:libssh2-devel@cool.haxx.se>
List-Help: <mailto:libssh2-devel-request@cool.haxx.se?subject=help>
List-Subscribe: <http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel>, 
 <mailto:libssh2-devel-request@cool.haxx.se?subject=subscribe>
Reply-To: libssh2 development <libssh2-devel@cool.haxx.se>
Content-Type: text/plain; charset="utf-8"; Format="flowed"
Errors-To: libssh2-devel-bounces@cool.haxx.se
Sender: "libssh2-devel" <libssh2-devel-bounces@cool.haxx.se>
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from base64 to 8bit by giant.haxx.se id u0CMfUAo009841

On Tue, 12 Jan 2016, Alexander Lamaison wrote:

> What about preemptively reverting those commits, making a release, then 
> immediately re-applying the commits to master. It's seems a shame to delay 
> other useful improvements.

So you're that sure just reverting them will fix the SFTP problems as of late? 
If so, then reverting them now seems fine.

I'm not convinced putting them back as-is makes much sense though if they're 
introducing these problems. Faster performance isn't that fun when it comes at 
the priace of broken functionality.

I was wishing that someone who experienced the SFTP problems would try to 
revert those two commits and verify that the problems go away and tell us 
about this fact on the list.

-- 

  / daniel.haxx.se
_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel

From libssh2-devel-bounces@cool.haxx.se  Wed Jan 13 15:28:05 2016
Return-Path: <libssh2-devel-bounces@cool.haxx.se>
Received: from www.haxx.se (list@localhost.localdomain [127.0.0.1])
	by giant.haxx.se (8.15.2/8.15.2/Debian-3) with ESMTP id u0DEQgj6016845;
	Wed, 13 Jan 2016 15:28:02 +0100
Received: from giant.haxx.se (dast@localhost.localdomain [127.0.0.1])
 by giant.haxx.se (8.15.2/8.15.2/Debian-3) with ESMTPS id u0DEQeZe016830
 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT)
 for <libssh2-devel@cool.haxx.se>; Wed, 13 Jan 2016 15:26:41 +0100
Received: from localhost (dast@localhost)
 by giant.haxx.se (8.15.2/8.15.2/Submit) with ESMTP id u0DEQekc016815
 for <libssh2-devel@cool.haxx.se>; Wed, 13 Jan 2016 15:26:40 +0100
X-Authentication-Warning: giant.haxx.se: dast owned process doing -bs
Date: Wed, 13 Jan 2016 15:26:40 +0100 (CET)
From: Daniel Stenberg <daniel@haxx.se>
X-X-Sender: dast@giant.haxx.se
To: libssh2 development <libssh2-devel@cool.haxx.se>
Subject: attending fosdem?
Message-ID: <alpine.DEB.2.20.1601131522440.19461@tvnag.unkk.fr>
User-Agent: Alpine 2.20 (DEB 67 2015-01-07)
X-fromdanielhimself: yes
MIME-Version: 1.0
X-BeenThere: libssh2-devel@cool.haxx.se
X-Mailman-Version: 2.1.20
Precedence: list
List-Id: libssh2 development <libssh2-devel.cool.haxx.se>
List-Unsubscribe: <http://cool.haxx.se/cgi-bin/mailman/options/libssh2-devel>, 
 <mailto:libssh2-devel-request@cool.haxx.se?subject=unsubscribe>
List-Archive: <http://cool.haxx.se/pipermail/libssh2-devel/>
List-Post: <mailto:libssh2-devel@cool.haxx.se>
List-Help: <mailto:libssh2-devel-request@cool.haxx.se?subject=help>
List-Subscribe: <http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel>, 
 <mailto:libssh2-devel-request@cool.haxx.se?subject=subscribe>
Reply-To: libssh2 development <libssh2-devel@cool.haxx.se>
Content-Type: text/plain; charset="utf-8"; Format="flowed"
Errors-To: libssh2-devel-bounces@cool.haxx.se
Sender: "libssh2-devel" <libssh2-devel-bounces@cool.haxx.se>
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from base64 to 8bit by giant.haxx.se id u0DEQgj6016845

Hello all,

I'll be attending FOSDEM, and it struck me that if there are other fellow 
libssh2 hackers there, we could possibly join up, say hello and talk libssh2 
for a few minutes.

If that sounds interesting, feel free to reply here or to me privately and we 
can try to arrange something.

-- 

  / daniel.haxx.se
_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel

From libssh2-devel-bounces@cool.haxx.se  Wed Jan 13 15:35:57 2016
Return-Path: <libssh2-devel-bounces@cool.haxx.se>
Received: from www.haxx.se (list@localhost.localdomain [127.0.0.1])
	by giant.haxx.se (8.15.2/8.15.2/Debian-3) with ESMTP id u0DEYsTv010001;
	Wed, 13 Jan 2016 15:35:56 +0100
Received: from out3-smtp.messagingengine.com (out3-smtp.messagingengine.com
 [66.111.4.27])
 by giant.haxx.se (8.15.2/8.15.2/Debian-3) with ESMTPS id u0DEYor2009988
 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT)
 for <libssh2-devel@cool.haxx.se>; Wed, 13 Jan 2016 15:34:51 +0100
Received: from compute1.internal (compute1.nyi.internal [10.202.2.41])
 by mailout.nyi.internal (Postfix) with ESMTP id E93B422364;
 Wed, 13 Jan 2016 09:34:51 -0500 (EST)
Received: from frontend1 ([10.202.2.160])
 by compute1.internal (MEProxy); Wed, 13 Jan 2016 09:34:51 -0500
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=
 messagingengine.com; h=content-transfer-encoding:content-type
 :date:from:in-reply-to:message-id:mime-version:references
 :subject:to:x-sasl-enc:x-sasl-enc; s=smtpout; bh=ZA7czgbapaNUcJl
 rWLOa6wGaPdg=; b=IEGcA3WF07OC3Zyua7l4kNtQHitPoBSSzm2hY5sq/NaoHDh
 Ov1gwH3zasjf/+3iitCxnjd5UaTOA7IbKq3igXixFbhuXWUGibda8u5/NvP9Ybyh
 v5n7X7QnV7IqpmRb+Kvn52ckRSr+DtohDfY+gFkDNUgJntf9AW2lvIhbTRnw=
X-Sasl-enc: zjyeHJzsdPSFXMpKZieKfj+ILwMmIiVvj3u03g3qYdr4 1452695691
Received: from [192.168.0.4] (cm225-232.liwest.at [81.10.225.232])
 by mail.messagingengine.com (Postfix) with ESMTPA id 76C54C016DA
 for <libssh2-devel@cool.haxx.se>; Wed, 13 Jan 2016 09:34:51 -0500 (EST)
Mime-Version: 1.0 (Mac OS X Mail 9.2 \(3112\))
Subject: Re: ping for release
From: Jakob Egger <jakob@eggerapps.at>
In-Reply-To: <alpine.DEB.2.20.1601122337430.26944@tvnag.unkk.fr>
Date: Wed, 13 Jan 2016 15:34:50 +0100
Message-Id: <0E7A5454-D966-4348-8107-16A025C2F8C1@eggerapps.at>
References: <56377A0C.8090103@dbyron.com>
 <alpine.DEB.2.11.1511030740440.9027@tvnag.unkk.fr>
 <CADyPeTMDaRT30wNk1TXFOr12G_drBfyMqk+FHaP=NOreUuvYPA@mail.gmail.com>
 <alpine.DEB.2.11.1511090949360.7567@tvnag.unkk.fr>
 <CADyPeTOoLU4nZ=EdVp5Jh8Fc5xwrbU22geBNOD0U+0+pbdz1SA@mail.gmail.com>
 <B71D6268-9F3C-46F3-AAF8-6C2387E246B9@eggerapps.at>
 <alpine.DEB.2.20.1601122256160.26944@tvnag.unkk.fr>
 <CADyPeTMv2oLGZW=h_Q5Rx2iecDAZU4CWWwTO4aGCDRLFzpttrw@mail.gmail.com>
 <alpine.DEB.2.20.1601122337430.26944@tvnag.unkk.fr>
To: libssh2 development <libssh2-devel@cool.haxx.se>
X-Mailer: Apple Mail (2.3112)
X-MIME-Autoconverted: from quoted-printable to 8bit by giant.haxx.se id
 u0DEYor2009988
X-BeenThere: libssh2-devel@cool.haxx.se
X-Mailman-Version: 2.1.20
Precedence: list
List-Id: libssh2 development <libssh2-devel.cool.haxx.se>
List-Unsubscribe: <http://cool.haxx.se/cgi-bin/mailman/options/libssh2-devel>, 
 <mailto:libssh2-devel-request@cool.haxx.se?subject=unsubscribe>
List-Archive: <http://cool.haxx.se/pipermail/libssh2-devel/>
List-Post: <mailto:libssh2-devel@cool.haxx.se>
List-Help: <mailto:libssh2-devel-request@cool.haxx.se?subject=help>
List-Subscribe: <http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel>, 
 <mailto:libssh2-devel-request@cool.haxx.se?subject=subscribe>
Reply-To: libssh2 development <libssh2-devel@cool.haxx.se>
Content-Type: text/plain; charset="utf-8"
Errors-To: libssh2-devel-bounces@cool.haxx.se
Sender: "libssh2-devel" <libssh2-devel-bounces@cool.haxx.se>
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from base64 to 8bit by giant.haxx.se id u0DEYsTv010001

I've now looked at the bug report. I was able to reproduce some of the issues with example-sftp by varying size of the buffer passed to libssh2_sftp_read().

I have found three separate bugs, and I've submitted a pull request with fixes here:
https://github.com/libssh2/libssh2/pull/75

Since two of the bugs were introduced by that commit that supposedly improves performance, we might alternatively just revert that commit, and make two of my fixes unnecessary.

Can anybody review my changes?



> On 12 Jan 2016, at 23:41, Daniel Stenberg <daniel@haxx.se> wrote:
> 
> On Tue, 12 Jan 2016, Alexander Lamaison wrote:
> 
>> What about preemptively reverting those commits, making a release, then immediately re-applying the commits to master. It's seems a shame to delay other useful improvements.
> 
> So you're that sure just reverting them will fix the SFTP problems as of late? If so, then reverting them now seems fine.
> 
> I'm not convinced putting them back as-is makes much sense though if they're introducing these problems. Faster performance isn't that fun when it comes at the priace of broken functionality.
> 
> I was wishing that someone who experienced the SFTP problems would try to revert those two commits and verify that the problems go away and tell us about this fact on the list.
> 
> -- 
> 
> / daniel.haxx.se
> _______________________________________________
> libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel


_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel

From libssh2-devel-bounces@cool.haxx.se  Thu Jan 14 00:37:54 2016
Return-Path: <libssh2-devel-bounces@cool.haxx.se>
Received: from www.haxx.se (list@localhost.localdomain [127.0.0.1])
	by giant.haxx.se (8.15.2/8.15.2/Debian-3) with ESMTP id u0DNbXuv015706;
	Thu, 14 Jan 2016 00:37:51 +0100
Received: from foo.stuge.se (qmailr@foo.stuge.se [212.116.89.98])
 by giant.haxx.se (8.15.2/8.15.2/Debian-3) with ESMTPS id u0DNbVN9015650
 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT)
 for <libssh2-devel@cool.haxx.se>; Thu, 14 Jan 2016 00:37:32 +0100
Received: (qmail 31521 invoked by uid 501); 13 Jan 2016 23:37:33 -0000
Message-ID: <20160113233733.31520.qmail@stuge.se>
Date: Thu, 14 Jan 2016 00:37:33 +0100
From: Peter Stuge <peter@stuge.se>
To: libssh2-devel@cool.haxx.se
Subject: Re: attending fosdem?
Mail-Followup-To: libssh2-devel@cool.haxx.se
References: <alpine.DEB.2.20.1601131522440.19461@tvnag.unkk.fr>
MIME-Version: 1.0
Content-Disposition: inline
In-Reply-To: <alpine.DEB.2.20.1601131522440.19461@tvnag.unkk.fr>
X-BeenThere: libssh2-devel@cool.haxx.se
X-Mailman-Version: 2.1.20
Precedence: list
List-Id: libssh2 development <libssh2-devel.cool.haxx.se>
List-Unsubscribe: <http://cool.haxx.se/cgi-bin/mailman/options/libssh2-devel>, 
 <mailto:libssh2-devel-request@cool.haxx.se?subject=unsubscribe>
List-Archive: <http://cool.haxx.se/pipermail/libssh2-devel/>
List-Post: <mailto:libssh2-devel@cool.haxx.se>
List-Help: <mailto:libssh2-devel-request@cool.haxx.se?subject=help>
List-Subscribe: <http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel>, 
 <mailto:libssh2-devel-request@cool.haxx.se?subject=subscribe>
Reply-To: libssh2 development <libssh2-devel@cool.haxx.se>
Content-Type: text/plain; charset="utf-8"
Errors-To: libssh2-devel-bounces@cool.haxx.se
Sender: "libssh2-devel" <libssh2-devel-bounces@cool.haxx.se>
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from base64 to 8bit by giant.haxx.se id u0DNbXuv015706

Daniel Stenberg wrote:
> I'll be attending FOSDEM, and it struck me that if there are other
> fellow libssh2 hackers there, we could possibly join up, say hello
> and talk libssh2 for a few minutes.

I'm also going there, I'll probably be in one and the same devroom
all day Saturday, but Sunday day (before 3pm) would be nice for a
meeting.


//Peter
_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel

From libssh2-devel-bounces@cool.haxx.se  Thu Jan 14 19:11:46 2016
Return-Path: <libssh2-devel-bounces@cool.haxx.se>
Received: from www.haxx.se (list@localhost.localdomain [127.0.0.1])
	by giant.haxx.se (8.15.2/8.15.2/Debian-3) with ESMTP id u0EIBPGX029881;
	Thu, 14 Jan 2016 19:11:43 +0100
Received: from mail-qg0-x235.google.com (mail-qg0-x235.google.com
 [IPv6:2607:f8b0:400d:c04:0:0:0:235])
 by giant.haxx.se (8.15.2/8.15.2/Debian-3) with ESMTPS id u0EIBM3s029775
 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NOT)
 for <libssh2-devel@cool.haxx.se>; Thu, 14 Jan 2016 19:11:22 +0100
Received: by mail-qg0-x235.google.com with SMTP id 6so410486856qgy.1
 for <libssh2-devel@cool.haxx.se>; Thu, 14 Jan 2016 10:11:23 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
 h=mime-version:sender:from:date:message-id:subject:to:content-type;
 bh=rm71bWtizTSVTQ0ihsLb82dJ6bhiJuhMPpiAlE+AXNc=;
 b=KUFmJBdqxYBW/6KJhGtz5fGAko4ItwMOGHtK/Et2/w8sMPskOzH7LB4WmXiv8cZ0tj
 9/a/rDJrkGCUYiH8uC8aKYvU1nRZv1nOrA1e9z5zQabOvkKkGXlN+GApPzhmAVQiTNzV
 HGg0mQ097W+lzTnrYAgNhXuhlc8e5/ufvFxps08zdnUmz8U9eftcw/XAI3O7FMW8SoUX
 twp4PEJgBq0M69ypf9MMOPTi+fnD+HLChb0xZ3TwVtKf2EJK/M/9Ra4vsLZFAto8z+M/
 UZecUlcyxEfKfg2aQWKdVKbGZXZuHfoWOpGqnTb6R99xkzJy4JnPLhJBRXcJ6EI5w4H8
 T2Wg==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=llamas-org.20150623.gappssmtp.com; s=20150623;
 h=mime-version:sender:from:date:message-id:subject:to:content-type;
 bh=rm71bWtizTSVTQ0ihsLb82dJ6bhiJuhMPpiAlE+AXNc=;
 b=TU46HrVWJxyH8fCsqe3GmyqTvWV4tqzkkv35/BQMODh3lvHA+mACQ9eWLYDy/hZmR0
 3BZwFaaHDGcwcqjZsv2sch08wO+/wzq33o0avQ74hxPAUn6JkAGKKDTLy2383TTN66fs
 XEyp3ktXygIeBWnWLAVUIvLM7LI1GREGgMewHKVDLRoe1U6XmN8UDEQ5XUk8sovyX9YT
 lP2AWc/yhq3+kE7kEc//TOnIsTn3RfOsLWxg1taTahNaQKeiKQaTPRw8jCxvPo55PsMo
 xHsKofWPvfxvmzIa0bkDgi7HttJvWXm4coSqLsbG52opEMweTK1zNJ1Mck94U+ts5ihV
 KfmQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20130820;
 h=x-gm-message-state:mime-version:sender:from:date:message-id:subject
 :to:content-type;
 bh=rm71bWtizTSVTQ0ihsLb82dJ6bhiJuhMPpiAlE+AXNc=;
 b=DPLELMhxd9ly98ruEsnC7hSBrlA7ib2Wy9bflQldo76w55FmKEDSUI3epi57HjRvA7
 b7Yg4eobpbVSy482QepuV0otYoUaDKVppknzxfhy/oJIWHMPCae841Z3bAyuZiFNn8Qk
 ZYkg79C4O5HlluJ7qCsAZMG2gaEJgvGXMstelLvsygSm0kf2FEUsBXnFbre+VwmHKJ6K
 LBvT+gVoGl+q0tBL1kNmLEVtOXUNE5bbK+4KUaWGeeAfQwSfMFcRxx1x9/Y6TThnKWvg
 wdlEsU67WdLr+ia1oM9yRk70Ihn9lrnA1ahHNMj1Rl12vwSY0+mNvgrpMFXlrpFM+qWc
 jmfg==
X-Gm-Message-State: ALoCoQnJCbfr0k9MjUHBJpNgTOknlKeQPUniMKYTha4MjB37e40S024EZ/exSKAtLOstaYRt1+LoFvMNr0s/RQg8swynSxOVzg==
X-Received: by 10.140.28.66 with SMTP id 60mr7383492qgy.74.1452795077282; Thu,
 14 Jan 2016 10:11:17 -0800 (PST)
MIME-Version: 1.0
Received: by 10.140.102.161 with HTTP; Thu, 14 Jan 2016 10:10:57 -0800 (PST)
From: George Nachman <gnachman@llamas.org>
Date: Thu, 14 Jan 2016 10:10:57 -0800
X-Google-Sender-Auth: ejBqQthOzq2kJMPTqrVyiZz7giQ
Message-ID: <CAB5RqomVRiJYbTV0EQsJ_mu1Us8H8RnjC-jnwA62CiaGJaRRmA@mail.gmail.com>
Subject: CVE-2016-0777 and CVE-2016-0778
To: libssh2-devel@cool.haxx.se
X-BeenThere: libssh2-devel@cool.haxx.se
X-Mailman-Version: 2.1.20
Precedence: list
List-Id: libssh2 development <libssh2-devel.cool.haxx.se>
List-Unsubscribe: <http://cool.haxx.se/cgi-bin/mailman/options/libssh2-devel>, 
 <mailto:libssh2-devel-request@cool.haxx.se?subject=unsubscribe>
List-Archive: <http://cool.haxx.se/pipermail/libssh2-devel/>
List-Post: <mailto:libssh2-devel@cool.haxx.se>
List-Help: <mailto:libssh2-devel-request@cool.haxx.se?subject=help>
List-Subscribe: <http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel>, 
 <mailto:libssh2-devel-request@cool.haxx.se?subject=subscribe>
Reply-To: libssh2 development <libssh2-devel@cool.haxx.se>
Content-Type: multipart/mixed; boundary="===============1059432712=="
Errors-To: libssh2-devel-bounces@cool.haxx.se
Sender: "libssh2-devel" <libssh2-devel-bounces@cool.haxx.se>

--===============1059432712==
Content-Type: multipart/alternative; boundary=001a113a5fba8352e905294f3675

--001a113a5fba8352e905294f3675
Content-Type: text/plain; charset=UTF-8

Is libssh2 affected?

http://www.undeadly.org/cgi?action=article&sid=20160114142733

--001a113a5fba8352e905294f3675
Content-Type: text/html; charset=UTF-8

<div dir="ltr">Is libssh2 affected?<div><br></div><div><a href="http://www.undeadly.org/cgi?action=article&amp;sid=20160114142733">http://www.undeadly.org/cgi?action=article&amp;sid=20160114142733</a><br></div><div><br></div></div>

--001a113a5fba8352e905294f3675--

--===============1059432712==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: base64
Content-Disposition: inline

X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KbGlic3NoMi1k
ZXZlbCBodHRwOi8vY29vbC5oYXh4LnNlL2NnaS1iaW4vbWFpbG1hbi9saXN0aW5mby9saWJzc2gy
LWRldmVsCg==

--===============1059432712==--

From libssh2-devel-bounces@cool.haxx.se  Thu Jan 14 20:58:07 2016
Return-Path: <libssh2-devel-bounces@cool.haxx.se>
Received: from www.haxx.se (list@localhost.localdomain [127.0.0.1])
	by giant.haxx.se (8.15.2/8.15.2/Debian-3) with ESMTP id u0EJYExK021764;
	Thu, 14 Jan 2016 20:34:28 +0100
Received: from giant.haxx.se (dast@localhost.localdomain [127.0.0.1])
 by giant.haxx.se (8.15.2/8.15.2/Debian-3) with ESMTPS id u0EJYDvf021566
 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT)
 for <libssh2-devel@cool.haxx.se>; Thu, 14 Jan 2016 20:34:13 +0100
Received: from localhost (dast@localhost)
 by giant.haxx.se (8.15.2/8.15.2/Submit) with ESMTP id u0EJYC3s021503
 for <libssh2-devel@cool.haxx.se>; Thu, 14 Jan 2016 20:34:12 +0100
X-Authentication-Warning: giant.haxx.se: dast owned process doing -bs
Date: Thu, 14 Jan 2016 20:34:12 +0100 (CET)
From: Daniel Stenberg <daniel@haxx.se>
X-X-Sender: dast@giant.haxx.se
To: libssh2 development <libssh2-devel@cool.haxx.se>
Subject: Re: CVE-2016-0777 and CVE-2016-0778
In-Reply-To: <CAB5RqomVRiJYbTV0EQsJ_mu1Us8H8RnjC-jnwA62CiaGJaRRmA@mail.gmail.com>
Message-ID: <alpine.DEB.2.20.1601142033570.15972@tvnag.unkk.fr>
References: <CAB5RqomVRiJYbTV0EQsJ_mu1Us8H8RnjC-jnwA62CiaGJaRRmA@mail.gmail.com>
User-Agent: Alpine 2.20 (DEB 67 2015-01-07)
X-fromdanielhimself: yes
MIME-Version: 1.0
X-BeenThere: libssh2-devel@cool.haxx.se
X-Mailman-Version: 2.1.20
Precedence: list
List-Id: libssh2 development <libssh2-devel.cool.haxx.se>
List-Unsubscribe: <http://cool.haxx.se/cgi-bin/mailman/options/libssh2-devel>, 
 <mailto:libssh2-devel-request@cool.haxx.se?subject=unsubscribe>
List-Archive: <http://cool.haxx.se/pipermail/libssh2-devel/>
List-Post: <mailto:libssh2-devel@cool.haxx.se>
List-Help: <mailto:libssh2-devel-request@cool.haxx.se?subject=help>
List-Subscribe: <http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel>, 
 <mailto:libssh2-devel-request@cool.haxx.se?subject=subscribe>
Reply-To: libssh2 development <libssh2-devel@cool.haxx.se>
Content-Type: text/plain; charset="utf-8"; Format="flowed"
Errors-To: libssh2-devel-bounces@cool.haxx.se
Sender: "libssh2-devel" <libssh2-devel-bounces@cool.haxx.se>
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from base64 to 8bit by giant.haxx.se id u0EJYExK021764

On Thu, 14 Jan 2016, George Nachman wrote:

> Is libssh2 affected?

No. We don't share any code with OpenSSH.

-- 

  / daniel.haxx.se
_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel

From libssh2-devel-bounces@cool.haxx.se  Fri Jan 15 12:38:10 2016
Return-Path: <libssh2-devel-bounces@cool.haxx.se>
Received: from www.haxx.se (list@localhost.localdomain [127.0.0.1])
	by giant.haxx.se (8.15.2/8.15.2/Debian-3) with ESMTP id u0FBainD003727;
	Fri, 15 Jan 2016 12:38:06 +0100
Received: from out5-smtp.messagingengine.com (out5-smtp.messagingengine.com
 [66.111.4.29])
 by giant.haxx.se (8.15.2/8.15.2/Debian-3) with ESMTPS id u0FBafUL003682
 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT)
 for <libssh2-devel@cool.haxx.se>; Fri, 15 Jan 2016 12:36:42 +0100
Received: from compute1.internal (compute1.nyi.internal [10.202.2.41])
 by mailout.nyi.internal (Postfix) with ESMTP id 6042320B94;
 Fri, 15 Jan 2016 06:36:41 -0500 (EST)
Received: from frontend1 ([10.202.2.160])
 by compute1.internal (MEProxy); Fri, 15 Jan 2016 06:36:41 -0500
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=
 messagingengine.com; h=content-type:date:from:in-reply-to
 :message-id:mime-version:references:subject:to:x-sasl-enc
 :x-sasl-enc; s=smtpout; bh=goSttJqjqrFrgIoi2qb9UtYPUfY=; b=SIjFf
 ufXwGXZcbfk4L/uj4+eIP0KiaPoGcjojMNvffk6E2oqKulCrCAStH5DTkfD98qJM
 FA4C9YZnhubcfSjJ+D09fpsOK+Iy9jXw21cJZvZn+nJJ2J+mrxiTWOyjpLguII+E
 O4tiBcRDJrIO9unc1z6HDBs8hPuoTF/DugF3VA=
X-Sasl-enc: 84LZGygKNkQLc9DwfdGZ9d1IzH5bIoBB175gSLVhkDF5 1452857800
Received: from [192.168.0.4] (cm225-232.liwest.at [81.10.225.232])
 by mail.messagingengine.com (Postfix) with ESMTPA id C426BC016C4
 for <libssh2-devel@cool.haxx.se>; Fri, 15 Jan 2016 06:36:40 -0500 (EST)
From: Jakob Egger <jakob@eggerapps.at>
Message-Id: <F99478FE-12FD-4D3D-977A-897D9256704C@eggerapps.at>
Mime-Version: 1.0 (Mac OS X Mail 9.2 \(3112\))
Subject: Re: ping for release
Date: Fri, 15 Jan 2016 12:36:39 +0100
References: <56377A0C.8090103@dbyron.com>
 <alpine.DEB.2.11.1511030740440.9027@tvnag.unkk.fr>
 <CADyPeTMDaRT30wNk1TXFOr12G_drBfyMqk+FHaP=NOreUuvYPA@mail.gmail.com>
 <alpine.DEB.2.11.1511090949360.7567@tvnag.unkk.fr>
 <CADyPeTOoLU4nZ=EdVp5Jh8Fc5xwrbU22geBNOD0U+0+pbdz1SA@mail.gmail.com>
 <B71D6268-9F3C-46F3-AAF8-6C2387E246B9@eggerapps.at>
 <alpine.DEB.2.20.1601122256160.26944@tvnag.unkk.fr>
 <CADyPeTMv2oLGZW=h_Q5Rx2iecDAZU4CWWwTO4aGCDRLFzpttrw@mail.gmail.com>
 <alpine.DEB.2.20.1601122337430.26944@tvnag.unkk.fr>
 <0E7A5454-D966-4348-8107-16A025C2F8C1@eggerapps.at>
To: libssh2 development <libssh2-devel@cool.haxx.se>
In-Reply-To: <0E7A5454-D966-4348-8107-16A025C2F8C1@eggerapps.at>
X-Mailer: Apple Mail (2.3112)
X-BeenThere: libssh2-devel@cool.haxx.se
X-Mailman-Version: 2.1.20
Precedence: list
List-Id: libssh2 development <libssh2-devel.cool.haxx.se>
List-Unsubscribe: <http://cool.haxx.se/cgi-bin/mailman/options/libssh2-devel>, 
 <mailto:libssh2-devel-request@cool.haxx.se?subject=unsubscribe>
List-Archive: <http://cool.haxx.se/pipermail/libssh2-devel/>
List-Post: <mailto:libssh2-devel@cool.haxx.se>
List-Help: <mailto:libssh2-devel-request@cool.haxx.se?subject=help>
List-Subscribe: <http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel>, 
 <mailto:libssh2-devel-request@cool.haxx.se?subject=subscribe>
Reply-To: libssh2 development <libssh2-devel@cool.haxx.se>
Content-Type: multipart/mixed; boundary="===============0798739518=="
Errors-To: libssh2-devel-bounces@cool.haxx.se
Sender: "libssh2-devel" <libssh2-devel-bounces@cool.haxx.se>


--===============0798739518==
Content-Type: multipart/alternative; boundary="Apple-Mail=_471192B9-8A6D-40AC-B2B5-2642A01320E5"


--Apple-Mail=_471192B9-8A6D-40AC-B2B5-2642A01320E5
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=us-ascii

Another ping for release!

Sune Bredahl confirmed on Github that with my latest commits he can no =
longer reproduce the issues in sftp_read():
https://github.com/libssh2/libssh2/pull/75 =
<https://github.com/libssh2/libssh2/pull/75>

Does anybody else have time to test this, or are we good to go?

Jakob

> On 13 Jan 2016, at 15:34, Jakob Egger <jakob@eggerapps.at> wrote:
>=20
> I've now looked at the bug report. I was able to reproduce some of the =
issues with example-sftp by varying size of the buffer passed to =
libssh2_sftp_read().
>=20
> I have found three separate bugs, and I've submitted a pull request =
with fixes here:
> https://github.com/libssh2/libssh2/pull/75
>=20
> Since two of the bugs were introduced by that commit that supposedly =
improves performance, we might alternatively just revert that commit, =
and make two of my fixes unnecessary.
>=20
> Can anybody review my changes?
>=20
>=20
>=20
>> On 12 Jan 2016, at 23:41, Daniel Stenberg <daniel@haxx.se> wrote:
>>=20
>> On Tue, 12 Jan 2016, Alexander Lamaison wrote:
>>=20
>>> What about preemptively reverting those commits, making a release, =
then immediately re-applying the commits to master. It's seems a shame =
to delay other useful improvements.
>>=20
>> So you're that sure just reverting them will fix the SFTP problems as =
of late? If so, then reverting them now seems fine.
>>=20
>> I'm not convinced putting them back as-is makes much sense though if =
they're introducing these problems. Faster performance isn't that fun =
when it comes at the priace of broken functionality.
>>=20
>> I was wishing that someone who experienced the SFTP problems would =
try to revert those two commits and verify that the problems go away and =
tell us about this fact on the list.
>>=20
>> --=20
>>=20
>> / daniel.haxx.se
>> _______________________________________________
>> libssh2-devel =
http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
>=20
>=20
> _______________________________________________
> libssh2-devel =
http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel


--Apple-Mail=_471192B9-8A6D-40AC-B2B5-2642A01320E5
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
	charset=us-ascii

<html><head><meta http-equiv=3D"Content-Type" content=3D"text/html =
charset=3Dus-ascii"></head><body style=3D"word-wrap: break-word; =
-webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" =
class=3D"">Another ping for release!<div class=3D""><br =
class=3D""></div><div class=3D"">Sune Bredahl confirmed on Github that =
with my latest commits he can no longer reproduce the issues in =
sftp_read():</div><div class=3D""><a =
href=3D"https://github.com/libssh2/libssh2/pull/75" =
class=3D"">https://github.com/libssh2/libssh2/pull/75</a></div><div =
class=3D""><br class=3D""></div><div class=3D"">Does anybody else have =
time to test this, or are we good to go?</div><div class=3D""><br =
class=3D""></div><div class=3D"">Jakob</div><div class=3D""><div =
class=3D""><div class=3D""><br class=3D""><div class=3D""><div><blockquote=
 type=3D"cite" class=3D""><div class=3D"">On 13 Jan 2016, at 15:34, =
Jakob Egger &lt;<a href=3D"mailto:jakob@eggerapps.at" =
class=3D"">jakob@eggerapps.at</a>&gt; wrote:</div><br =
class=3D"Apple-interchange-newline"><div class=3D""><div class=3D"">I've =
now looked at the bug report. I was able to reproduce some of the issues =
with example-sftp by varying size of the buffer passed to =
libssh2_sftp_read().<br class=3D""><br class=3D"">I have found three =
separate bugs, and I've submitted a pull request with fixes here:<br =
class=3D""><a href=3D"https://github.com/libssh2/libssh2/pull/75" =
class=3D"">https://github.com/libssh2/libssh2/pull/75</a><br =
class=3D""><br class=3D"">Since two of the bugs were introduced by that =
commit that supposedly improves performance, we might alternatively just =
revert that commit, and make two of my fixes unnecessary.<br =
class=3D""><br class=3D"">Can anybody review my changes?<br class=3D""><br=
 class=3D""><br class=3D""><br class=3D""><blockquote type=3D"cite" =
class=3D"">On 12 Jan 2016, at 23:41, Daniel Stenberg =
&lt;daniel@haxx.se&gt; wrote:<br class=3D""><br class=3D"">On Tue, 12 =
Jan 2016, Alexander Lamaison wrote:<br class=3D""><br =
class=3D""><blockquote type=3D"cite" class=3D"">What about preemptively =
reverting those commits, making a release, then immediately re-applying =
the commits to master. It's seems a shame to delay other useful =
improvements.<br class=3D""></blockquote><br class=3D"">So you're that =
sure just reverting them will fix the SFTP problems as of late? If so, =
then reverting them now seems fine.<br class=3D""><br class=3D"">I'm not =
convinced putting them back as-is makes much sense though if they're =
introducing these problems. Faster performance isn't that fun when it =
comes at the priace of broken functionality.<br class=3D""><br =
class=3D"">I was wishing that someone who experienced the SFTP problems =
would try to revert those two commits and verify that the problems go =
away and tell us about this fact on the list.<br class=3D""><br =
class=3D"">-- <br class=3D""><br class=3D"">/ daniel.haxx.se<br =
class=3D"">_______________________________________________<br =
class=3D"">libssh2-devel =
http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel<br =
class=3D""></blockquote><br class=3D""><br =
class=3D"">_______________________________________________<br =
class=3D"">libssh2-devel =
http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel<br =
class=3D""></div></div></blockquote></div><br =
class=3D""></div></div></div></div></body></html>=

--Apple-Mail=_471192B9-8A6D-40AC-B2B5-2642A01320E5--

--===============0798739518==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: base64
Content-Disposition: inline

X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KbGlic3NoMi1k
ZXZlbCBodHRwOi8vY29vbC5oYXh4LnNlL2NnaS1iaW4vbWFpbG1hbi9saXN0aW5mby9saWJzc2gy
LWRldmVsCg==

--===============0798739518==--

From libssh2-devel-bounces@cool.haxx.se  Sun Jan 17 17:50:03 2016
Return-Path: <libssh2-devel-bounces@cool.haxx.se>
Received: from www.haxx.se (list@localhost.localdomain [127.0.0.1])
	by giant.haxx.se (8.15.2/8.15.2/Debian-3) with ESMTP id u0HGmUcm000518;
	Sun, 17 Jan 2016 17:49:59 +0100
Received: from giant.haxx.se (dast@localhost.localdomain [127.0.0.1])
 by giant.haxx.se (8.15.2/8.15.2/Debian-3) with ESMTPS id u0HGmTps000506
 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT)
 for <libssh2-devel@cool.haxx.se>; Sun, 17 Jan 2016 17:48:29 +0100
Received: from localhost (dast@localhost)
 by giant.haxx.se (8.15.2/8.15.2/Submit) with ESMTP id u0HGmTRL000503
 for <libssh2-devel@cool.haxx.se>; Sun, 17 Jan 2016 17:48:29 +0100
X-Authentication-Warning: giant.haxx.se: dast owned process doing -bs
Date: Sun, 17 Jan 2016 17:48:29 +0100 (CET)
From: Daniel Stenberg <daniel@haxx.se>
X-X-Sender: dast@giant.haxx.se
To: libssh2 development <libssh2-devel@cool.haxx.se>
Subject: Re: ping for release
In-Reply-To: <F99478FE-12FD-4D3D-977A-897D9256704C@eggerapps.at>
Message-ID: <alpine.DEB.2.20.1601171747340.5304@tvnag.unkk.fr>
References: <56377A0C.8090103@dbyron.com>
 <alpine.DEB.2.11.1511030740440.9027@tvnag.unkk.fr>
 <CADyPeTMDaRT30wNk1TXFOr12G_drBfyMqk+FHaP=NOreUuvYPA@mail.gmail.com>
 <alpine.DEB.2.11.1511090949360.7567@tvnag.unkk.fr>
 <CADyPeTOoLU4nZ=EdVp5Jh8Fc5xwrbU22geBNOD0U+0+pbdz1SA@mail.gmail.com>
 <B71D6268-9F3C-46F3-AAF8-6C2387E246B9@eggerapps.at>
 <alpine.DEB.2.20.1601122256160.26944@tvnag.unkk.fr>
 <CADyPeTMv2oLGZW=h_Q5Rx2iecDAZU4CWWwTO4aGCDRLFzpttrw@mail.gmail.com>
 <alpine.DEB.2.20.1601122337430.26944@tvnag.unkk.fr>
 <0E7A5454-D966-4348-8107-16A025C2F8C1@eggerapps.at>
 <F99478FE-12FD-4D3D-977A-897D9256704C@eggerapps.at>
User-Agent: Alpine 2.20 (DEB 67 2015-01-07)
X-fromdanielhimself: yes
MIME-Version: 1.0
X-BeenThere: libssh2-devel@cool.haxx.se
X-Mailman-Version: 2.1.20
Precedence: list
List-Id: libssh2 development <libssh2-devel.cool.haxx.se>
List-Unsubscribe: <http://cool.haxx.se/cgi-bin/mailman/options/libssh2-devel>, 
 <mailto:libssh2-devel-request@cool.haxx.se?subject=unsubscribe>
List-Archive: <http://cool.haxx.se/pipermail/libssh2-devel/>
List-Post: <mailto:libssh2-devel@cool.haxx.se>
List-Help: <mailto:libssh2-devel-request@cool.haxx.se?subject=help>
List-Subscribe: <http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel>, 
 <mailto:libssh2-devel-request@cool.haxx.se?subject=subscribe>
Reply-To: libssh2 development <libssh2-devel@cool.haxx.se>
Content-Type: text/plain; charset="utf-8"; Format="flowed"
Errors-To: libssh2-devel-bounces@cool.haxx.se
Sender: "libssh2-devel" <libssh2-devel-bounces@cool.haxx.se>
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from base64 to 8bit by giant.haxx.se id u0HGmUcm000518

On Fri, 15 Jan 2016, Jakob Egger wrote:

> Sune Bredahl confirmed on Github that with my latest commits he can no 
> longer reproduce the issues in sftp_read(): 
> https://github.com/libssh2/libssh2/pull/75 
> <https://github.com/libssh2/libssh2/pull/75>
>
> Does anybody else have time to test this, or are we good to go?

I commented on some minor nits on the commits there, but once we can get that 
PR merged and some time for people to get that tested in the master branch I 
think we should be in a decent state for release...

-- 

  / daniel.haxx.se
_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel

From libssh2-devel-bounces@cool.haxx.se  Mon Jan 18 19:54:28 2016
Return-Path: <libssh2-devel-bounces@cool.haxx.se>
Received: from www.haxx.se (list@localhost.localdomain [127.0.0.1])
	by giant.haxx.se (8.15.2/8.15.2/Debian-3) with ESMTP id u0IIs13q004189;
	Mon, 18 Jan 2016 19:54:23 +0100
Received: from giant.haxx.se (dast@localhost.localdomain [127.0.0.1])
 by giant.haxx.se (8.15.2/8.15.2/Debian-3) with ESMTPS id u0IIs0hl004120
 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT)
 for <libssh2-devel@cool.haxx.se>; Mon, 18 Jan 2016 19:54:00 +0100
Received: from localhost (dast@localhost)
 by giant.haxx.se (8.15.2/8.15.2/Submit) with ESMTP id u0IIs05H004116
 for <libssh2-devel@cool.haxx.se>; Mon, 18 Jan 2016 19:54:00 +0100
X-Authentication-Warning: giant.haxx.se: dast owned process doing -bs
Date: Mon, 18 Jan 2016 19:54:00 +0100 (CET)
From: Daniel Stenberg <daniel@haxx.se>
X-X-Sender: dast@giant.haxx.se
To: libssh2 development <libssh2-devel@cool.haxx.se>
Subject: MSVC users and lib name?
Message-ID: <alpine.DEB.2.20.1601181952520.5304@tvnag.unkk.fr>
User-Agent: Alpine 2.20 (DEB 67 2015-01-07)
X-fromdanielhimself: yes
MIME-Version: 1.0
X-BeenThere: libssh2-devel@cool.haxx.se
X-Mailman-Version: 2.1.20
Precedence: list
List-Id: libssh2 development <libssh2-devel.cool.haxx.se>
List-Unsubscribe: <http://cool.haxx.se/cgi-bin/mailman/options/libssh2-devel>, 
 <mailto:libssh2-devel-request@cool.haxx.se?subject=unsubscribe>
List-Archive: <http://cool.haxx.se/pipermail/libssh2-devel/>
List-Post: <mailto:libssh2-devel@cool.haxx.se>
List-Help: <mailto:libssh2-devel-request@cool.haxx.se?subject=help>
List-Subscribe: <http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel>, 
 <mailto:libssh2-devel-request@cool.haxx.se?subject=subscribe>
Reply-To: libssh2 development <libssh2-devel@cool.haxx.se>
Content-Type: text/plain; charset="utf-8"; Format="flowed"
Errors-To: libssh2-devel-bounces@cool.haxx.se
Sender: "libssh2-devel" <libssh2-devel-bounces@cool.haxx.se>
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from base64 to 8bit by giant.haxx.se id u0IIs13q004189

Hello!

I wouldn't mind a comment or two from users who build and use libssh2 on 
Windows on this pull request:

   https://github.com/libssh2/libssh2/pull/73

"add placeholder for library name depending on platform"

Thanks!

-- 

  / daniel.haxx.se
_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel

From libssh2-devel-bounces@cool.haxx.se  Wed Jan 20 08:32:03 2016
Return-Path: <libssh2-devel-bounces@cool.haxx.se>
Received: from www.haxx.se (list@localhost.localdomain [127.0.0.1])
	by giant.haxx.se (8.15.2/8.15.2/Debian-3) with ESMTP id u0K7VXgT017588;
	Wed, 20 Jan 2016 08:31:56 +0100
Received: from mail-vk0-x22b.google.com (mail-vk0-x22b.google.com
 [IPv6:2607:f8b0:400c:c05:0:0:0:22b])
 by giant.haxx.se (8.15.2/8.15.2/Debian-3) with ESMTPS id u0K7VUkW017471
 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NOT)
 for <libssh2-devel@cool.haxx.se>; Wed, 20 Jan 2016 08:31:31 +0100
Received: by mail-vk0-x22b.google.com with SMTP id k1so229138vkb.2
 for <libssh2-devel@cool.haxx.se>; Tue, 19 Jan 2016 23:31:32 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
 h=mime-version:date:message-id:subject:from:to:content-type;
 bh=Ri/2x1PcWaqwvNdNyaIy0G1dcNtswAhow3aFGn+UVuc=;
 b=uw6h3/jXQZGa8rKSVzbu4OfA4bq1ioPqIUcMuClPaqwyrkJznuAa+tH2BXuuS2dR3c
 YVr18kENW5Z2qAUIK3FG3WVhqWFtFmNVzmYy2q35tA00mXGmZsori5UNUVagx/9aaDcP
 fZHNyA1ARHO2i0qvqwIzQktS7J+Vxup6rdpet56kb3CbCKrezbCYLiaX7GbZwFFfIWDr
 mpG8fLAY8/xwCxqCz6ooC3u290XC5QX/fs+FmUzA3KlISOoUtx8WfdJILdal6hSxdhP6
 tx0QjZf5sZGHpIGTT7JApLfIeGY1xyNxHd5ooaotd8aihk2AIFc1FzgEuH+Oj6rUIPEH
 TwmA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20130820;
 h=x-gm-message-state:mime-version:date:message-id:subject:from:to
 :content-type;
 bh=Ri/2x1PcWaqwvNdNyaIy0G1dcNtswAhow3aFGn+UVuc=;
 b=FPDrZo5PdP8J/KuTZgemkDFsqMa89VCc6jl8QtTWNE2wG8BR5fJMK/fl1gR+4nSrGD
 Lvonodq/EniHFRPpn3vXL6zObAFq2lz17ENkf886l1QfD2lAEs1BdoGiORLyOaI3mbjU
 BdR9GE7oTP2GcCH2ztvUiOjjw2eWLshI83VrjkHghsUzK/vHHCVI0siy/Y3SXM8P+Gua
 AnsL7zHHbPvilLO+OgPuY4X2whcs0BHlLqQWxTh8gtCmnelJOCr6M13y8LpDA2JkuMLr
 yEyvNAwQvXeD0CDi7iOsP81fUlF2ZCh9ZDrfeXJlRo5Y4Dk3MZAI4Nmo1uHkvMVjruO6
 SKRw==
X-Gm-Message-State: ALoCoQnu5cV1cN9Y8YsluTEZ8Z4/XEEhmIW/wlvuTid8gfI8gCkDmq05ZAqxz7HAv5s3ZE8FhCD19BHNDGo3+GbtfsK4D73tCA==
MIME-Version: 1.0
X-Received: by 10.31.162.3 with SMTP id l3mr23492920vke.68.1453275083859; Tue,
 19 Jan 2016 23:31:23 -0800 (PST)
Received: by 10.31.128.213 with HTTP; Tue, 19 Jan 2016 23:31:23 -0800 (PST)
Received: by 10.31.128.213 with HTTP; Tue, 19 Jan 2016 23:31:23 -0800 (PST)
Date: Wed, 20 Jan 2016 13:01:23 +0530
Message-ID: <CADduc7vDQc6+XCd7kFY1swAb2idnPUwsDDagXMSZ-Aox2snEnw@mail.gmail.com>
Subject: Encryption functions
From: Kishore Av <scorpionkish@gmail.com>
To: libssh2 development <libssh2-devel@cool.haxx.se>
X-BeenThere: libssh2-devel@cool.haxx.se
X-Mailman-Version: 2.1.20
Precedence: list
List-Id: libssh2 development <libssh2-devel.cool.haxx.se>
List-Unsubscribe: <http://cool.haxx.se/cgi-bin/mailman/options/libssh2-devel>, 
 <mailto:libssh2-devel-request@cool.haxx.se?subject=unsubscribe>
List-Archive: <http://cool.haxx.se/pipermail/libssh2-devel/>
List-Post: <mailto:libssh2-devel@cool.haxx.se>
List-Help: <mailto:libssh2-devel-request@cool.haxx.se?subject=help>
List-Subscribe: <http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel>, 
 <mailto:libssh2-devel-request@cool.haxx.se?subject=subscribe>
Reply-To: libssh2 development <libssh2-devel@cool.haxx.se>
Content-Type: multipart/mixed; boundary="===============0571016487=="
Errors-To: libssh2-devel-bounces@cool.haxx.se
Sender: "libssh2-devel" <libssh2-devel-bounces@cool.haxx.se>

--===============0571016487==
Content-Type: multipart/alternative; boundary=001a114406ea226d8e0529bef9c0

--001a114406ea226d8e0529bef9c0
Content-Type: text/plain; charset=UTF-8

Hi

1. Could you please list me the functions uses the encryption.
2. Encryption scheme used in the functions
3. Length of the key used in the functions

Thanks
Kishore

--001a114406ea226d8e0529bef9c0
Content-Type: text/html; charset=UTF-8

<p dir="ltr">Hi</p>
<p dir="ltr">1. Could you please list me the functions uses the encryption.<br>
2. Encryption scheme used in the functions<br>
3. Length of the key used in the functions</p>
<p dir="ltr">Thanks<br>
Kishore</p>

--001a114406ea226d8e0529bef9c0--

--===============0571016487==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: base64
Content-Disposition: inline

X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KbGlic3NoMi1k
ZXZlbCBodHRwOi8vY29vbC5oYXh4LnNlL2NnaS1iaW4vbWFpbG1hbi9saXN0aW5mby9saWJzc2gy
LWRldmVsCg==

--===============0571016487==--

From libssh2-devel-bounces@cool.haxx.se  Wed Jan 20 15:04:40 2016
Return-Path: <libssh2-devel-bounces@cool.haxx.se>
Received: from www.haxx.se (list@localhost.localdomain [127.0.0.1])
	by giant.haxx.se (8.15.2/8.15.2/Debian-3) with ESMTP id u0KE4Hl6021517;
	Wed, 20 Jan 2016 15:04:37 +0100
Received: from mail-vk0-x230.google.com (mail-vk0-x230.google.com
 [IPv6:2607:f8b0:400c:c05:0:0:0:230])
 by giant.haxx.se (8.15.2/8.15.2/Debian-3) with ESMTPS id u0KE4FY9020899
 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NOT)
 for <libssh2-devel@cool.haxx.se>; Wed, 20 Jan 2016 15:04:15 +0100
Received: by mail-vk0-x230.google.com with SMTP id e64so5228749vkg.0
 for <libssh2-devel@cool.haxx.se>; Wed, 20 Jan 2016 06:04:17 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
 h=mime-version:in-reply-to:references:date:message-id:subject:from:to
 :content-type; bh=nr1exHUeeT3ImAXRSduJl9VSfaGhn0LeLuFQb+GKAOE=;
 b=WNd06wiEsVeJhiATgc7gpTomRjJwManH7HlV1fKnrotbijnmpR728bIvTxL+CS8Zhp
 dZLbkAR/nmRz9tFVzHGspbOJe+OmGWyif0oU1TxLiSLkNrz3woTDJqJZN3SZiSwWODXj
 Z/U2PgLechaW5QoXDKKc8hji4cmBdv/QkiZxDYs/PAYwyZ+xHhNq+y14lpvYhOJmYxrG
 nvWW0e8OZdGrXuzaNa0Skos84vp7Gwggsrz0WU1q/1pdCRcs7kl8ke+5cmGnxb4bS6kf
 GSH3HEK1wmoL9Q+rRu5qn5rF2lHydOwha3Rxw25bcNM40cAFXw0osvAl95XZKxmU/cIl
 Egog==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20130820;
 h=x-gm-message-state:mime-version:in-reply-to:references:date
 :message-id:subject:from:to:content-type;
 bh=nr1exHUeeT3ImAXRSduJl9VSfaGhn0LeLuFQb+GKAOE=;
 b=Yz5/6gSr8QlRdlktKJ6BTrXiNIYFoYGwwoeW7loVOjHdRIckFu3AAkn8oB8akyZO0b
 ziYfOrGVUlQeFB0sSyXixoFQwFRMLP8Xzt9E8k/1nz3sZYHNId6HbsGuO98N9IZDQLEt
 uqlJKBSdTO87RO5xD2CTKhNZy+gsr+XtNd6mUfruQtiFlVXrhJKMkW1+PNWuEejrH5eP
 kcHAsb9zfP7lnf+13eTS+jiRQkh7AUD6+agjyqtpNOZCiG+xzPGr/68B1O/hLi1HllRm
 U3FKuy7l/WL2XAYL19q/wthOqo4s3PFowyardowhnmAxnv3eGZnUw43F6fF8WopexW4X
 7luA==
X-Gm-Message-State: ALoCoQkjYx8iOsn9HnzFnEeoqwExB0+wzrXvBv/A7Xk4wHrAzguGOU7dr9hFBffQBQM6bXKbHbOoydJtovLCkxhYaqdC+5lngQ==
MIME-Version: 1.0
X-Received: by 10.31.9.72 with SMTP id 69mr21963563vkj.126.1453298650522; Wed,
 20 Jan 2016 06:04:10 -0800 (PST)
Received: by 10.31.128.213 with HTTP; Wed, 20 Jan 2016 06:04:10 -0800 (PST)
Received: by 10.31.128.213 with HTTP; Wed, 20 Jan 2016 06:04:10 -0800 (PST)
In-Reply-To: <CADduc7vDQc6+XCd7kFY1swAb2idnPUwsDDagXMSZ-Aox2snEnw@mail.gmail.com>
References: <CADduc7vDQc6+XCd7kFY1swAb2idnPUwsDDagXMSZ-Aox2snEnw@mail.gmail.com>
Date: Wed, 20 Jan 2016 19:34:10 +0530
Message-ID: <CADduc7uHRei43+sEF8+LyNE8Up-_mX-FHjL4xQGekTZOod1K7Q@mail.gmail.com>
Subject: Re: Encryption functions
From: Kishore Av <scorpionkish@gmail.com>
To: libssh2 development <libssh2-devel@cool.haxx.se>
X-BeenThere: libssh2-devel@cool.haxx.se
X-Mailman-Version: 2.1.20
Precedence: list
List-Id: libssh2 development <libssh2-devel.cool.haxx.se>
List-Unsubscribe: <http://cool.haxx.se/cgi-bin/mailman/options/libssh2-devel>, 
 <mailto:libssh2-devel-request@cool.haxx.se?subject=unsubscribe>
List-Archive: <http://cool.haxx.se/pipermail/libssh2-devel/>
List-Post: <mailto:libssh2-devel@cool.haxx.se>
List-Help: <mailto:libssh2-devel-request@cool.haxx.se?subject=help>
List-Subscribe: <http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel>, 
 <mailto:libssh2-devel-request@cool.haxx.se?subject=subscribe>
Reply-To: libssh2 development <libssh2-devel@cool.haxx.se>
Content-Type: multipart/mixed; boundary="===============0239307139=="
Errors-To: libssh2-devel-bounces@cool.haxx.se
Sender: "libssh2-devel" <libssh2-devel-bounces@cool.haxx.se>

--===============0239307139==
Content-Type: multipart/alternative; boundary=001a11440dfad129920529c475b5

--001a11440dfad129920529c475b5
Content-Type: text/plain; charset=UTF-8

Hi,

1. Could you please list me the functions uses the encryption?
2. What Encryption scheme used in the functions?
3. Length of the key used in the functions?

Thanks
Kishore
On Jan 20, 2016 1:01 PM, "Kishore Av" <scorpionkish@gmail.com> wrote:

> Hi
>
> 1. Could you please list me the functions uses the encryption.
> 2. Encryption scheme used in the functions
> 3. Length of the key used in the functions
>
> Thanks
> Kishore
>

--001a11440dfad129920529c475b5
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<p dir=3D"ltr">Hi,</p>
<p dir=3D"ltr">1. Could you please list me the functions uses the encryptio=
n?<br>
2. What Encryption scheme used in the functions?<br>
3. Length of the key used in the functions?</p>
<p dir=3D"ltr">Thanks<br>
Kishore</p>
<div class=3D"gmail_quote">On Jan 20, 2016 1:01 PM, &quot;Kishore Av&quot; =
&lt;<a href=3D"mailto:scorpionkish@gmail.com">scorpionkish@gmail.com</a>&gt=
; wrote:<br type=3D"attribution"><blockquote class=3D"gmail_quote" style=3D=
"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><p dir=3D"l=
tr">Hi</p>
<p dir=3D"ltr">1. Could you please list me the functions uses the encryptio=
n.<br>
2. Encryption scheme used in the functions<br>
3. Length of the key used in the functions</p>
<p dir=3D"ltr">Thanks<br>
Kishore</p>
</blockquote></div>

--001a11440dfad129920529c475b5--

--===============0239307139==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: base64
Content-Disposition: inline

X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KbGlic3NoMi1k
ZXZlbCBodHRwOi8vY29vbC5oYXh4LnNlL2NnaS1iaW4vbWFpbG1hbi9saXN0aW5mby9saWJzc2gy
LWRldmVsCg==

--===============0239307139==--

From libssh2-devel-bounces@cool.haxx.se  Wed Jan 20 15:12:20 2016
Return-Path: <libssh2-devel-bounces@cool.haxx.se>
Received: from www.haxx.se (list@localhost.localdomain [127.0.0.1])
	by giant.haxx.se (8.15.2/8.15.2/Debian-3) with ESMTP id u0KECHqm019766;
	Wed, 20 Jan 2016 15:12:20 +0100
Received: from giant.haxx.se (dast@localhost.localdomain [127.0.0.1])
 by giant.haxx.se (8.15.2/8.15.2/Debian-3) with ESMTPS id u0KECGo2019753
 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT)
 for <libssh2-devel@cool.haxx.se>; Wed, 20 Jan 2016 15:12:16 +0100
Received: from localhost (dast@localhost)
 by giant.haxx.se (8.15.2/8.15.2/Submit) with ESMTP id u0KECGVM019749
 for <libssh2-devel@cool.haxx.se>; Wed, 20 Jan 2016 15:12:16 +0100
X-Authentication-Warning: giant.haxx.se: dast owned process doing -bs
Date: Wed, 20 Jan 2016 15:12:16 +0100 (CET)
From: Daniel Stenberg <daniel@haxx.se>
X-X-Sender: dast@giant.haxx.se
To: libssh2 development <libssh2-devel@cool.haxx.se>
Subject: Re: Encryption functions
In-Reply-To: <CADduc7uHRei43+sEF8+LyNE8Up-_mX-FHjL4xQGekTZOod1K7Q@mail.gmail.com>
Message-ID: <alpine.DEB.2.20.1601201511450.5703@tvnag.unkk.fr>
References: <CADduc7vDQc6+XCd7kFY1swAb2idnPUwsDDagXMSZ-Aox2snEnw@mail.gmail.com>
 <CADduc7uHRei43+sEF8+LyNE8Up-_mX-FHjL4xQGekTZOod1K7Q@mail.gmail.com>
User-Agent: Alpine 2.20 (DEB 67 2015-01-07)
X-fromdanielhimself: yes
MIME-Version: 1.0
X-BeenThere: libssh2-devel@cool.haxx.se
X-Mailman-Version: 2.1.20
Precedence: list
List-Id: libssh2 development <libssh2-devel.cool.haxx.se>
List-Unsubscribe: <http://cool.haxx.se/cgi-bin/mailman/options/libssh2-devel>, 
 <mailto:libssh2-devel-request@cool.haxx.se?subject=unsubscribe>
List-Archive: <http://cool.haxx.se/pipermail/libssh2-devel/>
List-Post: <mailto:libssh2-devel@cool.haxx.se>
List-Help: <mailto:libssh2-devel-request@cool.haxx.se?subject=help>
List-Subscribe: <http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel>, 
 <mailto:libssh2-devel-request@cool.haxx.se?subject=subscribe>
Reply-To: libssh2 development <libssh2-devel@cool.haxx.se>
Content-Type: text/plain; charset="utf-8"; Format="flowed"
Errors-To: libssh2-devel-bounces@cool.haxx.se
Sender: "libssh2-devel" <libssh2-devel-bounces@cool.haxx.se>
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from base64 to 8bit by giant.haxx.se id u0KECHqm019766

On Wed, 20 Jan 2016, Kishore Av wrote:

> 1. Could you please list me the functions uses the encryption?
> 2. What Encryption scheme used in the functions?
> 3. Length of the key used in the functions?

Is there anything particular that prevents you from doing this yourself? The 
code is equally accessible to all of us!

-- 

  / daniel.haxx.se
_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel

From libssh2-devel-bounces@cool.haxx.se  Wed Jan 20 22:52:57 2016
Return-Path: <libssh2-devel-bounces@cool.haxx.se>
Received: from www.haxx.se (list@localhost.localdomain [127.0.0.1])
	by giant.haxx.se (8.15.2/8.15.2/Debian-3) with ESMTP id u0KLqbCP027911;
	Wed, 20 Jan 2016 22:52:55 +0100
Received: from mail-wm0-x22f.google.com (mail-wm0-x22f.google.com
 [IPv6:2a00:1450:400c:c09:0:0:0:22f])
 by giant.haxx.se (8.15.2/8.15.2/Debian-3) with ESMTPS id u0KLqaSZ027592
 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NOT)
 for <libssh2-devel@cool.haxx.se>; Wed, 20 Jan 2016 22:52:36 +0100
Received: by mail-wm0-x22f.google.com with SMTP id u188so202611496wmu.1
 for <libssh2-devel@cool.haxx.se>; Wed, 20 Jan 2016 13:52:38 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
 h=mime-version:sender:in-reply-to:references:date:message-id:subject
 :from:to:content-type;
 bh=Vj1J3m8cOwjS/uwgVwEWd791SriMy5eEwgUWhW+9ED8=;
 b=CTcCLUXPkvHcb70JB5ED5E/sjrZGFtJwVAJjIPYJ989FqIFzWAVUKKAr0qDDtJToKi
 SUEexOsi7FKVDim0SgqhVDJQAsEdWZywi6UWSTrA6gMotMHQPUg2ghc3/FdClGXzu7g4
 XxaBzBK7Y7lwhn1v93yPlP+ZalOZezFe0VzmmlSlx0j3VE2oXRDCk03NVSmJBlibjMe+
 3K4liE3Q2A/1JvD2WKk981zACHRZV9W+TAWNyyWaaa00i0uJHw/x82xyfsZvIUPFZq47
 0ELINd8mr9ISRAo8kPEiuVlbpi4U/eNLPga8yM8jPRAEC82DpbIx7oV8MtaOSpW6MhcV
 JKHw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20130820;
 h=x-gm-message-state:mime-version:sender:in-reply-to:references:date
 :message-id:subject:from:to:content-type;
 bh=Vj1J3m8cOwjS/uwgVwEWd791SriMy5eEwgUWhW+9ED8=;
 b=TJNSgfz4mZHi60jLKPX0AcI9o/A8/rpAZmMlzF+kksERsydmsGQL0ltxJgRvpqI76z
 uSBH6aeCYrqVZWYyv9SEX0fWMUvsLgC9KgJmgTG8Z1dy0kzYlTopydz5G3VdyvHhQNf2
 FpuhXEbP59R1auU7ThD2wE3PZN1MHFw0PIDp7WaX68/A5Dk0GAN9vM9zS2u7/4ks4Rda
 PRRO1CXBGTZkPptvyAIewaQSX6+XM+3rrydpw/ry53wSPh7Kxvh8IL79jK/ggHOQTBq3
 AwIv2a9FNz+DKFOH23C4WuKPk63U/+XvMk5jwfEqdGHdITrIayusw0k1NjqdEs6WHlKG
 B5fg==
X-Gm-Message-State: AG10YOTtDhFONTic9MQP2HvVvc8bWZZaalTbuC3sQpomjFDseQkFd+kNlH9oevYvPqR8p5zRTqLh6vgGRwFKfw==
MIME-Version: 1.0
X-Received: by 10.28.52.134 with SMTP id b128mr5987405wma.99.1453326752802;
 Wed, 20 Jan 2016 13:52:32 -0800 (PST)
Received: by 10.28.132.9 with HTTP; Wed, 20 Jan 2016 13:52:32 -0800 (PST)
In-Reply-To: <alpine.DEB.2.20.1601122337430.26944@tvnag.unkk.fr>
References: <56377A0C.8090103@dbyron.com>
 <alpine.DEB.2.11.1511030740440.9027@tvnag.unkk.fr>
 <CADyPeTMDaRT30wNk1TXFOr12G_drBfyMqk+FHaP=NOreUuvYPA@mail.gmail.com>
 <alpine.DEB.2.11.1511090949360.7567@tvnag.unkk.fr>
 <CADyPeTOoLU4nZ=EdVp5Jh8Fc5xwrbU22geBNOD0U+0+pbdz1SA@mail.gmail.com>
 <B71D6268-9F3C-46F3-AAF8-6C2387E246B9@eggerapps.at>
 <alpine.DEB.2.20.1601122256160.26944@tvnag.unkk.fr>
 <CADyPeTMv2oLGZW=h_Q5Rx2iecDAZU4CWWwTO4aGCDRLFzpttrw@mail.gmail.com>
 <alpine.DEB.2.20.1601122337430.26944@tvnag.unkk.fr>
Date: Wed, 20 Jan 2016 21:52:32 +0000
X-Google-Sender-Auth: jLp3Rog5xulSDqDHv9Z4ccittjM
Message-ID: <CADyPeTMwYro4P69HrBovfZ-KXH4Hvj0dY7ENVg63hyTjk_y_9g@mail.gmail.com>
Subject: Re: ping for release
From: Alexander Lamaison <swish@lammy.co.uk>
To: libssh2 development <libssh2-devel@cool.haxx.se>
X-BeenThere: libssh2-devel@cool.haxx.se
X-Mailman-Version: 2.1.20
Precedence: list
List-Id: libssh2 development <libssh2-devel.cool.haxx.se>
List-Unsubscribe: <http://cool.haxx.se/cgi-bin/mailman/options/libssh2-devel>, 
 <mailto:libssh2-devel-request@cool.haxx.se?subject=unsubscribe>
List-Archive: <http://cool.haxx.se/pipermail/libssh2-devel/>
List-Post: <mailto:libssh2-devel@cool.haxx.se>
List-Help: <mailto:libssh2-devel-request@cool.haxx.se?subject=help>
List-Subscribe: <http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel>, 
 <mailto:libssh2-devel-request@cool.haxx.se?subject=subscribe>
Reply-To: libssh2 development <libssh2-devel@cool.haxx.se>
Content-Type: text/plain; charset="utf-8"
Errors-To: libssh2-devel-bounces@cool.haxx.se
Sender: "libssh2-devel" <libssh2-devel-bounces@cool.haxx.se>
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from base64 to 8bit by giant.haxx.se id u0KLqbCP027911

On 12 January 2016 at 22:41, Daniel Stenberg <daniel@haxx.se> wrote:
> On Tue, 12 Jan 2016, Alexander Lamaison wrote:
>
>> What about preemptively reverting those commits, making a release, then
>> immediately re-applying the commits to master. It's seems a shame to delay
>> other useful improvements.
>
> So you're that sure just reverting them will fix the SFTP problems as of
> late? If so, then reverting them now seems fine.

Pretty sure because I don't see anything else that touches the SFTP
code since the last release.

> I'm not convinced putting them back as-is makes much sense though if they're
> introducing these problems. Faster performance isn't that fun when it comes
> at the priace of broken functionality.

Agreed, although now Jakob has put some great fixes in, maybe the
situation is resolved.

Alex

-- 
Swish - Easy SFTP for Windows Explorer (http://www.swish-sftp.org)
_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel

From libssh2-devel-bounces@cool.haxx.se  Wed Jan 20 22:59:01 2016
Return-Path: <libssh2-devel-bounces@cool.haxx.se>
Received: from www.haxx.se (list@localhost.localdomain [127.0.0.1])
	by giant.haxx.se (8.15.2/8.15.2/Debian-3) with ESMTP id u0KLwwa1010079;
	Wed, 20 Jan 2016 22:59:01 +0100
Received: from giant.haxx.se (dast@localhost.localdomain [127.0.0.1])
 by giant.haxx.se (8.15.2/8.15.2/Debian-3) with ESMTPS id u0KLwuaJ010056
 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT)
 for <libssh2-devel@cool.haxx.se>; Wed, 20 Jan 2016 22:58:56 +0100
Received: from localhost (dast@localhost)
 by giant.haxx.se (8.15.2/8.15.2/Submit) with ESMTP id u0KLwuxH010053
 for <libssh2-devel@cool.haxx.se>; Wed, 20 Jan 2016 22:58:56 +0100
X-Authentication-Warning: giant.haxx.se: dast owned process doing -bs
Date: Wed, 20 Jan 2016 22:58:56 +0100 (CET)
From: Daniel Stenberg <daniel@haxx.se>
X-X-Sender: dast@giant.haxx.se
To: libssh2 development <libssh2-devel@cool.haxx.se>
Subject: Re: ping for release
In-Reply-To: <CADyPeTMwYro4P69HrBovfZ-KXH4Hvj0dY7ENVg63hyTjk_y_9g@mail.gmail.com>
Message-ID: <alpine.DEB.2.20.1601202256040.5703@tvnag.unkk.fr>
References: <56377A0C.8090103@dbyron.com>
 <alpine.DEB.2.11.1511030740440.9027@tvnag.unkk.fr>
 <CADyPeTMDaRT30wNk1TXFOr12G_drBfyMqk+FHaP=NOreUuvYPA@mail.gmail.com>
 <alpine.DEB.2.11.1511090949360.7567@tvnag.unkk.fr>
 <CADyPeTOoLU4nZ=EdVp5Jh8Fc5xwrbU22geBNOD0U+0+pbdz1SA@mail.gmail.com>
 <B71D6268-9F3C-46F3-AAF8-6C2387E246B9@eggerapps.at>
 <alpine.DEB.2.20.1601122256160.26944@tvnag.unkk.fr>
 <CADyPeTMv2oLGZW=h_Q5Rx2iecDAZU4CWWwTO4aGCDRLFzpttrw@mail.gmail.com>
 <alpine.DEB.2.20.1601122337430.26944@tvnag.unkk.fr>
 <CADyPeTMwYro4P69HrBovfZ-KXH4Hvj0dY7ENVg63hyTjk_y_9g@mail.gmail.com>
User-Agent: Alpine 2.20 (DEB 67 2015-01-07)
X-fromdanielhimself: yes
MIME-Version: 1.0
X-BeenThere: libssh2-devel@cool.haxx.se
X-Mailman-Version: 2.1.20
Precedence: list
List-Id: libssh2 development <libssh2-devel.cool.haxx.se>
List-Unsubscribe: <http://cool.haxx.se/cgi-bin/mailman/options/libssh2-devel>, 
 <mailto:libssh2-devel-request@cool.haxx.se?subject=unsubscribe>
List-Archive: <http://cool.haxx.se/pipermail/libssh2-devel/>
List-Post: <mailto:libssh2-devel@cool.haxx.se>
List-Help: <mailto:libssh2-devel-request@cool.haxx.se?subject=help>
List-Subscribe: <http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel>, 
 <mailto:libssh2-devel-request@cool.haxx.se?subject=subscribe>
Reply-To: libssh2 development <libssh2-devel@cool.haxx.se>
Content-Type: text/plain; charset="utf-8"; Format="flowed"
Errors-To: libssh2-devel-bounces@cool.haxx.se
Sender: "libssh2-devel" <libssh2-devel-bounces@cool.haxx.se>
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from base64 to 8bit by giant.haxx.se id u0KLwwa1010079

On Wed, 20 Jan 2016, Alexander Lamaison wrote:

>> I'm not convinced putting them back as-is makes much sense though if 
>> they're introducing these problems. Faster performance isn't that fun when 
>> it comes at the priace of broken functionality.
>
> Agreed, although now Jakob has put some great fixes in, maybe the situation 
> is resolved.

Yes, the comments in pull #75 (https://github.com/libssh2/libssh2/pull/75) 
sounds really promising.

I'm actually mostly awaiting for response to my comments there (and possibly 
some updated commits) and then I'd be prepared to merge. *Then*, after letting 
that merge cook in master for a short while I think we're truly closing in on 
a release.

-- 

  / daniel.haxx.se
_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel

From libssh2-devel-bounces@cool.haxx.se  Thu Jan 21 09:04:38 2016
Return-Path: <libssh2-devel-bounces@cool.haxx.se>
Received: from www.haxx.se (list@localhost.localdomain [127.0.0.1])
	by giant.haxx.se (8.15.2/8.15.2/Debian-3) with ESMTP id u0L84FM0025466;
	Thu, 21 Jan 2016 09:04:34 +0100
Received: from mail-out.m-online.net (mail-out.m-online.net
 [IPv6:2001:a60:0:28:0:1:25:1])
 by giant.haxx.se (8.15.2/8.15.2/Debian-3) with ESMTPS id u0L84D2Y025460
 (version=TLSv1 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NOT)
 for <libssh2-devel@cool.haxx.se>; Thu, 21 Jan 2016 09:04:14 +0100
Received: from frontend01.mail.m-online.net (unknown [192.168.8.182])
 by mail-out.m-online.net (Postfix) with ESMTP id 3pmGTB3s8rz3hht2
 for <libssh2-devel@cool.haxx.se>; Thu, 21 Jan 2016 09:04:13 +0100 (CET)
Received: from localhost (dynscan1.mnet-online.de [192.168.6.68])
 by mail.m-online.net (Postfix) with ESMTP id 3pmGT94WfLzvhN4
 for <libssh2-devel@cool.haxx.se>; Thu, 21 Jan 2016 09:04:13 +0100 (CET)
X-Virus-Scanned: amavisd-new at mnet-online.de
Received: from mail.mnet-online.de ([192.168.8.182])
 by localhost (dynscan1.mail.m-online.net [192.168.6.68]) (amavisd-new,
 port 10024)
 with ESMTP id fAOTdykjNGXt for <libssh2-devel@cool.haxx.se>;
 Thu, 21 Jan 2016 09:04:12 +0100 (CET)
X-Auth-Info: Ob/fRQxtcy9wL8m6PWh8xBMlVnmWSwAb7E2vKGt7x1UkrGIhVJcajxXUaeEh31FQ
Received: from colibri.localdomain (ppp-188-174-88-136.dynamic.mnet-online.de
 [188.174.88.136])
 (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits))
 (No client certificate requested)
 by mail.mnet-online.de (Postfix) with ESMTPSA
 for <libssh2-devel@cool.haxx.se>; Thu, 21 Jan 2016 09:04:12 +0100 (CET)
Received: by colibri.localdomain (Postfix, from userid 501)
 id 5856F605DC; Thu, 21 Jan 2016 09:04:11 +0100 (CET)
Date: Thu, 21 Jan 2016 09:04:11 +0100
From: Dan Fandrich <dan@coneharvesters.com>
To: libssh2 development <libssh2-devel@cool.haxx.se>
Subject: libssh2 hangs in curl testsuite
Message-ID: <20160121080411.GA24376@coneharvesters.com>
Mail-Followup-To: libssh2 development <libssh2-devel@cool.haxx.se>
MIME-Version: 1.0
Content-Disposition: inline
User-Agent: Mutt/1.5.23 (2014-03-12)
X-BeenThere: libssh2-devel@cool.haxx.se
X-Mailman-Version: 2.1.20
Precedence: list
List-Id: libssh2 development <libssh2-devel.cool.haxx.se>
List-Unsubscribe: <http://cool.haxx.se/cgi-bin/mailman/options/libssh2-devel>, 
 <mailto:libssh2-devel-request@cool.haxx.se?subject=unsubscribe>
List-Archive: <http://cool.haxx.se/pipermail/libssh2-devel/>
List-Post: <mailto:libssh2-devel@cool.haxx.se>
List-Help: <mailto:libssh2-devel-request@cool.haxx.se?subject=help>
List-Subscribe: <http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel>, 
 <mailto:libssh2-devel-request@cool.haxx.se?subject=subscribe>
Reply-To: libssh2 development <libssh2-devel@cool.haxx.se>
Content-Type: text/plain; charset="utf-8"
Errors-To: libssh2-devel-bounces@cool.haxx.se
Sender: "libssh2-devel" <libssh2-devel-bounces@cool.haxx.se>
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from base64 to 8bit by giant.haxx.se id u0L84FM0025466

I upgraded to the git libssh2 with GnuTLS 3.2.21 on x86 Linux a few days ago
for my curl autobuilds, and they've been hanging ever since on many libssh2
tests (e.g.  609, 620, 626, 635, but I suspect it's a race condition on connect
and the actual test number doesn't make a difference). I haven't spent much
time looking into it yet, but a high proportion of the tests end up with the
CPU spinning at 100%.  I've attached gdb in a couple of cases and the backtrace
either looks like this:

#0  0xb7682ee8 in Loop () from /lib/libgcrypt.so.11
#1  0x07c09aa4 in ?? ()
#2  0xb76b8000 in ?? () from /lib/libgcrypt.so.11
Backtrace stopped: previous frame inner to this frame (corrupt stack?)

or like this:

#0  0xb761661f in mul_n () from /lib/libgcrypt.so.11
#1  0xb7616762 in mul_n () from /lib/libgcrypt.so.11
#2  0xb761647a in mul_n () from /lib/libgcrypt.so.11
#3  0xb761732d in _gcry_mpih_mul_karatsuba_case () from /lib/libgcrypt.so.11
#4  0xb7613324 in mul_mod () from /lib/libgcrypt.so.11
#5  0xb7613baa in _gcry_mpi_powm () from /lib/libgcrypt.so.11
#6  0xb75c2d94 in gcry_mpi_powm () from /lib/libgcrypt.so.11
#7  0xb765c3dd in diffie_hellman_sha256 (packet_type_init=<optimized out>,
    packet_type_reply=<optimized out>, exchange_state=<optimized out>, midhash_len=<optimized out>,
    midhash=<optimized out>, group_order=<optimized out>, p=<optimized out>, g=<optimized out>,
    session=<optimized out>) at /home/build/src/libssh2/src/kex.c:757
#8  kex_method_diffie_hellman_group_exchange_sha256_key_exchange (session=0x9d245f8,
    key_state=0x9d31170) at /home/build/src/libssh2/src/kex.c:1657
#9  0xb765dc6b in _libssh2_kex_exchange (session=0x9d245f8, reexchange=0, key_state=0x9d31164)
    at /home/build/src/libssh2/src/kex.c:2542
#10 0xb76647d2 in session_startup (sock=3, session=0x9d245f8)
    at /home/build/src/libssh2/src/session.c:723
#11 libssh2_session_handshake (session=0x9d245f8, sock=3) at /home/build/src/libssh2/src/session.c:801
#12 0xb770c0d5 in ssh_statemach_act () from /tmp/tmp.95BPIzfHtd/build-29924/lib/.libs/libcurl.so.4
#13 0xb770fcf5 in ssh_multi_statemach () from /tmp/tmp.95BPIzfHtd/build-29924/lib/.libs/libcurl.so.4
#14 0xb76f04f3 in Curl_protocol_connecting ()
   from /tmp/tmp.95BPIzfHtd/build-29924/lib/.libs/libcurl.so.4
#15 0xb7703d58 in multi_runsingle () from /tmp/tmp.95BPIzfHtd/build-29924/lib/.libs/libcurl.so.4
#16 0xb770487c in curl_multi_perform () from /tmp/tmp.95BPIzfHtd/build-29924/lib/.libs/libcurl.so.4
#17 0xb76fbfbc in curl_easy_perform () from /tmp/tmp.95BPIzfHtd/build-29924/lib/.libs/libcurl.so.4
#18 0x080520f2 in operate_do ()
#19 0x08053af3 in operate ()
#20 0x080499d7 in main ()

The couple of times I caught this, everything from level #7 to the bottom was the same.
I'll try to get a chance to bisect the problem, but in any case, it's not quite
in a releasable state.

>>> Dan
_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel

From libssh2-devel-bounces@cool.haxx.se  Thu Jan 21 09:05:56 2016
Return-Path: <libssh2-devel-bounces@cool.haxx.se>
Received: from www.haxx.se (list@localhost.localdomain [127.0.0.1])
	by giant.haxx.se (8.15.2/8.15.2/Debian-3) with ESMTP id u0L85t38026799;
	Thu, 21 Jan 2016 09:05:55 +0100
Received: from nm34-vm1.bullet.mail.sg3.yahoo.com
 (nm34-vm1.bullet.mail.sg3.yahoo.com [106.10.151.240])
 by giant.haxx.se (8.15.2/8.15.2/Debian-3) with ESMTPS id u0L85Tx1026444
 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128 verify=NOT)
 for <libssh2-devel@cool.haxx.se>; Thu, 21 Jan 2016 09:05:51 +0100
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048;
 t=1453363524; bh=DLqSytYTPTNfPccFUYPF/9se6GOqEFQrVVjZ8nI3TjQ=;
 h=Date:From:Reply-To:To:Subject:References:From:Subject;
 b=gciJlVlxobwV9x+pLudutOW5qO7skS8g4khRBMCCJWfSRiOuJ6ZjAw+I1QwzMynTZPxlVkjvjlWEjUy+wW5QFUQthFP9RX80QTycgjvPoSU38rb1NBqw3j0LgoxUlX5JgHxSXwwL1xWnVO98txG5LqEWzren5iGVBMeQZ/lrfOvFz+1P/x9//k/553NmP6mqX4N6aCKtyi2p9w9lYYVDaZLkP6PW9eMWc9H51f3Il6ADlTNpFaz2bd+8RQ+qOrLYHkvMzPTrLTTIyxnzLLj6sm3Nc2Z1nS4mEiHije5FL4e/Ia1A2Ox0DSrGbmgcKOClo9AZXIG3hH6C8Ix6DUC6Cg==
Received: from [106.10.166.116] by nm34.bullet.mail.sg3.yahoo.com with NNFMP;
 21 Jan 2016 08:05:24 -0000
Received: from [106.10.151.139] by tm5.bullet.mail.sg3.yahoo.com with NNFMP;
 21 Jan 2016 08:05:24 -0000
Received: from [127.0.0.1] by omp1007.mail.sg3.yahoo.com with NNFMP;
 21 Jan 2016 08:05:24 -0000
X-Yahoo-Newman-Property: ymail-3
X-Yahoo-Newman-Id: 381171.56355.bm@omp1007.mail.sg3.yahoo.com
X-YMail-OSG: eT.ROi8VM1k24FSMwJnAKBbiyn3iJmihyUFhFdaMfErK3R0PO0rE4xDnH5OLzx4
 Yj7JIC9WmD7Z3CL8tjyTwuI4HajzVxQOKK0KBZyhI42LgKSyCLesPRD69vrdHSGL1FUd9PE3ZDHD
 kMiGBWLVQ.giKLtUccPYvxpFaa4wp82PXNG62nWXSnuoRfxfjqWjQD7gHwZseruV6Pu1BwO7EOYI
 .ADV_aIGgXsGmzUlh6sUoXWCLabot7R2fNMZMLA0ubLWb97GR4av0SyMpw7jvuvCyklF3wjhBH0K
 EUt8yWvRkm_OZPHLYk2G0uGIgsebT8ND7qV4dCaT2bSfQfpSKuanYUmhq2rFcTcSRoGjOoV2yTHW
 j2Ip528iZ2mrgpBdViHgQUdiSSOonJkSCVUXk4vOO4P21T6UPMgzMAccHf0J24jsBcPnw4Vt_FVk
 uq5376h9tZZ3_jPKOXdDmAP_A9PpNlSHPoFCw_7hAhcfHifWiaDRnqQwE7AJULA_mMt4MuRCWQpT
 vIQEbeokYvv8-
Received: by 106.10.196.94; Thu, 21 Jan 2016 08:05:23 +0000 
Date: Thu, 21 Jan 2016 08:02:59 +0000 (UTC)
From: suyog jadhav <suyogjadhav@yahoo.com>
To: "libssh2-devel@cool.haxx.se" <libssh2-devel@cool.haxx.se>
Message-ID: <722978436.7651634.1453363379479.JavaMail.yahoo@mail.yahoo.com>
Subject: memory leak after upgrade from 1.4.3 to 1.6.0
MIME-Version: 1.0
References: <722978436.7651634.1453363379479.JavaMail.yahoo.ref@mail.yahoo.com>
X-BeenThere: libssh2-devel@cool.haxx.se
X-Mailman-Version: 2.1.20
Precedence: list
List-Id: libssh2 development <libssh2-devel.cool.haxx.se>
List-Unsubscribe: <http://cool.haxx.se/cgi-bin/mailman/options/libssh2-devel>, 
 <mailto:libssh2-devel-request@cool.haxx.se?subject=unsubscribe>
List-Archive: <http://cool.haxx.se/pipermail/libssh2-devel/>
List-Post: <mailto:libssh2-devel@cool.haxx.se>
List-Help: <mailto:libssh2-devel-request@cool.haxx.se?subject=help>
List-Subscribe: <http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel>, 
 <mailto:libssh2-devel-request@cool.haxx.se?subject=subscribe>
Reply-To: suyog jadhav <suyogjadhav@yahoo.com>,
        libssh2 development <libssh2-devel@cool.haxx.se>
Content-Type: multipart/mixed; boundary="===============0987000518=="
Errors-To: libssh2-devel-bounces@cool.haxx.se
Sender: "libssh2-devel" <libssh2-devel-bounces@cool.haxx.se>

--===============0987000518==
Content-Type: multipart/alternative; 
	boundary="----=_Part_7651633_923355495.1453363379476"

------=_Part_7651633_923355495.1453363379476
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

Hi=20

we have been using libssh2 library in our project for some time. (since 1.2=
 release)

We remotely monitor multiple remote hosts (100+), and do following.

1)open session.
2)execute commands periodically. (e.g. each minute run iostat,vmstat)

We were using 1.4.3 version of the library until now and everything was wor=
king fine.

Recently we have upgraded library to 1.6.0 and we are seeing memory growth/=
leak in the process.
Our code has not changed in the library upgrade.

Our valgrind analysis shows that the leak is in the "libssh2_session_init_e=
x (session.c:487)" and "libssh2_channel_open_ex (channel.c:349)".

Could you please let me know if there is any change in 1.6.0 which may caus=
e this leak.
Is there any api behavior that has changed which needs extra error handling=
 now?
Also if you could point to a way/approach for solving this leak, it would b=
e greatly appreciated.

Valgrind trace.

=3D=3D9718=3D=3D 582,541 (545,440 direct, 37,101 indirect) bytes in 10 bloc=
ks are definitely lost in loss record 642 of 645
=3D=3D9718=3D=3D=C2=A0=C2=A0=C2=A0 at 0x4A06A2E: malloc (vg_replace_malloc.=
c:270)
=3D=3D9718=3D=3D=C2=A0=C2=A0=C2=A0 by 0x41A830: libssh2_default_alloc (sess=
ion.c:67)
=3D=3D9718=3D=3D=C2=A0=C2=A0=C2=A0 by 0x41B1CC: libssh2_session_init_ex (se=
ssion.c:487)



=3D=3D9718=3D=3D 10,144,824 (106,640 direct, 10,038,184 indirect) bytes in =
155 blocks are definitely lost in loss record 644 of 645
=3D=3D9718=3D=3D=C2=A0=C2=A0=C2=A0 at 0x4A06A2E: malloc (vg_replace_malloc.=
c:270)
=3D=3D9718=3D=3D=C2=A0=C2=A0=C2=A0 by 0x41A830: libssh2_default_alloc (sess=
ion.c:67)
=3D=3D9718=3D=3D=C2=A0=C2=A0=C2=A0 by 0x4162A5: _libssh2_calloc (misc.c:625=
)
=3D=3D9718=3D=3D=C2=A0=C2=A0=C2=A0 by 0x40ACFC: _libssh2_channel_open (chan=
nel.c:160)
=3D=3D9718=3D=3D=C2=A0=C2=A0=C2=A0 by 0x40B4C4: libssh2_channel_open_ex (ch=
annel.c:349)


------=_Part_7651633_923355495.1453363379476
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<html><head></head><body><div style=3D"color:#000; background-color:#fff; f=
ont-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, =
Sans-Serif;font-size:10px"><div dir=3D"ltr" id=3D"yui_3_16_0_1_145336315059=
6_4190">Hi <br class=3D"" id=3D"yui_3_16_0_1_1453363150596_4270"><br class=
=3D"" id=3D"yui_3_16_0_1_1453363150596_4272">we have been using libssh2 lib=
rary in our project for some time. (since 1.2 release)<br class=3D"" id=3D"=
yui_3_16_0_1_1453363150596_4274"><br class=3D"" id=3D"yui_3_16_0_1_14533631=
50596_4276">We remotely monitor multiple remote hosts (100+), and do follow=
ing.<br class=3D"" id=3D"yui_3_16_0_1_1453363150596_4278"><br class=3D"" id=
=3D"yui_3_16_0_1_1453363150596_4280">1)open session.<br class=3D"" id=3D"yu=
i_3_16_0_1_1453363150596_4282">2)execute commands periodically. (e.g. each =
minute run iostat,vmstat)<br class=3D"" id=3D"yui_3_16_0_1_1453363150596_42=
84"><br class=3D"" id=3D"yui_3_16_0_1_1453363150596_4286">We were using 1.4=
.3 version of the library until now and everything was working fine.<br cla=
ss=3D"" id=3D"yui_3_16_0_1_1453363150596_4288"><br class=3D"" id=3D"yui_3_1=
6_0_1_1453363150596_4290">Recently we have upgraded library to 1.6.0 and we=
 are seeing memory growth/leak in the process.<br class=3D"" id=3D"yui_3_16=
_0_1_1453363150596_4292">Our code has not changed in the library upgrade.<b=
r class=3D"" id=3D"yui_3_16_0_1_1453363150596_4294"><br class=3D"" id=3D"yu=
i_3_16_0_1_1453363150596_4296">Our valgrind analysis shows that the leak is=
 in the "libssh2_session_init_ex (session.c:487)" and "libssh2_channel_open=
_ex (channel.c:349)".<br class=3D"" id=3D"yui_3_16_0_1_1453363150596_4298">=
<br class=3D"" id=3D"yui_3_16_0_1_1453363150596_4300">Could you please let =
me know if there is any change in 1.6.0 which may cause this leak.<br class=
=3D"" id=3D"yui_3_16_0_1_1453363150596_4302">Is there any api behavior that=
 has changed which needs extra error handling now?<br class=3D"" id=3D"yui_=
3_16_0_1_1453363150596_4304">Also if you could point to a way/approach for =
solving this leak, it would be greatly appreciated.<br class=3D"" id=3D"yui=
_3_16_0_1_1453363150596_4306"><br class=3D"" id=3D"yui_3_16_0_1_14533631505=
96_4308">Valgrind trace.<br class=3D"" id=3D"yui_3_16_0_1_1453363150596_431=
0"><br class=3D"" id=3D"yui_3_16_0_1_1453363150596_4312">=3D=3D9718=3D=3D 5=
82,541 (545,440 direct, 37,101 indirect) bytes in 10 blocks are definitely =
lost in loss record 642 of 645<br class=3D"" id=3D"yui_3_16_0_1_14533631505=
96_4314">=3D=3D9718=3D=3D&nbsp;&nbsp;&nbsp; at 0x4A06A2E: malloc (vg_replac=
e_malloc.c:270)<br class=3D"" id=3D"yui_3_16_0_1_1453363150596_4316">=3D=3D=
9718=3D=3D&nbsp;&nbsp;&nbsp; by 0x41A830: libssh2_default_alloc (session.c:=
67)<br class=3D"" id=3D"yui_3_16_0_1_1453363150596_4318">=3D=3D9718=3D=3D&n=
bsp;&nbsp;&nbsp; by 0x41B1CC: libssh2_session_init_ex (session.c:487)<br cl=
ass=3D"" id=3D"yui_3_16_0_1_1453363150596_4320"><br class=3D"" id=3D"yui_3_=
16_0_1_1453363150596_4338"><br class=3D"" id=3D"yui_3_16_0_1_1453363150596_=
4340"><br class=3D"" id=3D"yui_3_16_0_1_1453363150596_4342">=3D=3D9718=3D=
=3D 10,144,824 (106,640 direct, 10,038,184 indirect) bytes in 155 blocks ar=
e definitely lost in loss record 644 of 645<br class=3D"" id=3D"yui_3_16_0_=
1_1453363150596_4344">=3D=3D9718=3D=3D&nbsp;&nbsp;&nbsp; at 0x4A06A2E: mall=
oc (vg_replace_malloc.c:270)<br class=3D"" id=3D"yui_3_16_0_1_1453363150596=
_4346">=3D=3D9718=3D=3D&nbsp;&nbsp;&nbsp; by 0x41A830: libssh2_default_allo=
c (session.c:67)<br class=3D"" id=3D"yui_3_16_0_1_1453363150596_4348">=3D=
=3D9718=3D=3D&nbsp;&nbsp;&nbsp; by 0x4162A5: _libssh2_calloc (misc.c:625)<b=
r class=3D"" id=3D"yui_3_16_0_1_1453363150596_4350">=3D=3D9718=3D=3D&nbsp;&=
nbsp;&nbsp; by 0x40ACFC: _libssh2_channel_open (channel.c:160)<br class=3D"=
" id=3D"yui_3_16_0_1_1453363150596_4352">=3D=3D9718=3D=3D&nbsp;&nbsp;&nbsp;=
 by 0x40B4C4: libssh2_channel_open_ex (channel.c:349)<br class=3D"" id=3D"y=
ui_3_16_0_1_1453363150596_4354"><br></div></div></body></html>
------=_Part_7651633_923355495.1453363379476--

--===============0987000518==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: base64
Content-Disposition: inline

X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KbGlic3NoMi1k
ZXZlbCBodHRwOi8vY29vbC5oYXh4LnNlL2NnaS1iaW4vbWFpbG1hbi9saXN0aW5mby9saWJzc2gy
LWRldmVsCg==

--===============0987000518==--

From libssh2-devel-bounces@cool.haxx.se  Thu Jan 21 09:52:43 2016
Return-Path: <libssh2-devel-bounces@cool.haxx.se>
Received: from www.haxx.se (list@localhost.localdomain [127.0.0.1])
	by giant.haxx.se (8.15.2/8.15.2/Debian-3) with ESMTP id u0L8qYlp003778;
	Thu, 21 Jan 2016 09:52:42 +0100
Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28])
 by giant.haxx.se (8.15.2/8.15.2/Debian-3) with ESMTPS id u0L8qVlu003759
 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT)
 for <libssh2-devel@cool.haxx.se>; Thu, 21 Jan 2016 09:52:33 +0100
Received: from int-mx09.intmail.prod.int.phx2.redhat.com
 (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22])
 by mx1.redhat.com (Postfix) with ESMTPS id AD164A0E64;
 Thu, 21 Jan 2016 08:52:28 +0000 (UTC)
Received: from kdudka.brq.redhat.com (kdudka.brq.redhat.com [10.34.4.67])
 by int-mx09.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id
 u0L8qRx8000909
 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO);
 Thu, 21 Jan 2016 03:52:28 -0500
From: Kamil Dudka <kdudka@redhat.com>
To: suyog jadhav <suyogjadhav@yahoo.com>
Subject: Re: memory leak after upgrade from 1.4.3 to 1.6.0
Date: Thu, 21 Jan 2016 09:52:26 +0100
Message-ID: <2122454.TR4zE5AjOv@kdudka.brq.redhat.com>
User-Agent: KMail/4.14.10 (Linux/4.3.3-300.fc23.x86_64; KDE/4.14.14; x86_64; ;
 )
In-Reply-To: <722978436.7651634.1453363379479.JavaMail.yahoo@mail.yahoo.com>
References: <722978436.7651634.1453363379479.JavaMail.yahoo.ref@mail.yahoo.com>
 <722978436.7651634.1453363379479.JavaMail.yahoo@mail.yahoo.com>
MIME-Version: 1.0
X-Scanned-By: MIMEDefang 2.68 on 10.5.11.22
X-BeenThere: libssh2-devel@cool.haxx.se
X-Mailman-Version: 2.1.20
Precedence: list
List-Id: libssh2 development <libssh2-devel.cool.haxx.se>
List-Unsubscribe: <http://cool.haxx.se/cgi-bin/mailman/options/libssh2-devel>, 
 <mailto:libssh2-devel-request@cool.haxx.se?subject=unsubscribe>
List-Archive: <http://cool.haxx.se/pipermail/libssh2-devel/>
List-Post: <mailto:libssh2-devel@cool.haxx.se>
List-Help: <mailto:libssh2-devel-request@cool.haxx.se?subject=help>
List-Subscribe: <http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel>, 
 <mailto:libssh2-devel-request@cool.haxx.se?subject=subscribe>
Reply-To: libssh2 development <libssh2-devel@cool.haxx.se>
Cc: libssh2-devel@cool.haxx.se
Content-Type: text/plain; charset="utf-8"
Errors-To: libssh2-devel-bounces@cool.haxx.se
Sender: "libssh2-devel" <libssh2-devel-bounces@cool.haxx.se>
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from base64 to 8bit by giant.haxx.se id u0L8qYlp003778

On Thursday 21 January 2016 08:02:59 suyog jadhav wrote:
> Hi
> 
> we have been using libssh2 library in our project for some time. (since 1.2
> release)
> 
> We remotely monitor multiple remote hosts (100+), and do following.
> 
> 1)open session.
> 2)execute commands periodically. (e.g. each minute run iostat,vmstat)
> 
> We were using 1.4.3 version of the library until now and everything was
> working fine.
> 
> Recently we have upgraded library to 1.6.0 and we are seeing memory
> growth/leak in the process. Our code has not changed in the library
> upgrade.
> 
> Our valgrind analysis shows that the leak is in the "libssh2_session_init_ex
> (session.c:487)" and "libssh2_channel_open_ex (channel.c:349)".

In case your code uses the non-blocking mode of libssh2, does it properly 
handle LIBSSH2_ERROR_EAGAIN coming out of libssh2_channel_free() and 
libssh2_session_free()?

Kamil

> Could you please let me know if there is any change in 1.6.0 which may cause
> this leak. Is there any api behavior that has changed which needs extra
> error handling now? Also if you could point to a way/approach for solving
> this leak, it would be greatly appreciated.
> 
> Valgrind trace.
> 
> ==9718== 582,541 (545,440 direct, 37,101 indirect) bytes in 10 blocks are
> definitely lost in loss record 642 of 645 ==9718==    at 0x4A06A2E: malloc
> (vg_replace_malloc.c:270)
> ==9718==    by 0x41A830: libssh2_default_alloc (session.c:67)
> ==9718==    by 0x41B1CC: libssh2_session_init_ex (session.c:487)
> 
> 
> 
> ==9718== 10,144,824 (106,640 direct, 10,038,184 indirect) bytes in 155
> blocks are definitely lost in loss record 644 of 645 ==9718==    at
> 0x4A06A2E: malloc (vg_replace_malloc.c:270)
> ==9718==    by 0x41A830: libssh2_default_alloc (session.c:67)
> ==9718==    by 0x4162A5: _libssh2_calloc (misc.c:625)
> ==9718==    by 0x40ACFC: _libssh2_channel_open (channel.c:160)
> ==9718==    by 0x40B4C4: libssh2_channel_open_ex (channel.c:349)
_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel

From libssh2-devel-bounces@cool.haxx.se  Tue Jan 26 17:02:14 2016
Return-Path: <libssh2-devel-bounces@cool.haxx.se>
Received: from www.haxx.se (list@localhost.localdomain [127.0.0.1])
	by giant.haxx.se (8.15.2/8.15.2/Debian-3) with ESMTP id u0QG1hcw031337;
	Tue, 26 Jan 2016 17:02:09 +0100
Received: from v-smtpgw2.han.skanova.net (v-smtpgw2.han.skanova.net
 [81.236.60.205])
 by giant.haxx.se (8.15.2/8.15.2/Debian-3) with ESMTP id u0QG1fDO031290
 for <libssh2-devel@cool.haxx.se>; Tue, 26 Jan 2016 17:01:41 +0100
Received: from [192.168.20.198] ([81.227.138.114]) by cmsmtp with SMTP
 id O63la5uRa83tHO63laqZvv; Tue, 26 Jan 2016 17:01:37 +0100
To: libssh2 development <libssh2-devel@cool.haxx.se>
From: Lars Nordin <Lars.Nordin@SDlabs.se>
Subject: Problem with random delay in terminal
Message-ID: <56A7985A.6090302@SDlabs.se>
Date: Tue, 26 Jan 2016 17:01:30 +0100
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:44.0) Gecko/20100101
 Thunderbird/44.0
MIME-Version: 1.0
X-CMAE-Envelope: MS4wfE1VjnYZGjqaVUDHI7OngnZKgQar8GX2UJyOaWkneLH7GotbRb0NIENROqudMdndWq0CSFBRW5+nUmzBbkxc3p7yJFHfQx/xVB3+leWFlrMv6d6PPg43
 IcHS+m2/uRBEgnqd5k+13C0W+kXtoiIXSbbrZ5KlZ1Of3ZC2TUMRUHJgYOrOpI75EB9MFJMdy6exzQ==
X-BeenThere: libssh2-devel@cool.haxx.se
X-Mailman-Version: 2.1.20
Precedence: list
List-Id: libssh2 development <libssh2-devel.cool.haxx.se>
List-Unsubscribe: <http://cool.haxx.se/cgi-bin/mailman/options/libssh2-devel>, 
 <mailto:libssh2-devel-request@cool.haxx.se?subject=unsubscribe>
List-Archive: <http://cool.haxx.se/pipermail/libssh2-devel/>
List-Post: <mailto:libssh2-devel@cool.haxx.se>
List-Help: <mailto:libssh2-devel-request@cool.haxx.se?subject=help>
List-Subscribe: <http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel>, 
 <mailto:libssh2-devel-request@cool.haxx.se?subject=subscribe>
Reply-To: libssh2 development <libssh2-devel@cool.haxx.se>
Content-Type: text/plain; charset="utf-8"; Format="flowed"
Errors-To: libssh2-devel-bounces@cool.haxx.se
Sender: "libssh2-devel" <libssh2-devel-bounces@cool.haxx.se>
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from base64 to 8bit by giant.haxx.se id u0QG1hcw031337

I'm using libssh2 for a simple terminal emulator. I'm not using 
local_echo ie. every key pressed is sent to the server and the reply is 
written back on the screen.

The problem is that there is a delay in the respons, ie pressing the 
letter 'a' is viewed in groups of 3-5 characters with a delay between 
the groups of about 0,5s.

I enabled trace but can't find any trace-message about some delays. If a 
record the session in wireshark, I can see the response from the server 
and the delay is when sending the next package. 116 bytes is sent and 52 
is received, with an ACK without data.

For more testing, a just did a libssh2_write (ie. without any keyboard 
read) every 100ms and the delay is still there, every 5th character is 
delayed.

I tested the same SSH-server using SecureCRT and there is no delay. 
Looking at the data on the network the size of the package is 52 bytes 
to and from the server (when just hitting the 'a' key) and without any ACK's

Have I missed any setting? I know local_echo is an option, but if 
SecureCRT can, why not libssh2?

/Lars
src: (inserted in the ssh2.c example code)
     // MyTerminal
     {
         int c;
         unsigned char buf[256];
          u_long flags = 1;

         ioctlsocket(sock, FIONBIO, &flags);
         libssh2_session_set_blocking(session, 0);
         libssh2_channel_set_blocking(channel, 0);

         libssh2_trace(session, LIBSSH2_TRACE_SOCKET | LIBSSH2_TRACE_TRANS);

         c = 0;
         while (!libssh2_channel_eof(channel)) {
             memset(buf, 0, sizeof(buf));

             if ( c == 'a' ||_kbhit()) {
                 if (c == 'a') Sleep(100); else
                     c = _getch();

                 if (c == 0) c = _getch();
                 buf[0] = c;
                 buf[1] = 0;
                 do {
                     rc = libssh2_channel_write(channel, buf, strlen(buf));
                 } while (rc == LIBSSH2_ERROR_EAGAIN);

                 // libssh2_channel_flush(channel);
             }

             // rc = libssh2_channel_flush(channel);
             rc = libssh2_channel_read(channel, buf, sizeof(buf)-1);
             if (rc > 0) {
                 printf(buf);
             }

         }
     }
     // ------------------------- MyTerminal

Trace:
Fingerprint: 19 19 30 8E AB E9 A3 5D D5 DB E5 32 44 87 73 77 61 72 C9 07
Authentication methods: publickey
     Authentication by public key succeeded.
[libssh2] 0.999234 Socket: Recved 100/16384 bytes to 00319120+0
=> libssh2_transport_read() raw (100 bytes)
0000: 54 C7 A1 74 6D E0 C4 60  92 65 DB FA 16 71 81 FC : T..tm..`.e...q..
0010: 77 39 D6 FB A5 5D 31 28  24 8B F5 52 08 2D 83 86 : w9...]1($..R.-..
0020: 89 D6 9A 38 0B C0 61 E4  F0 F5 7E FC 12 E2 C1 34 : ...8..a...~....4
0030: D9 10 48 3E B4 A5 E3 5E  FB DC BC EB BD BA 25 AC : ..H>...^......%.
0040: F8 3C 13 46 DB 72 BA 80  1B 90 79 D4 42 31 2F EE : .<.F.r....y.B1/.
0050: C7 12 61 79 73 52 BB FB  78 AE 64 0C CF 3A CE 43 : ..aysR..x.d..:.C
0060: E8 36 61 28                                      : .6a(
=> libssh2_transport_read() plain (68 bytes)
0000: 5E 00 00 00 00 00 00 00  3B 4C 61 73 74 20 6C 6F : ^.......;Last lo
0010: 67 69 6E 3A 20 54 75 65  20 4A 61 6E 20 32 36 20 : gin: Tue Jan 26
0020: 31 35 3A 33 38 3A 33 31  20 32 30 31 36 20 66 72 : 15:38:31 2016 fr
0030: 6F 6D 20 31 39 32 2E 31  36 38 2E 32 30 2E 31 39 : om 192.168.20.19
0040: 38 0D 0D 0A                                      : 8...
[libssh2] 0.999234 Transport: Packet type 94 received, length=68
[libssh2] 1.042237 Socket: Recved 68/16384 bytes to 00319120+0
=> libssh2_transport_read() raw (68 bytes)
0000: 17 A3 C1 7A FC 4C 20 FF  14 52 3C 32 16 0C 62 6D : ...z.L ..R<2..bm
0010: 28 CC 97 08 7C 48 FD 71  13 48 7D C5 6A 58 81 37 : (...|H.q.H}.jX.7
0020: CB BC 7B 20 3D EE 48 96  AC C1 7E F1 F5 D0 9D 65 : ..{ =.H...~....e
0030: 4D 71 FB F0 BE 2A 95 C0  45 DA 93 4B B3 37 13 43 : Mq...*..E..K.7.C
0040: DB 57 F3 6B                                      : .W.k
=> libssh2_transport_read() plain (29 bytes)
0000: 5E 00 00 00 00 00 00 00  14 5B 6C 61 6E 6F 40 6C : ^........[lano@l
0010: 6F 63 61 6C 68 6F 73 74  20 7E 5D 24 20          : ocalhost ~]$
[libssh2] 1.042237 Transport: Packet type 94 received, length=29
=> libssh2_transport_write plain (9 bytes)
0000: 5E 00 00 00 00 00 00 00  01                      : ^........
=> libssh2_transport_write plain2 (1 bytes)
0000: 61                                               : a
[libssh2] 1.676273 Socket: Sent 116/116 bytes at 0031D148
=> libssh2_transport_write send() (116 bytes)
0000: B5 32 EA 56 CE B7 38 89  6E F8 C4 49 75 77 1A 35 : .2.V..8.n..Iuw.5
0010: 71 DF FC 80 2F BC FC 0A  4B A2 EC 91 26 C6 15 BC : q.../...K...&...
0020: 7B B5 05 03 C6 62 A0 10  3A 61 1E 7D 7E 16 18 2D : {....b..:a.}~..-
0030: 0D 4A 76 1A D9 DD F7 39  D0 97 41 63 F0 88 3F 6A : .Jv....9..Ac..?j
0040: EF 28 86 3D C2 92 B3 D1  41 B6 CF EF 1A 92 45 38 : .(.=....A.....E8
0050: 5F 36 B7 E0 BC 5B F7 43  94 59 79 85 CB B4 2F C1 : _6...[.C.Yy.../.
0060: 69 8C 82 A1 E9 42 4F 85  C1 3D 4A 0D 91 BE 86 A2 : i....BO..=J.....
0070: 61 04 17 3E                                      : a..>
[libssh2] 1.677273 Socket: Recved 52/16384 bytes to 00319120+0
=> libssh2_transport_read() raw (52 bytes)
0000: 95 35 93 9E 45 E0 7A BD  1B 15 96 78 3F 55 5F 8C : .5..E.z....x?U_.
0010: FE 06 FA 4D B6 16 67 79  5A 97 C4 73 27 FB A0 F0 : ...M..gyZ..s'...
0020: 5C 40 EE 4E 85 94 18 F0  6B 82 D1 6E 95 C4 61 84 : \@.N....k..n..a.
0030: 86 C7 9D 5E                                      : ...^
=> libssh2_transport_read() plain (10 bytes)
0000: 5E 00 00 00 00 00 00 00  01 61                   : ^........a
[libssh2] 1.677273 Transport: Packet type 94 received, length=10
=> libssh2_transport_write plain (9 bytes)
0000: 5E 00 00 00 00 00 00 00  01                      : ^........
=> libssh2_transport_write plain2 (1 bytes)
0000: 61                                               : a
[libssh2] 2.333311 Socket: Sent 116/116 bytes at 0031D148
=> libssh2_transport_write send() (116 bytes)
0000: E7 A4 AB 3B 35 CE BD 4B  60 51 07 64 D5 01 5A B8 : ...;5..K`Q.d..Z.
0010: 06 F5 99 C6 1F D0 27 F0  9C 76 26 8C EA 63 B9 26 : ......'..v&..c.&
0020: 29 D3 59 7B 2F 5F 86 20  8C F8 12 7B 26 6B C6 47 : ).Y{/_. ...{&k.G
0030: 7E EB 8E C9 F9 BA 64 B8  44 23 7D D7 8F F7 A8 6C : ~.....d.D#}....l
0040: 6A 37 8D 9E 9E E5 AD 51  86 AE C5 CD B4 2F A6 6D : j7.....Q...../.m
0050: E7 57 93 C3 CB 11 7D FE  86 31 94 F3 F8 53 58 A9 : .W....}..1...SX.
0060: DF DA 71 37 F8 86 B4 45  AE B7 55 4F 75 3E 0A 12 : ..q7...E..UOu>..
0070: 10 C0 DA F5                                      : ....
=> libssh2_transport_write plain (9 bytes)
0000: 5E 00 00 00 00 00 00 00  01                      : ^........
=> libssh2_transport_write plain2 (1 bytes)
0000: 61                                               : a
[libssh2] 2.333311 Socket: Sent 116/116 bytes at 0031D148
=> libssh2_transport_write send() (116 bytes)
0000: 7B E2 6F 07 D2 72 B5 B0  63 F5 87 C8 19 D7 98 44 : {.o..r..c......D
0010: 0F A3 C6 BE 08 E7 76 DC  8D 7C 35 AF 0D 7F A7 D0 : ......v..|5.....
0020: 97 C0 74 39 1E F6 ED 97  5E 73 3C 35 0C E1 3D D6 : ..t9....^s<5..=.
0030: 61 54 99 A7 6C C6 BE F5  5E 16 F6 AB AA BE E7 60 : aT..l...^......`
0040: 79 19 24 EA 82 DF 74 F5  31 B5 18 4F DF 87 6F F4 : y.$...t.1..O..o.
0050: 0C C5 E3 64 2E 01 B4 42  6B D9 35 0E CF 10 E7 EF : ...d...Bk.5.....
0060: 82 72 CC 7C AB 9A 02 1E  83 29 0B C1 C4 53 26 12 : .r.|.....)...S&.
0070: D3 AA CA 26                                      : ...&
[libssh2] 2.335311 Socket: Recved 52/16384 bytes to 00319120+0
=> libssh2_transport_read() raw (52 bytes)
0000: 3A C4 C7 34 D8 E0 94 AF  04 8E EB B1 1A AC 61 CE : :..4..........a.
0010: FE BD E6 0B 81 6C 0C 0F  E4 25 08 40 90 15 7F B1 : .....l...%.@....
0020: 6F 96 9A 4E AA 61 F2 80  D6 1D 3C 04 44 B0 EE 1B : o..N.a....<.D...
0030: 9A D4 C6 ED                                      : ....
=> libssh2_transport_read() plain (10 bytes)
0000: 5E 00 00 00 00 00 00 00  01 61                   : ^........a
[libssh2] 2.335311 Transport: Packet type 94 received, length=10
[libssh2] 2.336311 Socket: Recved 52/16384 bytes to 00319120+0
=> libssh2_transport_read() raw (52 bytes)
0000: 3A 72 EA 77 82 81 D7 B4  3D 82 A3 D9 DE 9D B8 59 : :r.w....=......Y
0010: CE 2B FA 21 32 97 B2 6E  85 D0 8B 9E B1 59 D2 66 : .+.!2..n.....Y.f
0020: 5E 81 93 72 7F 73 66 CD  C3 79 C0 86 5C 4E 35 F2 : ^..r.sf..y..\N5.
0030: CF 0E 23 33                                      : ..#3
=> libssh2_transport_read() plain (10 bytes)
0000: 5E 00 00 00 00 00 00 00  01 61                   : ^........a
[libssh2] 2.337311 Transport: Packet type 94 received, length=10
=> libssh2_transport_write plain (9 bytes)
0000: 5E 00 00 00 00 00 00 00  01                      : ^........
=> libssh2_transport_write plain2 (1 bytes)
0000: 61                                               : a
[libssh2] 2.341311 Socket: Sent 116/116 bytes at 0031D148
=> libssh2_transport_write send() (116 bytes)
0000: EC 3E A7 A9 90 C1 19 49  8E C2 23 E9 58 12 CE B8 : .>.....I..#.X...
0010: BF AE 41 B5 F0 34 CA ED  55 CF 12 44 19 92 3D 65 : ..A..4..U..D..=e
0020: 7E 0E F6 A2 14 1B 3B 1B  A6 03 E7 04 DC 6E 3E DB : ~.....;......n>.
0030: D6 3B 7C 60 AE 57 9E EA  88 72 7E 52 0F 1D 4C 9F : .;|`.W...r~R..L.
0040: 9E 34 0F 91 7F F2 B9 8A  F8 0D 43 67 2E EF C1 BA : .4........Cg....
0050: F2 14 D3 B8 37 B2 D0 84  7B 71 EA BB CA 92 62 06 : ....7...{q....b.
0060: 1B C6 1B B1 DD 70 94 43  03 C4 40 F9 87 9A BB 05 : .....p.C..@.....
0070: 18 CD DB 8F                                      : ....
[libssh2] 2.342311 Socket: Recved 52/16384 bytes to 00319120+0
=> libssh2_transport_read() raw (52 bytes)
0000: BB BB 07 27 11 38 B0 D9  53 B8 44 64 1F 43 72 2D : ...'.8..S.Dd.Cr-
0010: 2A 1A D5 6D 5F B0 02 AD  4A 9D 49 7F 97 13 5B 6A : *..m_...J.I...[j
0020: A8 76 D5 9E E6 48 D1 46  0F 53 A1 05 1C 97 AD BC : .v...H.F.S......
0030: 2C 0A 97 C6                                      : ,...
=> libssh2_transport_read() plain (10 bytes)
0000: 5E 00 00 00 00 00 00 00  01 61                   : ^........a
[libssh2] 2.343311 Transport: Packet type 94 received, length=10
=> libssh2_transport_write plain (9 bytes)
0000: 5E 00 00 00 00 00 00 00  01                      : ^........
=> libssh2_transport_write plain2 (1 bytes)
0000: 61                                               : a
[libssh2] 2.374313 Socket: Sent 116/116 bytes at 0031D148
=> libssh2_transport_write send() (116 bytes)
0000: 36 A2 03 4E C9 8E B6 BD  6A A8 7D F5 BC CE E1 4F : 6..N....j.}....O
0010: 29 78 3E 5B F0 B7 1F 80  FD 74 0F 33 06 85 91 BD : )x>[.....t.3....
0020: 07 8A D3 CB ED E9 39 3D  86 32 42 EF 1F 59 D4 30 : ......9=.2B..Y.0
0030: 48 0A FF 57 2B 9C 80 FB  60 76 98 2C E1 0E 9B FA : H..W+...`v.,....
0040: C3 66 35 CD 68 92 F6 02  95 B9 2E EE 8A 0A 56 AD : .f5.h.........V.
0050: 26 3B 8D C1 D4 47 AE 44  9C 56 1D D6 34 F5 08 CD : &;...G.D.V..4...
0060: 03 A1 BB 4A CA BB CD 30  74 DB 5D 81 E5 0D E1 F5 : ...J...0t.].....
0070: A7 B4 BD 71                                      : ...q
[libssh2] 2.375313 Socket: Recved 52/16384 bytes to 00319120+0
=> libssh2_transport_read() raw (52 bytes)
0000: CD 79 5C 41 32 B1 DB 6C  C4 F8 57 EE BA 2D B1 89 : .y\A2..l..W..-..
0010: 17 A8 B6 C8 21 09 61 D5  DF 21 19 17 2F 1E 03 FE : ....!.a..!../...
0020: 1E FF 37 D1 DD F0 BD C0  2F DA 02 69 4C 2D 2A 38 : ..7...../..iL-*8
0030: 70 AA 3B 19                                      : p.;.
=> libssh2_transport_read() plain (10 bytes)
0000: 5E 00 00 00 00 00 00 00  01 61                   : ^........a
[libssh2] 2.375313 Transport: Packet type 94 received, length=10
=> libssh2_transport_write plain (9 bytes)
0000: 5E 00 00 00 00 00 00 00  01                      : ^........
=> libssh2_transport_write plain2 (1 bytes)
0000: 61                                               : a
[libssh2] 2.407315 Socket: Sent 116/116 bytes at 0031D148
=> libssh2_transport_write send() (116 bytes)
0000: ED CB 88 B6 1F 98 FC 95  87 67 4E A2 0C 14 3D DA : .........gN...=.
0010: E0 2C 95 59 98 ED 5D D4  42 E1 01 5B CF B6 26 70 : .,.Y..].B..[..&p
0020: D5 16 62 9A 7B 50 75 DD  4A A0 77 07 74 43 FE 57 : ..b.{Pu.J.w.tC.W
0030: 07 9C FD DF 98 66 DB 1E  8C 04 10 B7 84 16 7E E6 : .....f........~.
0040: 9B BF F5 B6 B3 C3 0B A1  B7 E4 81 BE FE FB 84 0E : ................
0050: 70 6C 1C 79 4A B9 02 B5  B8 7A 69 D9 40 CD D3 F6 : pl.yJ....zi.@...
0060: 85 DA 76 11 77 40 8A 1D  69 4B D2 EA 68 4F 47 FA : ..v.w@..iK..hOG.
0070: 3F 8B 17 FE                                      : ?...

_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel

From libssh2-devel-bounces@cool.haxx.se  Tue Jan 26 20:37:39 2016
Return-Path: <libssh2-devel-bounces@cool.haxx.se>
Received: from www.haxx.se (list@localhost.localdomain [127.0.0.1])
	by giant.haxx.se (8.15.2/8.15.2/Debian-3) with ESMTP id u0QJbH1L031005;
	Tue, 26 Jan 2016 20:37:36 +0100
Received: from giant.haxx.se (dast@localhost.localdomain [127.0.0.1])
 by giant.haxx.se (8.15.2/8.15.2/Debian-3) with ESMTPS id u0QJbFpw030881
 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT)
 for <libssh2-devel@cool.haxx.se>; Tue, 26 Jan 2016 20:37:15 +0100
Received: from localhost (dast@localhost)
 by giant.haxx.se (8.15.2/8.15.2/Submit) with ESMTP id u0QJbFtL030877
 for <libssh2-devel@cool.haxx.se>; Tue, 26 Jan 2016 20:37:15 +0100
X-Authentication-Warning: giant.haxx.se: dast owned process doing -bs
Date: Tue, 26 Jan 2016 20:37:15 +0100 (CET)
From: Daniel Stenberg <daniel@haxx.se>
X-X-Sender: dast@giant.haxx.se
To: libssh2 development <libssh2-devel@cool.haxx.se>
Subject: Re: Problem with random delay in terminal
In-Reply-To: <56A7985A.6090302@SDlabs.se>
Message-ID: <alpine.DEB.2.20.1601262035560.7206@tvnag.unkk.fr>
References: <56A7985A.6090302@SDlabs.se>
User-Agent: Alpine 2.20 (DEB 67 2015-01-07)
X-fromdanielhimself: yes
MIME-Version: 1.0
X-BeenThere: libssh2-devel@cool.haxx.se
X-Mailman-Version: 2.1.20
Precedence: list
List-Id: libssh2 development <libssh2-devel.cool.haxx.se>
List-Unsubscribe: <http://cool.haxx.se/cgi-bin/mailman/options/libssh2-devel>, 
 <mailto:libssh2-devel-request@cool.haxx.se?subject=unsubscribe>
List-Archive: <http://cool.haxx.se/pipermail/libssh2-devel/>
List-Post: <mailto:libssh2-devel@cool.haxx.se>
List-Help: <mailto:libssh2-devel-request@cool.haxx.se?subject=help>
List-Subscribe: <http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel>, 
 <mailto:libssh2-devel-request@cool.haxx.se?subject=subscribe>
Reply-To: libssh2 development <libssh2-devel@cool.haxx.se>
Content-Type: text/plain; charset="utf-8"; Format="flowed"
Errors-To: libssh2-devel-bounces@cool.haxx.se
Sender: "libssh2-devel" <libssh2-devel-bounces@cool.haxx.se>
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from base64 to 8bit by giant.haxx.se id u0QJbH1L031005

On Tue, 26 Jan 2016, Lars Nordin wrote:

> Have I missed any setting? I know local_echo is an option, but if SecureCRT 
> can, why not libssh2?

Could it be as easy as setsockopt(... TCP_NODELAY ...) ?
_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel

From libssh2-devel-bounces@cool.haxx.se  Tue Jan 26 21:40:53 2016
Return-Path: <libssh2-devel-bounces@cool.haxx.se>
Received: from www.haxx.se (list@localhost.localdomain [127.0.0.1])
	by giant.haxx.se (8.15.2/8.15.2/Debian-3) with ESMTP id u0QKecjX020593;
	Tue, 26 Jan 2016 21:40:51 +0100
Received: from v-smtpgw1.han.skanova.net (v-smtpgw1.han.skanova.net
 [81.236.60.204])
 by giant.haxx.se (8.15.2/8.15.2/Debian-3) with ESMTP id u0QKeb1m020509
 for <libssh2-devel@cool.haxx.se>; Tue, 26 Jan 2016 21:40:38 +0100
Received: from [192.168.20.198] ([81.227.138.114]) by cmsmtp with SMTP
 id OAPhaPP78oYDNOAPhaTfBN; Tue, 26 Jan 2016 21:40:33 +0100
Subject: Re: Problem with random delay in terminal
To: libssh2-devel@cool.haxx.se
References: <56A7985A.6090302@SDlabs.se>
 <alpine.DEB.2.20.1601262035560.7206@tvnag.unkk.fr>
From: Lars Nordin <Lars.Nordin@SDlabs.se>
Message-ID: <56A7D9BA.7070601@SDlabs.se>
Date: Tue, 26 Jan 2016 21:40:26 +0100
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:44.0) Gecko/20100101
 Thunderbird/44.0
MIME-Version: 1.0
In-Reply-To: <alpine.DEB.2.20.1601262035560.7206@tvnag.unkk.fr>
X-CMAE-Envelope: MS4wfKoYWmZBGBeL7FZuCuMqfhQ5srOwII8bdNYiTZBm2lCXgZdOMXCbRdatbg0BJv7U4UTE3U+/g7SCZPT23OLVBUWoNX8pPRN8A4fqDccdr6J0AopdcLMg
 P8ujnBXedwKICrX9/7uw6P/UNyBb+ebqG3boV7sYYa86Oq1vTIbEBmp/zphrTwAuDlpHlimvi1szbw==
X-BeenThere: libssh2-devel@cool.haxx.se
X-Mailman-Version: 2.1.20
Precedence: list
List-Id: libssh2 development <libssh2-devel.cool.haxx.se>
List-Unsubscribe: <http://cool.haxx.se/cgi-bin/mailman/options/libssh2-devel>, 
 <mailto:libssh2-devel-request@cool.haxx.se?subject=unsubscribe>
List-Archive: <http://cool.haxx.se/pipermail/libssh2-devel/>
List-Post: <mailto:libssh2-devel@cool.haxx.se>
List-Help: <mailto:libssh2-devel-request@cool.haxx.se?subject=help>
List-Subscribe: <http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel>, 
 <mailto:libssh2-devel-request@cool.haxx.se?subject=subscribe>
Reply-To: libssh2 development <libssh2-devel@cool.haxx.se>
Content-Type: text/plain; charset="utf-8"; Format="flowed"
Errors-To: libssh2-devel-bounces@cool.haxx.se
Sender: "libssh2-devel" <libssh2-devel-bounces@cool.haxx.se>
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from base64 to 8bit by giant.haxx.se id u0QKecjX020593

On 2016-01-26 20:37, Daniel Stenberg wrote:
> On Tue, 26 Jan 2016, Lars Nordin wrote:
>
>> Have I missed any setting? I know local_echo is an option, but if 
>> SecureCRT can, why not libssh2?
>
> Could it be as easy as setsockopt(... TCP_NODELAY ...) ?
> _______________________________________________
> libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
I added the line, but no change...I'm on Windows and tried both the 
ioctlsocket(... FIONBIO  ... and now the  setsockopt(... TCP_NODELAY ...)
         u_long flags = 1;

         //ioctlsocket(sock, FIONBIO, &flags); // tried both with and 
without
         setsockopt(sock, IPPROTO_TCP, TCP_NODELAY, (char *) &flags, 
sizeof (u_long));

Using my automatic character-sender I discovered a pattern, the ACK is 
sent after 14 packetets, ie 7 characters sent and received. The delay is 
100ms (as programmed) between each sent characters  (with a reply in 
less then 10ms) until the ACK , the ACK is sent efter 200ms delay and 
then the next character after 100ms more. Summary 200ms of extra delay 
each 7 characters sent.

/Lars
_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel

From libssh2-devel-bounces@cool.haxx.se  Tue Jan 26 22:39:34 2016
Return-Path: <libssh2-devel-bounces@cool.haxx.se>
Received: from www.haxx.se (list@localhost.localdomain [127.0.0.1])
	by giant.haxx.se (8.15.2/8.15.2/Debian-3) with ESMTP id u0QLdOBg032335;
	Tue, 26 Jan 2016 22:39:33 +0100
Received: from v-smtpgw1.han.skanova.net (v-smtpgw1.han.skanova.net
 [81.236.60.204])
 by giant.haxx.se (8.15.2/8.15.2/Debian-3) with ESMTP id u0QLdNML029228
 for <libssh2-devel@cool.haxx.se>; Tue, 26 Jan 2016 22:39:23 +0100
Received: from [192.168.20.198] ([81.227.138.114]) by cmsmtp with SMTP
 id OBKZaPyb9oYDNOBKZaTgnz; Tue, 26 Jan 2016 22:39:19 +0100
Subject: Re: Problem with random delay in terminal
To: libssh2-devel@cool.haxx.se
References: <56A7985A.6090302@SDlabs.se>
 <alpine.DEB.2.20.1601262035560.7206@tvnag.unkk.fr>
 <56A7D9BA.7070601@SDlabs.se>
From: Lars Nordin <Lars.Nordin@SDlabs.se>
Message-ID: <56A7E780.8010804@SDlabs.se>
Date: Tue, 26 Jan 2016 22:39:12 +0100
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:44.0) Gecko/20100101
 Thunderbird/44.0
MIME-Version: 1.0
In-Reply-To: <56A7D9BA.7070601@SDlabs.se>
X-CMAE-Envelope: MS4wfML1uC2kTpx2n7n7ldDof8aior2zZJuPMG5A2ArQ0ke+biMtA/4gKersLGNyS7vrkV6cymMvWfVXBNhi93YDYsN5KryeGQ00WdT9uDveKX8tdYue5CDF
 rRIpiSGXOYpVzeFy4YYtGO+bNRiZzLgtw9lwMDN2RQ1NZwlv4UTMmxcx1M/GGzeENw4KJKYagbQ3ew==
X-BeenThere: libssh2-devel@cool.haxx.se
X-Mailman-Version: 2.1.20
Precedence: list
List-Id: libssh2 development <libssh2-devel.cool.haxx.se>
List-Unsubscribe: <http://cool.haxx.se/cgi-bin/mailman/options/libssh2-devel>, 
 <mailto:libssh2-devel-request@cool.haxx.se?subject=unsubscribe>
List-Archive: <http://cool.haxx.se/pipermail/libssh2-devel/>
List-Post: <mailto:libssh2-devel@cool.haxx.se>
List-Help: <mailto:libssh2-devel-request@cool.haxx.se?subject=help>
List-Subscribe: <http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel>, 
 <mailto:libssh2-devel-request@cool.haxx.se?subject=subscribe>
Reply-To: libssh2 development <libssh2-devel@cool.haxx.se>
Content-Type: text/plain; charset="utf-8"; Format="flowed"
Errors-To: libssh2-devel-bounces@cool.haxx.se
Sender: "libssh2-devel" <libssh2-devel-bounces@cool.haxx.se>
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from base64 to 8bit by giant.haxx.se id u0QLdOBg032335

On 2016-01-26 21:40, Lars Nordin wrote:
> On 2016-01-26 20:37, Daniel Stenberg wrote:
>> On Tue, 26 Jan 2016, Lars Nordin wrote:
>>
>>> Have I missed any setting? I know local_echo is an option, but if 
>>> SecureCRT can, why not libssh2?
>>
>> Could it be as easy as setsockopt(... TCP_NODELAY ...) ?
>> _______________________________________________
>> libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
> I added the line, but no change...I'm on Windows and tried both the 
> ioctlsocket(... FIONBIO  ... and now the  setsockopt(... TCP_NODELAY ...)
>         u_long flags = 1;
>
>         //ioctlsocket(sock, FIONBIO, &flags); // tried both with and 
> without
>         setsockopt(sock, IPPROTO_TCP, TCP_NODELAY, (char *) &flags, 
> sizeof (u_long));
>
> Using my automatic character-sender I discovered a pattern, the ACK is 
> sent after 14 packetets, ie 7 characters sent and received. The delay 
> is 100ms (as programmed) between each sent characters (with a reply in 
> less then 10ms) until the ACK , the ACK is sent efter 200ms delay and 
> then the next character after 100ms more. Summary 200ms of extra delay 
> each 7 characters sent.
>
> /Lars
> _______________________________________________
> libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
I added code to print the clock() before and after the call to libssh2 
and discovered that it's the libssh2_write() function that sometime 
takes extre time to complete:
write<: clock (ms) = 2042
write>: clock (ms) = 2042
read <: clock (ms) = 2042
read >: clock (ms) = 2042
write<: clock (ms) = 2143
write>: clock (ms) = 2143
read <: clock (ms) = 2143
read >: clock (ms) = 2143
write<: clock (ms) = 2243
write>: clock (ms) = 2448

Above explained, the 'write <' is before the call to write and 'write >' 
is after the call. I have a 100ms delay between each write() and the 
function is not using any time until the last one . Checking all of the 
output it's repeated each 7 write.

I dig inte the libssh2_write() tomorrow!

/Lars
_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel

From libssh2-devel-bounces@cool.haxx.se  Tue Jan 26 23:33:11 2016
Return-Path: <libssh2-devel-bounces@cool.haxx.se>
Received: from www.haxx.se (list@localhost.localdomain [127.0.0.1])
	by giant.haxx.se (8.15.2/8.15.2/Debian-3) with ESMTP id u0QMWvcK019044;
	Tue, 26 Jan 2016 23:33:08 +0100
Received: from v-smtpgw1.han.skanova.net (v-smtpgw1.han.skanova.net
 [81.236.60.204])
 by giant.haxx.se (8.15.2/8.15.2/Debian-3) with ESMTP id u0QMWub9018826
 for <libssh2-devel@cool.haxx.se>; Tue, 26 Jan 2016 23:32:56 +0100
Received: from [192.168.20.198] ([81.227.138.114]) by cmsmtp with SMTP
 id OCAOaQYCAoYDNOCAOaTi83; Tue, 26 Jan 2016 23:32:52 +0100
Subject: Solved! Not a libssh2 problem (was Re: Problem with random delay in
 terminal)
To: libssh2-devel@cool.haxx.se
References: <56A7985A.6090302@SDlabs.se>
 <alpine.DEB.2.20.1601262035560.7206@tvnag.unkk.fr>
 <56A7D9BA.7070601@SDlabs.se> <56A7E780.8010804@SDlabs.se>
From: Lars Nordin <Lars.Nordin@SDlabs.se>
Message-ID: <56A7F40D.309@SDlabs.se>
Date: Tue, 26 Jan 2016 23:32:45 +0100
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:44.0) Gecko/20100101
 Thunderbird/44.0
MIME-Version: 1.0
In-Reply-To: <56A7E780.8010804@SDlabs.se>
X-CMAE-Envelope: MS4wfKjgJMtK6uKH0irKP++sAEQGHYM2ZM/tKUJcykx4EVSe/u3573YqiUR64o8Z7vOyardVfJTidbIADgLOtJ8tfZYa3mmHu76qRicZLUxjeUMlNjnIPOp3
 ZuvcbNkXAY3u8BIjL5dlJObbsAjcdPP4vzL6cODqoaEPdCQqiBZOWm9J/w4uqh/dFBebi1ZeINYo9g==
X-BeenThere: libssh2-devel@cool.haxx.se
X-Mailman-Version: 2.1.20
Precedence: list
List-Id: libssh2 development <libssh2-devel.cool.haxx.se>
List-Unsubscribe: <http://cool.haxx.se/cgi-bin/mailman/options/libssh2-devel>, 
 <mailto:libssh2-devel-request@cool.haxx.se?subject=unsubscribe>
List-Archive: <http://cool.haxx.se/pipermail/libssh2-devel/>
List-Post: <mailto:libssh2-devel@cool.haxx.se>
List-Help: <mailto:libssh2-devel-request@cool.haxx.se?subject=help>
List-Subscribe: <http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel>, 
 <mailto:libssh2-devel-request@cool.haxx.se?subject=subscribe>
Reply-To: libssh2 development <libssh2-devel@cool.haxx.se>
Content-Type: text/plain; charset="utf-8"; Format="flowed"
Errors-To: libssh2-devel-bounces@cool.haxx.se
Sender: "libssh2-devel" <libssh2-devel-bounces@cool.haxx.se>
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from base64 to 8bit by giant.haxx.se id u0QMWvcK019044

On 2016-01-26 22:39, Lars Nordin wrote:
> On 2016-01-26 21:40, Lars Nordin wrote:
>> On 2016-01-26 20:37, Daniel Stenberg wrote:
>>> On Tue, 26 Jan 2016, Lars Nordin wrote:
>>>
>>>> Have I missed any setting? I know local_echo is an option, but if 
>>>> SecureCRT can, why not libssh2?
>>>
>>> Could it be as easy as setsockopt(... TCP_NODELAY ...) ?
>>> _______________________________________________
>>> libssh2-devel 
>>> http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
>> I added the line, but no change...I'm on Windows and tried both the 
>> ioctlsocket(... FIONBIO  ... and now the  setsockopt(... TCP_NODELAY 
>> ...)
>>         u_long flags = 1;
>>
>>         //ioctlsocket(sock, FIONBIO, &flags); // tried both with and 
>> without
>>         setsockopt(sock, IPPROTO_TCP, TCP_NODELAY, (char *) &flags, 
>> sizeof (u_long));
>>
>> Using my automatic character-sender I discovered a pattern, the ACK 
>> is sent after 14 packetets, ie 7 characters sent and received. The 
>> delay is 100ms (as programmed) between each sent characters (with a 
>> reply in less then 10ms) until the ACK , the ACK is sent efter 200ms 
>> delay and then the next character after 100ms more. Summary 200ms of 
>> extra delay each 7 characters sent.
>>
>> /Lars
>> _______________________________________________
>> libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
> I added code to print the clock() before and after the call to libssh2 
> and discovered that it's the libssh2_write() function that sometime 
> takes extre time to complete:
> write<: clock (ms) = 2042
> write>: clock (ms) = 2042
> read <: clock (ms) = 2042
> read >: clock (ms) = 2042
> write<: clock (ms) = 2143
> write>: clock (ms) = 2143
> read <: clock (ms) = 2143
> read >: clock (ms) = 2143
> write<: clock (ms) = 2243
> write>: clock (ms) = 2448
>
> Above explained, the 'write <' is before the call to write and 'write 
> >' is after the call. I have a 100ms delay between each write() and 
> the function is not using any time until the last one . Checking all 
> of the output it's repeated each 7 write.
>
> I dig inte the libssh2_write() tomorrow!
>
> /Lars
>
I started timing functions inside libssh_channel_write and found the 
cause of the delays, the RAND_bytes() function in the special 
openssl-library I'm using creates the delay. I find a solution tomorrow 
and maybe I propose a fix to the libssh2, I think the problem is that my 
special openssl requires seed:ing the random generater and that is not 
done in libssh2.

/Lars

_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel

From libssh2-devel-bounces@cool.haxx.se  Tue Jan 26 23:47:04 2016
Return-Path: <libssh2-devel-bounces@cool.haxx.se>
Received: from www.haxx.se (list@localhost.localdomain [127.0.0.1])
	by giant.haxx.se (8.15.2/8.15.2/Debian-3) with ESMTP id u0QMkseP002607;
	Tue, 26 Jan 2016 23:47:03 +0100
Received: from foo.stuge.se (qmailr@foo.stuge.se [212.116.89.98])
 by giant.haxx.se (8.15.2/8.15.2/Debian-3) with ESMTPS id u0QMkqCa002589
 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT)
 for <libssh2-devel@cool.haxx.se>; Tue, 26 Jan 2016 23:46:52 +0100
Received: (qmail 2565 invoked by uid 501); 26 Jan 2016 22:46:53 -0000
Message-ID: <20160126224653.2564.qmail@stuge.se>
Date: Tue, 26 Jan 2016 23:46:53 +0100
From: Peter Stuge <peter@stuge.se>
To: libssh2-devel@cool.haxx.se
Subject: Re: Solved! Not a libssh2 problem (was Re: Problem with random
 delay in terminal)
Mail-Followup-To: libssh2-devel@cool.haxx.se
References: <56A7985A.6090302@SDlabs.se>
 <alpine.DEB.2.20.1601262035560.7206@tvnag.unkk.fr>
 <56A7D9BA.7070601@SDlabs.se> <56A7E780.8010804@SDlabs.se>
 <56A7F40D.309@SDlabs.se>
MIME-Version: 1.0
Content-Disposition: inline
In-Reply-To: <56A7F40D.309@SDlabs.se>
X-BeenThere: libssh2-devel@cool.haxx.se
X-Mailman-Version: 2.1.20
Precedence: list
List-Id: libssh2 development <libssh2-devel.cool.haxx.se>
List-Unsubscribe: <http://cool.haxx.se/cgi-bin/mailman/options/libssh2-devel>, 
 <mailto:libssh2-devel-request@cool.haxx.se?subject=unsubscribe>
List-Archive: <http://cool.haxx.se/pipermail/libssh2-devel/>
List-Post: <mailto:libssh2-devel@cool.haxx.se>
List-Help: <mailto:libssh2-devel-request@cool.haxx.se?subject=help>
List-Subscribe: <http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel>, 
 <mailto:libssh2-devel-request@cool.haxx.se?subject=subscribe>
Reply-To: libssh2 development <libssh2-devel@cool.haxx.se>
Content-Type: text/plain; charset="utf-8"
Errors-To: libssh2-devel-bounces@cool.haxx.se
Sender: "libssh2-devel" <libssh2-devel-bounces@cool.haxx.se>
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from base64 to 8bit by giant.haxx.se id u0QMkseP002607

Lars Nordin wrote:
> I think the problem is that my special openssl requires
> seed:ing the random generater and that is not done in libssh2.

Hm, do you need to do that yourself before initializing a libssh2
session?


//Peter
_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel

