[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: channel_poll() is blocking


On Wednesday 12 May 2010 18:47:54 you wrote:
> Hi Aris,
> that sound logical for me, but there is a another problem.
> I tried the same test program on different maschines and the result is very
> strange.
> 
> 
> result is only the return value of channel_poll(channel, 0) without the
> while loop, etc.
> 
> case 1:  windowsPc (company) --->   linuxServer (company)   result: -1
> case 2:  windowsPc (home)    --->   linuxServer (home)      result:  0
> case 3:  linuxPc   (home)    --->   linuxServer (company)   result: works!
> case 4:  linuxPc   (home)    --->   linuxServer (home)      result: works!
> 
> (linux ---> linuxServer works always,  windows ---> linuxServer fail,
> but with different results)

I think the problem is the poll(2)-emulation. I've rewritten the poll(2)-
emulation. It will be shipped with libssh 0.4.3 which we plan to release next 
Sunday.

You can build the latest v0-4 branch if you want and help testing.


Cheers,


	-- andreas


Follow-Ups:
Re: channel_poll() is blockingBart Simpson <b_a_r_t@xxxxxxx>
References:
channel_poll() is blockingBart Simpson <b_a_r_t@xxxxxxx>
Re: channel_poll() is blockingAris Adamantiadis <aris@xxxxxxxxxxxx>
Re: channel_poll() is blockingBart Simpson <b_a_r_t@xxxxxxx>
Archive administrator: postmaster@lists.cynapses.org