[ 
https://issues.apache.org/jira/browse/THRIFT-2696?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14136138#comment-14136138
 ] 

Severian Duchenko commented on THRIFT-2696:
-------------------------------------------

I do not use short timeouts. I have save same problem with big timeouts too. 
But with large timeout values it is floating. Easiest way to reproduce it - use 
small timeout values.

I do not force you to do anything about this problem. I have fixed it for 
myself using correct Select() and PeekBuf() calls. 

> Unable to stop socket server while there are idle clients
> ---------------------------------------------------------
>
>                 Key: THRIFT-2696
>                 URL: https://issues.apache.org/jira/browse/THRIFT-2696
>             Project: Thrift
>          Issue Type: Bug
>          Components: Delphi - Library
>    Affects Versions: 0.9
>            Reporter: Severian Duchenko
>            Assignee: Jens Geyer
>         Attachments: 
> THRIFT-2696-Unable-to-stop-socket-server-while-there.patch, 
> THRIFT-2696-Unable-to-stop-socket-server-while-there_v2.patch, 
> code_exmple.txt, patch.txt
>
>
> When TSimpleServer created using TServerSocketImpl and there are idle clients 
> (connected, but not sending anything), it is impossible to stop server.
> After executing TSimpleServer.stop server will not stop until client is 
> disconnected or does not send anything.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to