Alternate TSocket Impl to add connect timeout #123

merged 1 commit into from Mar 20, 2013


None yet
2 participants

sdether commented Mar 19, 2013

While Cassandra Connection has a timeout parameter, it is only used to Send and Receive Timeouts by TSocket.

This change creates an alternate TStreamTransport implemenation that mimick TSocket, except that it uses Begin/EndConnect in Open() to use the timeout value for connect as well.

nberardi added a commit that referenced this pull request Mar 20, 2013

Merge pull request #123 from sdether/connect_timeout2
Alternate TSocket Impl to add connect timeout

@nberardi nberardi merged commit 8c7bf03 into fluentcassandra:master Mar 20, 2013


nberardi commented Mar 20, 2013

Thanks for this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment