Commit 607ea042 authored by legoc's avatar legoc
Browse files

Added missing timeout in RequestImpl::replyBinary()

parent 636b218c
......@@ -2,7 +2,7 @@ if(NOT DEFINED PROJECT_NAME)
cmake_minimum_required(VERSION 3.7.2)
# Project name and version
project(cameo VERSION 1.0.1 LANGUAGES CXX)
project(cameo VERSION 1.0.2 LANGUAGES CXX)
endif()
include(GNUInstallDirs)
......
1.0.2
-----
* Added missing timeout in RequestImpl::replyBinary().
1.0.1
-----
......
......@@ -19,7 +19,7 @@
#define CAMEO_API_VERSION_MAJOR 1
#define CAMEO_API_VERSION_MINOR 0
#define CAMEO_API_VERSION_REVISION 1
#define CAMEO_API_VERSION_REVISION 2
#include "Application.h"
#include "Server.h"
......
......@@ -58,7 +58,7 @@ bool RequestImpl::replyBinary(const std::string& response) {
request.pushInt(message::RESPONSE);
// Create a request socket. It is created for each request that could be optimized.
unique_ptr<RequestSocketImpl> requestSocket = m_application->createRequestSocket(m_requesterEndpoint);
unique_ptr<RequestSocketImpl> requestSocket = m_application->createRequestSocket(m_requesterEndpoint, m_timeout);
try {
requestSocket->request(request.toString(), response);
......
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