summaryrefslogtreecommitdiff
path: root/src/mongo/client/dbclientcursor.h
diff options
context:
space:
mode:
authorMathias Stearn <mathias@10gen.com>2017-07-17 11:13:13 -0400
committerMathias Stearn <mathias@10gen.com>2017-07-26 15:13:34 -0400
commitd94b263ca72b874440757259a56bd5676b5ee4a3 (patch)
tree27cc7bc488c3d69afde128a11a619a36972a6b32 /src/mongo/client/dbclientcursor.h
parenta405592e179d9bc704c8e6fb7faac22ade77ecdb (diff)
downloadmongo-d94b263ca72b874440757259a56bd5676b5ee4a3.tar.gz
SERVER-30118 always check replyTo field in DBClient
Diffstat (limited to 'src/mongo/client/dbclientcursor.h')
-rw-r--r--src/mongo/client/dbclientcursor.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mongo/client/dbclientcursor.h b/src/mongo/client/dbclientcursor.h
index 7cd394f2e13..91d4e9ad95c 100644
--- a/src/mongo/client/dbclientcursor.h
+++ b/src/mongo/client/dbclientcursor.h
@@ -248,6 +248,8 @@ private:
std::string _lazyHost;
bool wasError;
BSONVersion _enabledBSONVersion;
+ bool _connectionHasPendingReplies = false;
+ int _lastRequestId = 0;
void dataReceived(const Message& reply) {
bool retry;