tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jim Jagielski <...@jaguNET.com>
Subject Re: Using APR with tomcat leaves port 8009 bound when tomcat is terminated?
Date Fri, 24 Feb 2006 16:47:56 GMT

On Feb 24, 2006, at 11:15 AM, Jim Jagielski wrote:

>
> On Feb 23, 2006, at 11:53 AM, Remy Maucherat wrote:
>
>> Jim Jagielski wrote:
>>> I agree that the change is a big benefit, and for
>>> most OSs we care about, SO_REUSEADDR is available.
>>> The APR call should gracefully fail...
>>> I'll plug this in later on today after some edge-case tests.
>>
>> In AprEndpoint, there are a lot of Socket.optSet(serverSock,  
>> Socket.APR_SO_REUSEADDR, 1);
>>
>
> Yes, the only rub is that for reasons I'm trying to remind myself
> why, we do the setting before the bind under non-Windows, and
> afterwards on Windows...
>

Anyway, while I research this, I went the safe route
and adjusted the ordering to match httpd.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message