Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Cameo
cameo
Commits
e515eeaa
Commit
e515eeaa
authored
Aug 12, 2020
by
legoc
Browse files
(split2) In Request::connectToRequester(), create Server with inherited timeout
parent
f187839a
Changes
3
Hide whitespace changes
Inline
Side-by-side
ChangeLog
View file @
e515eeaa
0.3.3
-----
* In Request::connectToRequester(), create Server with inherited timeout.
0.3.2
-----
...
...
configure.ac
View file @
e515eeaa
...
...
@@ -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)
...
...
src/cameo/Application.cpp
View file @
e515eeaa
...
...
@@ -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.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment