[3174] in SIPB bug reports
Re: nntp.pl: expect timeouts too short
daemon@ATHENA.MIT.EDU (Calvin Clark)
Wed Sep 16 23:19:10 1992
Date: Wed, 16 Sep 92 23:18:41 -0400
From: Calvin Clark <ckclark@mit.edu>
To: mhpower@stan.mit.edu
Cc: bug-sipb@Athena.MIT.EDU
In-Reply-To: [3173]
Reply-To: ckclark@mit.edu
I have seen this problem once or twice, as well. However, it's silly to
hardcode the timeouts in each line separately, when setting global
variables for the different types of timeout is better. Also, in a perl
script which uses expect, it is important that each expect line contain
code to handle not only "TIMEOUT" but also "EOF" (I/O) errors. (All
timeout and I/O errors are fatal for this type of application---it
should die and print an error if either occurs, not continue doing
something random silently.) It seems that this has not been done in
this script. I'll see if I can come up with some modifications to the
code and send them back to the author.
-Calvin