[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Remote EOF and MinGW builds
[Thread Prev] | [Thread Next]
- Subject: Re: Remote EOF and MinGW builds
- From: Andreas Schneider <mail@xxxxxxxxxxxx>
- Reply-to: libssh@xxxxxxxxxx
- Date: Sat, 3 Apr 2010 23:00:15 +0200
- To: libssh@xxxxxxxxxx
On Saturday 03 April 2010 12:42:33 you wrote: > Hi, Hi Thomas, > As BSD and Cygwin do not support poll() natively, I've adopted and > ported their emulation code to windows. It seems to work as it should. > I've attached the modified poll.c code to this mail. If I find some more > time, I'll try to implement WSAPoll compatibility. > If you run lib ssh as server, you might consider slightly increase > FD_SETSIZE . For a client listen to max 64 file handles should be > sufficient. I've created an improved version of your code. This should work under Windows and other UNIX systems. It covers more cases and shouldn't segfault ;) http://git.libssh.org/?a=commitdiff&p=asn/libssh&h=a28c16876b4d3354c8104b8cb6c3d33fdfdddff1 Could you try this patch? Cheers, -- andreas
Re: Remote EOF and MinGW builds | Andreas Schneider <mail@xxxxxxxxxxxx> |
Re: Remote EOF and MinGW builds | Thomas Schmid <schmid-thomas@xxxxxxx> |