Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
ipgallery.common.cpp
/
Microservice
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Registry
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
7b356122
authored
Nov 13, 2016
by
amir
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
Fix Halt port request at server
parent
553b93d0
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
CMakeLists.txt
src/impl/clients/MSICommandClientHttpImpl.cpp
CMakeLists.txt
View file @
7b356122
cmake_minimum_required
(
VERSION 2.8.12
)
project
(
Microservice
)
# version stuff
set
(
Microservice_VERSION_MAJOR
1
)
set
(
Microservice_VERSION_MAJOR
2
)
set
(
Microservice_VERSION_MINOR 3
)
set
(
Microservice_VERSION_PATCH 0
)
set
(
Microservice_VERSION_STRING
${
Microservice_VERSION_MAJOR
}
.
${
Microservice_VERSION_MINOR
}
.
${
Microservice_VERSION_PATCH
}
)
...
...
src/impl/clients/MSICommandClientHttpImpl.cpp
View file @
7b356122
...
...
@@ -190,7 +190,9 @@ MSICommandClientHttpImpl::createRequestTask(const MSICommandClientHttpImpl::Http
}
// content
if
(
!
cmdDataPtr
->
p_cmd_params
->
GetContent
().
empty
())
request
.
set_body
(
cmdDataPtr
->
p_cmd_params
->
GetContent
(),
"application/json"
);
request
.
set_body
(
cmdDataPtr
->
p_cmd_params
->
GetContent
(),
"application/json"
);
else
request
.
headers
().
add
(
header_names
::
content_length
,
"0"
);
//auto request_task = client.request(*cmdDataPtr->p_mtd);
...
...
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