Do you mean the server's socket that I create when initializing the
server or the client sockets? If the latter, then how do I access them
from thrift? I'm using TNonBlockingServer.

2010/3/7 David Reiss <[email protected]>:
> Set a read timeout on the server.
>
> If a client is shut down, the OS should still send the FIN packet to
> the server.
>
> Bryan Duxbury wrote:
>> What language are you talking about? I don't believe that Java or Ruby's
>> servers have this weakness.
>>
>> -Bryan
>>
>> On Sun, Mar 7, 2010 at 2:29 AM, Kyku <[email protected]> wrote:
>>
>>> Hello,
>>>
>>> Is it possible to set a timeout for server that would close stale
>>> client connections? Normally if a client is shutdown or there's a
>>> communication failure the server's socket for the client will be never
>>> closed leading to loss of resources.
>>>
>

Reply via email to