datastax/cpp-driver — pull request #37 by stanislav-podlesny-ncbi (2014-05-21 15:36:52+00:00)
Title: Dangling pointer fix in cql_connection_impl.hpp

async_write takes pointer to buffer which must be valid until the operation is completed. This code fixes this existing problem in the cql_connection_impl class. This issue periodically caused thread freezing. Now it's fixed.