Commit 5d383b0b authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

size req->vsl using the proper parameter.

parent 037e9dc2
......@@ -401,7 +401,7 @@ SES_GetReq(struct worker *wrk, struct sess *sp)
p = (void*)PRNDUP(p);
assert(p < e);
sz = cache_param->workspace_thread;
sz = cache_param->vsl_buffer;
VSL_Setup(req->vsl, p, sz);
req->vsl->wid = VXID_Get(&wrk->vxid_pool) | VSL_CLIENTMARKER;
VSLb(req->vsl, SLT_Begin, "req %u", sp->vxid & VSL_IDENTMASK);
......
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