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
8296e0f4
Commit
8296e0f4
authored
Apr 04, 2016
by
Deomid Ryabkov
Committed by
rojer
Apr 05, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Do not allocate connection state for MG timers
PUBLISHED_FROM=c7cd64eea0ab7553450c452ac30bdd7a5032cbbe
parent
afa5e3f4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
mongoose.c
mongoose.c
+1
-1
No files found.
mongoose.c
View file @
8296e0f4
...
...
@@ -3050,7 +3050,7 @@ double mg_set_timer(struct mg_connection *c, double timestamp) {
struct
mg_connection
*
mg_add_sock_opt
(
struct
mg_mgr
*
s
,
sock_t
sock
,
mg_event_handler_t
callback
,
struct
mg_add_sock_opts
opts
)
{
struct
mg_connection
*
nc
=
mg_create_connection
(
s
,
callback
,
opts
);
struct
mg_connection
*
nc
=
mg_create_connection
_base
(
s
,
callback
,
opts
);
if
(
nc
!=
NULL
)
{
mg_sock_set
(
nc
,
sock
);
mg_add_conn
(
nc
->
mgr
,
nc
);
...
...
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