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
d8028df2
Commit
d8028df2
authored
Jun 10, 2015
by
Nicolas Cisco
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Quick fix in order not to loose the reference of connection_param pointer
parent
564683d2
Changes
1
Show 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 @
d8028df2
...
@@ -4967,7 +4967,7 @@ static void close_local_endpoint(struct connection *conn) {
...
@@ -4967,7 +4967,7 @@ static void close_local_endpoint(struct connection *conn) {
// (IP addresses & ports, server_param) must survive. Nullify the rest.
// (IP addresses & ports, server_param) must survive. Nullify the rest.
c
->
request_method
=
c
->
uri
=
c
->
http_version
=
c
->
query_string
=
NULL
;
c
->
request_method
=
c
->
uri
=
c
->
http_version
=
c
->
query_string
=
NULL
;
c
->
num_headers
=
c
->
status_code
=
c
->
is_websocket
=
c
->
content_len
=
0
;
c
->
num_headers
=
c
->
status_code
=
c
->
is_websocket
=
c
->
content_len
=
0
;
c
->
c
onnection_param
=
c
->
c
allback_param
=
NULL
;
c
->
callback_param
=
NULL
;
if
(
keep_alive
)
{
if
(
keep_alive
)
{
on_recv_data
(
conn
);
// Can call us recursively if pipelining is used
on_recv_data
(
conn
);
// Can call us recursively if pipelining is used
...
...
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