IETF-SSH archive

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

Re: Channel close logic, needs clarification?



On Mon, Mar 12, 2001 at 12:01:40PM -0500, Bill Sommerfeld wrote:
> > When the login shell dies, the OpenSSH server sends
> > the CLOSE message after:
> >         1) all data is read from the pipe/socket (that connects the
> >            server to the login-shell) and
> > 	2) this data is sent to the client.
> 
> Just to clarify, is this "all immediately available data" (what you
> can get from a non-blocking read) or "all data until an EOF indication
> is received"?

OpenSSH's SSH v2 implementation reads until it gets EOF or an error.

-m



Home | Main Index | Thread Index | Old Index