On Wednesday, 27 June 2018 14:10:25 CEST Pino Toscano wrote:
> Hi,
>
> while profiling libssh, I noticed that in different places ssh_buffer's
> were realloc'ed more than once during their lifetime. Since in few cases
> the amount of data is known in advance, I added a small helper to make
> sure
On Friday, July 6, 2018 12:22 AM Andreas Schneider wrote:
> So I think this is what you need to do, setting the right errno
> (ECONNREFUSED) for WSAECONNREFUSED and return -1.
I don't think it's that simple. Given the code at the end of the bsd_poll loop
that increments rc if any bits beyond PO