alessandro rossi created THRIFT-3427:
----------------------------------------
Summary: multiple call process inside Servers implementation
Key: THRIFT-3427
URL: https://issues.apache.org/jira/browse/THRIFT-3427
Project: Thrift
Issue Type: Bug
Components: Python - Library
Affects Versions: 0.9.3
Reporter: alessandro rossi
in all server implementations there is this:
{code:xml}
try:
while True:
self.processor.process(iprot, oprot)
except TTransport.TTransportException as tx:
pass
except Exception as x:
logger.exception(x)
{code}
I fix this with:
{code:xml}
while True:
if self.processor.process(iprot, oprot):
break
{code}
PS: I noticed this because I implemented a subclass of TProcessor and I see
multiple entry in my process function
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)