Yeah, that's probably a bug.

Jonathan Stoppani wrote:
> 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
> 

Reply via email to