Subject: wu-ftpd 2.4/Solaris 2.4 hang followup

From: [email-masked] (John Kemp)
Date: Wed, 25 Oct 1995 09:18:58 -0700

As per others suggestions, and according to what
the debugger was telling us, we patched our ftpd.c
file as follows.  It certainly cleared up the hangs
that were waiting after accepts.  For what it's worth:

  1710  /*
  1711   * alarm for accept/drop-connect bug to prevent hangs
  1712   * 10/24/95 John Kemp ([email-masked])
  1713   */
  1714  (void) alarm((unsigned) 60);
  1715
  1716          s = accept(pdata, (struct sockaddr *) &from, &fromlen);
  1717
  1718  (void) alarm(0);
  1719

John G. Kemp                        e-mail: [email-masked]
UNIX Systems Engineer                phone: (503) 346-1704
Office of University Computing         fax: (503) 346-4397
1212 University of Oregon            pager: (503) 341-7435
Eugene, OR 97403-1212                 html: http://ns.uoregon.edu/~kemp