Bug 785

Summary: ssh client socket may have O_NONBLOCK flag set
Product: Portable OpenSSH Reporter: Jean-Charles Longuet <jclonguet>
Component: sshAssignee: OpenSSH Bugzilla mailing list <openssh-bugs>
Status: CLOSED FIXED    
Severity: minor    
Priority: P2    
Version: -current   
Hardware: All   
OS: All   
Bug Depends on:    
Bug Blocks: 793    
Attachments:
Description Flags
Patch (for non-portable version) none

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