Commit b9b0af0e authored by Tien Thinh NGUYEN's avatar Tien Thinh NGUYEN

Bug fix for location header (HTTP2)

parent e43b4429
...@@ -294,8 +294,8 @@ void smf_http2_server::create_sm_contexts_handler( ...@@ -294,8 +294,8 @@ void smf_http2_server::create_sm_contexts_handler(
sm_context_req_msg.set_n1_sm_message(n1_sm_msg); sm_context_req_msg.set_n1_sm_message(n1_sm_msg);
//set api root to be used as location header in HTTP response //set api root to be used as location header in HTTP response
sm_context_req_msg.set_api_root( sm_context_req_msg.set_api_root(
m_address + ":" + std::to_string(m_port) // m_address + ":" + std::to_string(m_port) +
+ "/nsmf-pdusession/" + smf_cfg.sbi_api_version + "/sm-context"); "/nsmf-pdusession/" + smf_cfg.sbi_api_version + "/sm-contexts");
//supi //supi
supi_t supi = { .length = 0 }; supi_t supi = { .length = 0 };
......
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