Commit ad228918 authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

Loose the session watermark

parent ffb8801b
......@@ -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];
......
......@@ -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
......
......@@ -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,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment