Commit e515eeaa authored by legoc's avatar legoc
Browse files

(split2) In Request::connectToRequester(), create Server with inherited timeout

parent f187839a
0.3.3
-----
* In Request::connectToRequester(), create Server with inherited timeout.
0.3.2
-----
......
......@@ -4,8 +4,8 @@
#
# -----------------------------------------------------------------------------
AC_INIT(cameo-api-cpp, 0.3.2)
LIBRARY_VERSION=0:3:2
AC_INIT(cameo-api-cpp, 0.3.3)
LIBRARY_VERSION=0:3:3
AC_CONFIG_AUX_DIR(config)
AC_CONFIG_SRCDIR(src/cameo/Application.cpp)
......
......@@ -1015,10 +1015,7 @@ std::unique_ptr<Instance> Request::connectToRequester() {
// Instantiate the requester server if it does not exist.
if (m_requesterServer.get() == nullptr) {
m_requesterServer.reset(new Server(m_impl->m_requesterServerEndpoint));
// The server inherits the timeout.
m_requesterServer->setTimeout(m_impl->m_timeout);
m_requesterServer.reset(new Server(m_impl->m_requesterServerEndpoint, m_impl->m_timeout));
}
// Connect and find the instance.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment