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
ad228918
Commit
ad228918
authored
Dec 20, 2011
by
Poul-Henning Kamp
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Loose the session watermark
parent
ffb8801b
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
2 additions
and
6 deletions
+2
-6
cache.h
bin/varnishd/cache/cache.h
+0
-1
cache_acceptor.c
bin/varnishd/cache/cache_acceptor.c
+1
-1
cache_center.c
bin/varnishd/cache/cache_center.c
+1
-4
No files found.
bin/varnishd/cache/cache.h
View file @
ad228918
...
...
@@ -611,7 +611,6 @@ struct sess {
struct
http
*
http0
;
struct
ws
ws
[
1
];
char
*
ws_ses
;
/* WS above session data */
char
*
ws_req
;
/* WS above request data */
unsigned
char
digest
[
DIGEST_LEN
];
...
...
bin/varnishd/cache/cache_acceptor.c
View file @
ad228918
...
...
@@ -32,7 +32,7 @@
* The actual acceptance is done from cache_pool.c, by calling
* into VCA_Accept() in this file.
*
* Once the session is allocated we move into it with a call to
* Once the session is allocated we move into it with a call to
* VCA_SetupSess().
*
* If we fail to allocate a session we call VCA_FailSess() to clean up
...
...
bin/varnishd/cache/cache_center.c
View file @
ad228918
...
...
@@ -414,7 +414,7 @@ WSP(sp, SLT_Debug, "PHK req %.9f resp %.9f end %.9f open %.9f",
if
(
wrk
->
stats
.
client_req
>=
cache_param
->
wthread_stats_rate
)
WRK_SumStat
(
wrk
);
/* Reset the workspace to the session-watermark */
WS_Reset
(
sp
->
ws
,
sp
->
ws_ses
);
WS_Reset
(
sp
->
ws
,
NULL
);
WS_Reset
(
wrk
->
ws
,
NULL
);
i
=
HTC_Reinit
(
sp
->
htc
);
...
...
@@ -1039,9 +1039,6 @@ cnt_first(struct sess *sp)
}
sp
->
acct_ses
.
first
=
sp
->
t_open
;
/* Record the session watermark */
sp
->
ws_ses
=
WS_Snapshot
(
sp
->
ws
);
/* Receive a HTTP protocol request */
HTC_Init
(
sp
->
htc
,
sp
->
ws
,
sp
->
fd
,
sp
->
vsl_id
,
cache_param
->
http_req_size
,
...
...
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