Github user cvlchinet commented on the pull request:

    https://github.com/apache/thrift/pull/264#issuecomment-62982101
  
    Ok I checked the options to write a test.
    It is quite complicated, because this bug only occurs when using real 
sockets.
    So when using a Buffer for the tests it won't work.
    I don't see a straightforward to write a mock either.
    An integration test, would catch it immediately.
    I see the lib has some kind of integration tests? right? 
    I couldn't find out yet, how they work though.
    Is there a integration test concept?
    



---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to