Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Jonathan Coetzee
Knot Resolver
Commits
1fb0dcdd
Commit
1fb0dcdd
authored
Nov 15, 2015
by
Marek Vavruša
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
daemon: fixed leaking TCP handles when timeouted
parent
e25abc9c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
daemon/io.c
daemon/io.c
+3
-0
No files found.
daemon/io.c
View file @
1fb0dcdd
...
...
@@ -91,6 +91,9 @@ static void tcp_recv(uv_stream_t *handle, ssize_t nread, const uv_buf_t *buf)
if
(
handle
->
data
)
{
worker_exec
(
worker
,
(
uv_handle_t
*
)
handle
,
NULL
,
NULL
);
}
if
(
!
uv_is_closing
((
uv_handle_t
*
)
handle
))
{
uv_close
((
uv_handle_t
*
)
handle
,
handle_free
);
}
return
;
}
...
...
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