diff options
author | Mathias Stearn <mathias@10gen.com> | 2017-07-17 11:13:13 -0400 |
---|---|---|
committer | Mathias Stearn <mathias@10gen.com> | 2017-07-26 15:13:34 -0400 |
commit | d94b263ca72b874440757259a56bd5676b5ee4a3 (patch) | |
tree | 27cc7bc488c3d69afde128a11a619a36972a6b32 /src/mongo/client/dbclientcursor.h | |
parent | a405592e179d9bc704c8e6fb7faac22ade77ecdb (diff) | |
download | mongo-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.h | 2 |
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; |