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
037e9dc2
Commit
037e9dc2
authored
Oct 29, 2013
by
Poul-Henning Kamp
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Minor nits.
parent
36ad06ef
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
cache_session.c
bin/varnishd/cache/cache_session.c
+1
-1
mgt_child.c
bin/varnishd/mgt/mgt_child.c
+2
-2
No files found.
bin/varnishd/cache/cache_session.c
View file @
037e9dc2
...
@@ -464,7 +464,7 @@ SES_NewPool(struct pool *wp, unsigned pool_no)
...
@@ -464,7 +464,7 @@ SES_NewPool(struct pool *wp, unsigned pool_no)
pp
->
mpl_req
=
MPL_New
(
nb
,
&
cache_param
->
req_pool
,
pp
->
mpl_req
=
MPL_New
(
nb
,
&
cache_param
->
req_pool
,
&
cache_param
->
workspace_client
);
&
cache_param
->
workspace_client
);
bprintf
(
nb
,
"sess%u"
,
pool_no
);
bprintf
(
nb
,
"sess%u"
,
pool_no
);
ses_size
=
sizeof
(
struct
sess
)
+
vsa_suckaddr_len
*
2
;
ses_size
=
sizeof
(
struct
sess
)
+
vsa_suckaddr_len
*
2
L
;
pp
->
mpl_sess
=
MPL_New
(
nb
,
&
cache_param
->
sess_pool
,
&
ses_size
);
pp
->
mpl_sess
=
MPL_New
(
nb
,
&
cache_param
->
sess_pool
,
&
ses_size
);
return
(
pp
);
return
(
pp
);
}
}
...
...
bin/varnishd/mgt/mgt_child.c
View file @
037e9dc2
...
@@ -316,7 +316,7 @@ child_poker(const struct vev *e, int what)
...
@@ -316,7 +316,7 @@ child_poker(const struct vev *e, int what)
*/
*/
static
void
__match_proto__
()
static
void
__match_proto__
()
mgt
_sigsegv_handler
(
int
s
,
siginfo_t
*
si
,
void
*
c
)
child
_sigsegv_handler
(
int
s
,
siginfo_t
*
si
,
void
*
c
)
{
{
char
buf
[
1024
];
char
buf
[
1024
];
...
@@ -414,7 +414,7 @@ mgt_launch_child(struct cli *cli)
...
@@ -414,7 +414,7 @@ mgt_launch_child(struct cli *cli)
if
(
mgt_param
.
sigsegv_handler
)
{
if
(
mgt_param
.
sigsegv_handler
)
{
memset
(
&
sa
,
0
,
sizeof
sa
);
memset
(
&
sa
,
0
,
sizeof
sa
);
sa
.
sa_sigaction
=
mgt
_sigsegv_handler
;
sa
.
sa_sigaction
=
child
_sigsegv_handler
;
sa
.
sa_flags
=
SA_SIGINFO
;
sa
.
sa_flags
=
SA_SIGINFO
;
(
void
)
sigaction
(
SIGSEGV
,
&
sa
,
NULL
);
(
void
)
sigaction
(
SIGSEGV
,
&
sa
,
NULL
);
}
}
...
...
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