Commit 088ec1c9 authored by Tien-Thinh Nguyen's avatar Tien-Thinh Nguyen

Merge branch 'bugfix_http2' into 'develop'

Bug fix for location header (HTTP2)

See merge request oai/cn5g/oai-cn5g-smf!29
parents e43b4429 1ee706a4
...@@ -29,12 +29,13 @@ ...@@ -29,12 +29,13 @@
| 1 | N4 | :heavy_check_mark: | between SMF and UPF (PFCP) | | 1 | N4 | :heavy_check_mark: | between SMF and UPF (PFCP) |
| 2 | N7 | :x: | between SMF and PCF | | 2 | N7 | :x: | between SMF and PCF |
| 3 | N10 | :heavy_check_mark: | between SMF and UDM (Nudm_SubscriberDataManagement) | | 3 | N10 | :heavy_check_mark: | between SMF and UDM (Nudm_SubscriberDataManagement) |
| 4 | N11 | :heavy_check_mark: | between SMF and AMF (Nsmf_PDU_Session Services, Namf_N1N2MessageTransfer) | | 4 | N11 (*) | :heavy_check_mark: | between SMF and AMF (Nsmf_PDU_Session Services, Namf_N1N2MessageTransfer) |
| 5 | N16/16a | :x: | between SMFs | | 5 | N16/16a | :x: | between SMFs |
(*): support both HTTP/1.1 and HTTP/2
# 3. OAI SMF Feature List # # 3. OAI SMF Feature List #
Based on document **3GPP TS 23.501 v16.0.0 §6.2.2**. Based on document **3GPP TS 23.501 v16.0.0 (Section 6.2.2)**.
| **ID** | **Classification** | **Status** | **Comments** | | **ID** | **Classification** | **Status** | **Comments** |
| ------ | ------------------------------------------------------------------- | ------------------ | ------------------------------------------- | | ------ | ------------------------------------------------------------------- | ------------------ | ------------------------------------------- |
......
...@@ -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