users@glassfish.java.net

[gf-users] Re: What is .network-config.transports.transport.tcp.linger ?

From: Oleksiy Stashok <oleksiy.stashok_at_oracle.com>
Date: Fri, 19 Dec 2014 10:45:29 -0800

Hi Pawel,

On 16.12.14 00:17, Pawel Veselov wrote:
>
> it corresponds to the socket SO_LINGER
> http://stackoverflow.com/questions/3757289/tcp-option-so-linger-zero-when-its-required
>
>
> So, value of -1 makes "onoff" mean "off", and >=0 makes "onoff" mean
> "on", and its value treated as the actual timeout, right?
correct.

WBR,
Alexey.

>
>
> WBR,
> Alexey.
>
>
> On 15.12.14 18:31, Pawel Veselov wrote:
>
> Hi.
>
> I ran across this property in my configuration, and I'm
> wondering what does it do.
>
> gfserver.network-config.transports.transport.tcp.linger=-1
>
> Thanks,
> Pawel.
>
>
>