Re: tcp strangness

Stephen R. van den Berg (srb@cuci.nl)
Wed, 18 Sep 1996 13:00:42 +0200


Herbert Rosmanith <herp@wildsau.idv.uni-linz.ac.at> wrote:
>> > > > in this status, I tried to start a new httpd, but the daemon would
>> > > > fail with an error message: "couldn not bind to port" (cern-httpd).
>> > > >
>> > > > I had to reboot the machine in order to start httpd again.

>> Its supposed to wait until all connections have cleared (can be 2 hours),
>> ask the cern folks why they don't set SO_REUSEADDR, or better still use
>> a decent httpd

>cern-httpd does use SO_REUSEADDR.

Indeed. So do several other daemons. This bug has been introduced
around 1.3.60 or so. I've been meaning to track it down, but didn't
have time to do so yet. In any case, SO_REUSEADDR doesn't work
on Linux.

-- 
Sincerely,                                                          srb@cuci.nl
           Stephen R. van den Berg (AKA BuGless).

"Listen very carefully, I shall only say this once."