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
4658194d
Commit
4658194d
authored
9 years ago
by
Maxim Ignatenko
Committed by
Sergey Lyubka
9 years ago
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Properly populate mg_connection.sa field
PUBLISHED_FROM=a305c720aee1b159847e10c962b6de7fe08bc787
parent
b3565781
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
mongoose.c
mongoose.c
+1
-0
No files found.
mongoose.c
View file @
4658194d
...
...
@@ -2399,6 +2399,7 @@ static struct mg_connection *accept_conn(struct mg_connection *ls) {
c
->
proto_handler
=
ls
->
proto_handler
;
c
->
user_data
=
ls
->
user_data
;
c
->
recv_mbuf_limit
=
ls
->
recv_mbuf_limit
;
c
->
sa
=
sa
;
if
(
c
->
ssl
==
NULL
)
{
/* SSL connections need to perform handshake. */
mg_call
(
c
,
MG_EV_ACCEPT
,
&
sa
);
}
...
...
This diff is collapsed.
Click to expand it.
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