apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Garrett Rooney" <roo...@electricjellyfish.net>
Subject Re: APR leaves port bound when terminated?
Date Wed, 22 Feb 2006 17:16:57 GMT
On 2/22/06, Sean Neeley <Sean.Neeley@producepro.com> wrote:
> Someone sent me this patch on the tomcat mailing list, which I believe
> does the same thing:
>
> bash-2.03$ diff -c network.c network.c.orig
> *** network.c   Mon Feb  6 12:50:54 2006
> --- network.c.orig      Mon Feb  6 12:50:11 2006
> ***************
> *** 385,391 ****
>       UNREFERENCED_STDARGS;
>       TCN_ASSERT(sock != 0);
>       TCN_ASSERT(s->sock != NULL);
> +     apr_socket_opt_set( s->sock, APR_SO_REUSEADDR, 1 );
>       return (jint)apr_socket_bind(s->sock, a);
>   }
>
> - Sean

Like I said, a Tomcat problem ;-)

-garrett

Mime
View raw message