bugzilla-daemon at mindrot.org
2002-May-13 07:15 UTC
[Bug 240] New: ssh fails to handle errno == EHOSTUNREACH properly
http://bugzilla.mindrot.org/show_bug.cgi?id=240 Summary: ssh fails to handle errno == EHOSTUNREACH properly Product: Portable OpenSSH Version: -current Platform: All OS/Version: All Status: NEW Severity: normal Priority: P2 Component: Miscellaneous AssignedTo: openssh-unix-dev at mindrot.org ReportedBy: schwartz+q-bugzilla-mindrot at bio.cse.psu.edu ssh is littered with open coded checks of errno after a read or write. As a matter of good engineering, these should be consolidated into one routine, try_again(errno). The current set of checks (which are quite inconsistent) fail to include all the values of errno that signal that a retry is called for. For example, EHOSTUNREACH, is an advisory rather than an error. Currently ssh will abort a session when TCP/IP is perfectly happy to continue. Because we want ssh to be robust and reliable, this oversight should be repaired. One might argue that if write constantly returns EHOSTUNREACH then we should quit. That's reasonable, and it underscores that the current behaviour is wrong. It should indeed require many advisories before taking such action. ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.
Seemingly Similar Threads
- [Bug 240] ssh fails to handle errno == EHOSTUNREACH properly
- [Bug 240] ssh fails to handle errno == EHOSTUNREACH properly
- Could not call puppetca.getcert: #<Errno::EHOSTUNREACH: No route to host
- [PATCH 1/1] ocfs2: set gap to seperate entry and value when xattr in bucket
- [PATCH v5 3/8] qspinlock, x86: Add x86 specific optimization for 2 contending tasks