From: Matthew Rhoten (mrhoten@Xenon.Stanford.EDU)
Date: 02/10/93


From: mrhoten@Xenon.Stanford.EDU (Matthew Rhoten)
Subject: tredir failures under .99.4 solved
Date: 11 Feb 1993 02:24:49 GMT

I use linux .99.4 and term 1.0.3. I had consistent problems with
tredir reporting EOF and closing down connections at inappropriate
times. According to the debugging output (hacked, see below), read()
was getting called with positive arguments and returning 0, which
seemed to indicate that the socket had been closed, but it shouldn't
have been.

Anyway, the tcpip patches in linux .99.5 solve this problem. If you
have similar problems under .99.4 or earlier, run, do not walk, to
your local ftp site. (FYI: if you're too lazy to upgrade, running term
with -d256 (DEBUG_LL) sometimes fixed this problem, how or why I do
not know. To get the proper debugging output, I had to hack calls to
DEBUG_LL so they'd print iff the return from read() was 0, since it
affected the correctness otherwise.)

 -matt

-- 
Matthew Rhoten | mrhoten@cs.stanford.edu | m_rhoten@leland.stanford.edu
"When Adam and Eve first saw each other, that's when the blues started."
 -John Lee Hooker