Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
oai
cn5g
oai-cn5g-smf
Commits
6dfb9423
Commit
6dfb9423
authored
Jul 01, 2021
by
Tien-Thinh Nguyen
Browse files
Code cleanup
parent
e6cf9486
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/smf_app/smf_sbi.cpp
View file @
6dfb9423
...
@@ -1149,15 +1149,6 @@ void smf_sbi::curl_release_handles() {
...
@@ -1149,15 +1149,6 @@ void smf_sbi::curl_release_handles() {
// Get HTTP code
// Get HTTP code
curl_easy_getinfo
(
curl
,
CURLINFO_RESPONSE_CODE
,
&
http_code
);
curl_easy_getinfo
(
curl
,
CURLINFO_RESPONSE_CODE
,
&
http_code
);
Logger
::
smf_app
().
debug
(
"Got response with HTTP code %d!"
,
http_code
);
Logger
::
smf_app
().
debug
(
"Got response with HTTP code %d!"
,
http_code
);
/*
char* curl_url = nullptr;
int res = curl_easy_getinfo(curl, CURLINFO_EFFECTIVE_URL,
&curl_url); if (res == CURLE_OK and curl_url) { std::string
curl_url_str(curl_url); trigger_process_response(curl_url_str,
http_code);
}
*/
uint32_t
*
promise_id
=
nullptr
;
uint32_t
*
promise_id
=
nullptr
;
curl_easy_getinfo
(
curl
,
CURLINFO_PRIVATE
,
&
promise_id
);
curl_easy_getinfo
(
curl
,
CURLINFO_PRIVATE
,
&
promise_id
);
if
(
promise_id
)
{
if
(
promise_id
)
{
...
...
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