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
fc8e57f6
Commit
fc8e57f6
authored
Mar 19, 2015
by
Poul-Henning Kamp
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Eliminate a unused field in struct sess
parent
3a22b09f
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
3 deletions
+1
-3
cache.h
bin/varnishd/cache/cache.h
+0
-1
cache_session.c
bin/varnishd/cache/cache_session.c
+1
-2
No files found.
bin/varnishd/cache/cache.h
View file @
fc8e57f6
...
...
@@ -659,7 +659,6 @@ struct sess {
enum
sess_step
sess_step
;
struct
lock
mtx
;
int
fd
;
enum
sess_close
reason
;
uint32_t
vxid
;
/* Cross references ------------------------------------------*/
...
...
bin/varnishd/cache/cache_session.c
View file @
fc8e57f6
...
...
@@ -365,7 +365,6 @@ SES_Close(struct sess *sp, enum sess_close reason)
int
i
;
assert
(
sp
->
fd
>=
0
);
sp
->
reason
=
reason
;
i
=
close
(
sp
->
fd
);
assert
(
i
==
0
||
errno
!=
EBADF
);
/* XXX EINVAL seen */
sp
->
fd
=
-
1
;
...
...
@@ -397,7 +396,7 @@ SES_Delete(struct sess *sp, enum sess_close reason, double now)
assert
(
VTAILQ_EMPTY
(
&
sp
->
privs
->
privs
));
VSL
(
SLT_SessClose
,
sp
->
vxid
,
"%s %.3f"
,
sess_close_2str
(
sp
->
reason
,
0
),
now
-
sp
->
t_open
);
sess_close_2str
(
reason
,
0
),
now
-
sp
->
t_open
);
VSL
(
SLT_End
,
sp
->
vxid
,
"%s"
,
""
);
Lck_Delete
(
&
sp
->
mtx
);
...
...
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