Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
varnish-cache
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
varnishcache
varnish-cache
Commits
ca76ef57
Commit
ca76ef57
authored
Nov 22, 2018
by
Nils Goroll
Committed by
Dridi Boukelmoune
Feb 06, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix the missing high fd tracking
parent
8564c979
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
mgt_child.c
bin/varnishd/mgt/mgt_child.c
+3
-0
No files found.
bin/varnishd/mgt/mgt_child.c
View file @
ca76ef57
...
...
@@ -191,6 +191,8 @@ mch_cli_panic_clear(struct cli *cli, const char * const *av, void *priv)
static
int
mgt_max_fd
;
#define CLOSE_FD_UP_TO (mgt_max_fd + 100)
// XXX should work now - engage?
//#define CLOSE_FD_UP_TO mgt_max_fd
#define CHECK_FD_UP_TO (CLOSE_FD_UP_TO + 100)
void
...
...
@@ -215,6 +217,7 @@ MCH_Fd_Inherit(int fd, const char *what)
{
assert
(
fd
>=
0
);
MCH_TrackHighFd
(
fd
);
if
(
fd_map
==
NULL
)
fd_map
=
vbit_new
(
128
);
AN
(
fd_map
);
...
...
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