Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
M
mongoose
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
esp
mongoose
Commits
9dba6c80
Commit
9dba6c80
authored
Nov 18, 2016
by
Sergey Lyubka
Committed by
Cesanta Bot
Nov 18, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add endpoint to list tunnels
PUBLISHED_FROM=f45d9832a884374f6f9ea3f2e0a8c9465f214896
parent
fc635a93
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
mongoose.c
mongoose.c
+2
-1
No files found.
mongoose.c
View file @
9dba6c80
...
@@ -4578,8 +4578,9 @@ static void spawn_handling_thread(struct mg_connection *nc) {
...
@@ -4578,8 +4578,9 @@ static void spawn_handling_thread(struct mg_connection *nc) {
* dummy event manager.
* dummy event manager.
* c[0] stays in this thread, c[1] goes to another thread.
* c[0] stays in this thread, c[1] goes to another thread.
*/
*/
mg_mgr_init
(
&
dummy
,
NULL
);
mg_socketpair
(
sp
,
SOCK_STREAM
);
mg_socketpair
(
sp
,
SOCK_STREAM
);
memset
(
&
dummy
,
0
,
sizeof
(
dummy
));
c
[
0
]
=
mg_add_sock
(
&
dummy
,
sp
[
0
],
forwarder_ev_handler
);
c
[
0
]
=
mg_add_sock
(
&
dummy
,
sp
[
0
],
forwarder_ev_handler
);
c
[
1
]
=
mg_add_sock
(
&
dummy
,
sp
[
1
],
nc
->
listener
->
priv_1
.
f
);
c
[
1
]
=
mg_add_sock
(
&
dummy
,
sp
[
1
],
nc
->
listener
->
priv_1
.
f
);
...
...
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