[
https://issues.apache.org/jira/browse/THRIFT-3790?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15249663#comment-15249663
]
Kyle Johnson commented on THRIFT-3790:
--------------------------------------
How should the test case be handled, then? In the test handler, right after
the client has the server throw an unhandled exception, the test client closes
and reopens the connection. Perhaps put a retry loop of some sort in there?
> Fix Delphi named pipe client to use timeout even when pipe doesn't yet exist
> ----------------------------------------------------------------------------
>
> Key: THRIFT-3790
> URL: https://issues.apache.org/jira/browse/THRIFT-3790
> Project: Thrift
> Issue Type: Bug
> Components: Delphi - Library
> Affects Versions: 1.0
> Reporter: Kyle Johnson
> Assignee: Kyle Johnson
> Priority: Minor
> Fix For: 0.10.0
>
> Attachments:
> 0001-THRIFT-3790-Fix-Delphi-named-pipe-client-to-use-time.patch,
> 0002-THRIFT-3790-Fix-Delphi-named-pipe-client-to-use-time.patch,
> THRIFT-3790-fix-for-closing-and-reopening-client-pipe-connection.patch
>
>
> In the Delphi test code, the test client closes the connection and then
> immediately reopens it. However, it takes a small amount of time for the
> server to tear down the connection and then rebuild it. In that time, the
> client has issued an Open() call on the pipe client when the server hasn't
> yet recreated the pipe.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)