Commit 5d598422 authored by Leigh Stoller's avatar Leigh Stoller

Tip side can get an ECONNRESET, which indicates tip side closed

down.
parent 7e900faf
......@@ -520,6 +520,10 @@ dropped:
/* XXX commonly observed */
if (errno == EIO || errno == EAGAIN)
continue;
#ifdef USESOCKETS
if (errno == ECONNRESET)
goto disconnected;
#endif
die("%s: read: %s", Ptyname, geterr(errno));
}
if (cc == 0) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment