follow up: libssh2_channel_read returns 0 when channel has been closed

2009-06-14 Thread Phillip Wu
Is it not possible for a non-blocking read to return 0 when there is no data to read but in actual fact the remote side has sent an EOF? In non-blocking mode when I get a 0, I could confirm that eof has been sent by calling libssh2_channel_eof. There could be a slight chance that I could loose da

RE: Windows issues with latest snapshot

2009-06-14 Thread Neil Gierman
> From: Daniel Stenberg [mailto:dan...@haxx.se] > Sent: Sunday, June 14, 2009 4:02 PM > > Isn't it enough to raise the check at line 74 to be <= 1500 instead of > 1400? > It seems odd to duplicate that section. Yes updating that line in libssh2.h line 74 to be <= 1500 instead of <= 1400 also fix

Re: comparing with libssh

2009-06-14 Thread Peter Stuge
Daniel Stenberg wrote: > > You can force settings on the server side. > > > > Also enable lots of logging on the server side, to learn what the > > client is using. > > Sure, but that's no longer "easily" e.g.: /usr/sbin/sshd '-oport 222' '-omacs hmac-sha1,umac...@openssh.com' \ '-ociphers aes

Re: planning the mailing list move

2009-06-14 Thread Daniel Stenberg
On Sun, 14 Jun 2009, Daniel Stenberg wrote: > Subscribe to the new list at: Oh I forgot: I'll happily accept one or two co-admins of the libssh2 lists. So if you want to get yourself some fine libssh2 mailing list admin work please volunteer by mailing me privately saying so! -- / daniel.h

planning the mailing list move

2009-06-14 Thread Daniel Stenberg
Hey I've setup a replacement mailing list for libssh2-devel on sourceforge, to instead become libssh2-devel on cool.haxx.se I don't want to forcibly subscribe anyone on this new list, so I'll instead just ask interested people to subscribe to the new list while we keep the existing one the one

Re: Windows issues with latest snapshot

2009-06-14 Thread Daniel Stenberg
On Sat, 13 Jun 2009, Neil Gierman wrote: > I am using Visual Studio 2008 so my _MSC_VER is 1500 but ssize_t is not > defined. Isn't it enough to raise the check at line 74 to be <= 1500 instead of 1400? It seems odd to duplicate that section. > Now I have an issue with the new hostkey stuff. Wh

Re: comparing with libssh

2009-06-14 Thread Daniel Stenberg
On Sun, 14 Jun 2009, Peter Stuge wrote: > You can force settings on the server side. > > Also enable lots of logging on the server side, to learn what the client is > using. Sure, but that's no longer "easily" and quite honestly I'm not *that* interested. I've already made my choice and investe