Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
OpenXG-AMF-Simple
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
CommunityXG
OpenXG-AMF-Simple
Commits
d3f9851b
Commit
d3f9851b
authored
Aug 04, 2020
by
Tien-Thinh Nguyen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Issues for N11 interface to be fixed
parent
a49ad531
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
src/amf-app/amf_n11.cpp
src/amf-app/amf_n11.cpp
+2
-0
No files found.
src/amf-app/amf_n11.cpp
View file @
d3f9851b
...
...
@@ -374,10 +374,12 @@ void amf_n11::curl_http_client(std::string remoteUri, std::string jsonData, std:
Logger
::
amf_n11
().
debug
(
"Get response with httpcode (%d)"
,
httpCode
);
if
(
httpCode
==
0
)
{
Logger
::
amf_n11
().
error
(
"Cannot get response When calling %s"
,
remoteUri
.
c_str
());
//TODO: free curl before returning
return
;
}
if
(
httpCode
!=
200
&&
httpCode
!=
201
)
{
is_response_ok
=
false
;
//TODO: error if there's no content in the response
if
(
!
(
multipart_parser
(
response
,
jsonData
,
n1sm
,
n2sm
)))
{
Logger
::
amf_n11
().
error
(
"Could not get the cause from the response"
);
}
...
...
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