SSL outgoing ring buffer memory leak?

10 views
Skip to first unread message

Guy Sirton

unread,
Sep 1, 2015, 8:51:59 PM9/1/15
to DataStax C++ Driver for Apache Cassandra User Mailing List
Hi all,

It seems like there's a "leak" in the connection outgoing ring buffer.

If you look at peek_multiple:
https://github.com/datastax/cpp-driver/blob/master/src/ring_buffer.hpp#L139

Will always return zero as total isn't getting updated.

This is used here:
https://github.com/datastax/cpp-driver/blob/master/src/connection.cpp#L1080

And later on in the callback to consume the bytes from the buffer.

Thanks in advance,

Guy

Michael Penick

unread,
Sep 2, 2015, 11:24:07 AM9/2/15
to cpp-dri...@lists.datastax.com
Thanks for reporting. Created an issue in JIRA: https://datastax-oss.atlassian.net/browse/CPP-302

Mike

To unsubscribe from this group and stop receiving emails from it, send an email to cpp-driver-us...@lists.datastax.com.

Reply all
Reply to author
Forward
0 new messages