Bug 785 - ssh client socket may have O_NONBLOCK flag set
Summary: ssh client socket may have O_NONBLOCK flag set
Status: CLOSED FIXED
Alias: None
Product: Portable OpenSSH
Classification: Unclassified
Component: ssh (show other bugs)
Version: -current
Hardware: All All
: P2 minor
Assignee: OpenSSH Bugzilla mailing list
URL:
Keywords:
Depends on:
Blocks: 793
  Show dependency treegraph
 
Reported: 2004-01-08 13:07 AEDT by Jean-Charles Longuet
Modified: 2004-04-14 12:24 AEST (History)
0 users

See Also:


Attachments
Patch (for non-portable version) (731 bytes, patch)
2004-01-08 13:10 AEDT, Jean-Charles Longuet
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jean-Charles Longuet 2004-01-08 13:07:57 AEDT
When using the ConnectTimeout option, socket remains non-blocking after
connecting, which may (?) cause trouble.
Comment 1 Jean-Charles Longuet 2004-01-08 13:10:46 AEDT
Created attachment 527 [details]
Patch (for non-portable version)

patch not tested, but it is rather short and should work ok.
Comment 2 Damien Miller 2004-01-22 21:22:51 AEDT
I'll take care of this.

You are correct. The impact is minor though - we will just spin and waste CPU
while waiting for the peer's identification.
Comment 3 Damien Miller 2004-01-24 20:47:18 AEDT
similar fix applied - thanks
Comment 4 Damien Miller 2004-04-14 12:24:20 AEST
Mass change of RESOLVED bugs to CLOSED