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
f374ac5f
Commit
f374ac5f
authored
7 years ago
by
Deomid Ryabkov
Committed by
Cesanta Bot
7 years ago
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Do not close already closed connection
PUBLISHED_FROM=9e345f2319141f20b89e28a2d29adba21ea213e1
parent
02707364
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 @
f374ac5f
...
@@ -14230,7 +14230,7 @@ static err_t mg_lwip_tcp_recv_cb(void *arg, struct tcp_pcb *tpcb,
...
@@ -14230,7 +14230,7 @@ static err_t mg_lwip_tcp_recv_cb(void *arg, struct tcp_pcb *tpcb,
struct
mg_connection
*
nc
=
(
struct
mg_connection
*
)
arg
;
struct
mg_connection
*
nc
=
(
struct
mg_connection
*
)
arg
;
DBG
((
"%p %p %u %d"
,
nc
,
tpcb
,
(
p
!=
NULL
?
p
->
tot_len
:
0
),
err
));
DBG
((
"%p %p %u %d"
,
nc
,
tpcb
,
(
p
!=
NULL
?
p
->
tot_len
:
0
),
err
));
if
(
p
==
NULL
)
{
if
(
p
==
NULL
)
{
if
(
nc
!=
NULL
)
{
if
(
nc
!=
NULL
&&
!
(
nc
->
flags
&
MG_F_CLOSE_IMMEDIATELY
)
)
{
mg_lwip_post_signal
(
MG_SIG_CLOSE_CONN
,
nc
);
mg_lwip_post_signal
(
MG_SIG_CLOSE_CONN
,
nc
);
}
else
{
}
else
{
/* Tombstoned connection, do nothing. */
/* Tombstoned connection, do nothing. */
...
...
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