GEODE-10300: C++ native client: Allow locator responses greater than … (#970) develop
authorAlberto Gomez <alberto.gomez@est.tech>
Thu, 18 Aug 2022 07:39:47 +0000 (09:39 +0200)
committerGitHub <noreply@github.com>
Thu, 18 Aug 2022 07:39:47 +0000 (09:39 +0200)
commit70185ee4d2a4b34bf83d753a648a84a3f91554e7
tree17e735ea43b7210fe81268454c192e34f3fb7786
parentb3f8a08c3b79e2036a0ae964658d1849affa7e79
GEODE-10300: C++ native client: Allow locator responses greater than … (#970)

* GEODE-10300: Fix locator response size limit in C++ client

If a response message from the locator to the C++ native client
is longer than 3000 bytes the C++ native client will only
read the first 3000 bytes.

* GEODE-10300: Updated after review

* GEODE-10300: Updated after review

* GEODE-10300: Updated after another review

* GEODE-10300: Updated after some more reviews

* GEODE-10300: Some more changes after review.

* GEODE-10300: Small change after review

* GEODE-10300: Remove unneeded space
13 files changed:
cppcache/include/geode/DataInput.hpp
cppcache/src/Connector.hpp
cppcache/src/DataInput.cpp
cppcache/src/GetAllServersResponse.cpp
cppcache/src/GetAllServersResponse.hpp
cppcache/src/StreamDataInput.cpp [new file with mode: 0644]
cppcache/src/StreamDataInput.hpp [new file with mode: 0644]
cppcache/src/TcpConn.cpp
cppcache/src/TcpConn.hpp
cppcache/src/ThinClientLocatorHelper.cpp
cppcache/test/CMakeLists.txt
cppcache/test/StreamDataInputTest.cpp [new file with mode: 0644]
cppcache/test/mock/ConnectorMock.hpp [new file with mode: 0644]