This is the mail archive of the cygwin@sources.redhat.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Why does scp leave ssh running? -- select() never returns


Christopher Faylor wrote:
> 
> On Wed, Nov 29, 2000 at 10:22:03PM -0500, Patrick Doyle wrote:
> >So, a few questions...
> >1) Is this behavior (of PeekNamedPipe()) a W9x bug?  (That is, does it
> >work correctly on NT/2K?)
> 
> I think you are correct.  It is a w9x bug.  I vaguely recall seeing this
> before.
> 
> I can't think of any way to work around this, unfortunately.  I remember trying
> things like zero byte reads on the pipe but they didn't do anything.
> 
> The only way to trigger the EOF is to actually read from the pipe.
> 
> cgf
If that is the case, would anybody mind if I posted a (simple) patch to
openSSH code which added a timeout to the call(s) to select()?  If I do
that, will the patch be incorporated into the cygwin release of
openSSH?  Is there some way to feed that patch back to the openSSH
development team?

--wpd
(Note, I haven't tried this patch yet -- I just thought of it when I was
posting my original email last night -- so the patch may not be as
"simple" as I envisioned).

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]