Github user dhull commented on the issue:
https://github.com/apache/thrift/pull/1367
This fix looks correct to me. The `read` and `read_exact` functions both
pull the wrapped transport out of their state, and need to put the updated
wrapped transport back into their state on return. The change fixes that in the
error code path in the `read` function.---
