users@glassfish.java.net

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

From: Pawel Veselov <pawel.veselov_at_gmail.com>
Date: Tue, 16 Dec 2014 00:17:34 -0800

Hi

On Mon, Dec 15, 2014 at 9:19 PM, Oleksiy Stashok <oleksiy.stashok_at_oracle.com
> wrote:
>
> Hi,
>
> 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?


>
>
> 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.
>>
>>
>