thrift-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jonathan Stoppani <jonat...@garetjax.info>
Subject Python readAll implementation
Date Sat, 22 Aug 2009 16:35:22 GMT
Hi Thrift users,
I'm referring to the python thrift library.

The TTransportBase.readAll implementation is raising EOFError when the
length of the chunks is 0.
Should it not raise a TTransportException with a
TTransportException.END_OF_FILE type.

The actual implementation, if I'm right, does not work with the
TServer as it is only catching TTransport.TTransportException
exception (others exceptions are logged).

Please let me know if I'm overlooked something. I'm eventually opening
a new Issue on JIRA based of your feedback.

Thanks,
~jonathan

-- 
Best Regards,
Jonathan Stoppani

Mime
View raw message