I don't know that there's a built-in facility for this, but it sounds like
what timeouts are often used for.  How are you receiving the info that the
other side won't return? Can you use timeouts on the thrift client sockets
for this?

On Thu, Jun 14, 2012 at 2:43 PM, Steve <[email protected]> wrote:

> Hi,
>
> Is it possible to kill an active/open request in Python?
>
> I have locking code around a thrift call, but sometimes the other side
> (server) doesn't return (not in my control).  I would like to force that
> connection to close so that the thread can continue on.
>
> I've tried to close the transport, thinking it would fail out, but no luck.
>
> Thanks.
>
>

Reply via email to