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
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
1
Issues
1
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
OpenXG
OpenXG-AMF
Commits
770a4fb6
Commit
770a4fb6
authored
Sep 28, 2021
by
Tien-Thinh Nguyen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Minor update
parent
3a67c067
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
src/oai-amf/main.cpp
src/oai-amf/main.cpp
+2
-1
No files found.
src/oai-amf/main.cpp
View file @
770a4fb6
...
@@ -103,6 +103,7 @@ int main(int argc, char** argv) {
...
@@ -103,6 +103,7 @@ int main(int argc, char** argv) {
Logger
::
init
(
"AMF"
,
Options
::
getlogStdout
(),
Options
::
getlogRotFilelog
());
Logger
::
init
(
"AMF"
,
Options
::
getlogStdout
(),
Options
::
getlogRotFilelog
());
Logger
::
amf_app
().
startup
(
"Options parsed!"
);
Logger
::
amf_app
().
startup
(
"Options parsed!"
);
// TODO: to be optimized
struct
sigaction
sigIntHandler
;
struct
sigaction
sigIntHandler
;
sigIntHandler
.
sa_handler
=
amf_signal_handler
;
sigIntHandler
.
sa_handler
=
amf_signal_handler
;
sigemptyset
(
&
sigIntHandler
.
sa_mask
);
sigemptyset
(
&
sigIntHandler
.
sa_mask
);
...
@@ -132,7 +133,7 @@ int main(int argc, char** argv) {
...
@@ -132,7 +133,7 @@ int main(int argc, char** argv) {
// AMF HTTP2 server
// AMF HTTP2 server
amf_api_server_2
=
new
amf_http2_server
(
amf_api_server_2
=
new
amf_http2_server
(
conv
::
toString
(
amf_cfg
.
n11
.
addr4
),
amf_cfg
.
sbi_http2_port
,
amf_app_inst
);
conv
::
toString
(
amf_cfg
.
n11
.
addr4
),
amf_cfg
.
sbi_http2_port
,
amf_app_inst
);
//
amf_api_server_2->init(1);
amf_api_server_2
->
init
(
1
);
// std::thread amf_http2_manager(&amf_http2_server::start, amf_api_server_2);
// std::thread amf_http2_manager(&amf_http2_server::start, amf_api_server_2);
amf_api_server_2
->
start
();
amf_api_server_2
->
start
();
...
...
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