Commit cb3d3da7 authored by Tien-Thinh Nguyen's avatar Tien-Thinh Nguyen

Fix issue for N1N2MessageTransfer with no N1/N2 content

parent 6e0a52e5
...@@ -591,14 +591,6 @@ void amf_n11::curl_http_client( ...@@ -591,14 +591,6 @@ void amf_n11::curl_http_client(
// free curl before returning // free curl before returning
curl_slist_free_all(headers); curl_slist_free_all(headers);
curl_easy_cleanup(curl); curl_easy_cleanup(curl);
// TODO: To be verified
psc.get()->smf_context_location =
"/nsmf-pdusession/v2/sm-contexts/1"; // try to fix bugs for
// no-response from SMF when
// requesting
// /nsmf-pdusession/v2/sm-contexts
// (first pdu session
// establishment request)
return; return;
} }
...@@ -673,7 +665,10 @@ void amf_n11::curl_http_client( ...@@ -673,7 +665,10 @@ void amf_n11::curl_http_client(
} catch (nlohmann::json::exception& e) { } catch (nlohmann::json::exception& e) {
Logger::amf_n11().warn( Logger::amf_n11().warn(
"Could not get Json content from the response"); "Could not get Json content from the response");
curl_slist_free_all(headers);
curl_easy_cleanup(curl);
// TODO: // TODO:
return;
} }
itti_n1n2_message_transfer_request* itti_msg = itti_n1n2_message_transfer_request* itti_msg =
......
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