Red Hat Bugzilla – Bug 10786
Daytime-tcp server is broken
Last modified: 2008-05-01 11:37:55 EDT
Using a sample c program from Stevens' "Unix Network Programming"
inetd-0.16-4 does not terminate and leaves tcp session in CLOSE-WAIT
forever. Replacing inetd with inetd from netkit-base-0.10-29 (RHL 6.0)
the daytime server works properly, and no seessions are left in CLOSE-WAIT.
Adding a close(s); after line 266 of builtins.c causes the daytime server to go
to TIME-WAIT state as expected.
*** This bug has been marked as a duplicate of 11548 ***