www.libssh2.org | Daily snapshots | Mailing list archive | Docs | Examples | github

Archive Index This month's Index

Subject: Re: internal poll doesn't handle orderly shut down (read/recv returns 0 bytes) = 100% CPU

Re: internal poll doesn't handle orderly shut down (read/recv returns 0 bytes) = 100% CPU

From: Pavel Strashkin <pavel.strashkin_at_gmail.com>
Date: Mon, 3 Oct 2011 14:00:30 -0700

I'm referring to libssh2_poll.

2011/10/3 Steven Ayre <steveayre_at_gmail.com>:
> Are you referring to libssh2_poll, or Net:SSH2->poll which uses
> libssh2_poll? (Or both?)
>
> -Steve
>
>
> On 3 October 2011 21:41, Daniel Stenberg <daniel_at_haxx.se> wrote:
>>
>> On Mon, 3 Oct 2011, Pavel Strashkin wrote:
>>
>>> file: src/session.c, function: libssh2_poll, with defined HAVE_POLL (it
>>> uses poll instead of select)
>>
>> The man page says: "This function is deprecated"
>>
>> Due to this, I've not bothered to fix it in the past but if someone does
>> provide a patch that improves it I guess it could still be worthwhile to
>> apply it as long as the function remains...
>>
>> --
>>
>>  / 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
>
>

_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
Received on 2011-10-03

the libssh2 team