Commit 72ef27f0 authored by Nils Goroll's avatar Nils Goroll

reflect another top request change in master

This reverts commit 532fdef2.

Ref:	d67993451bda7eeb7c0ea3c5528a8353f283a190
parent d880f973
......@@ -78,17 +78,10 @@ static void *
state_l(VRT_CTX, void *v, size_t sz)
{
struct vmod_priv *t;
struct ws *ws;
top_common(ctx, t, v);
if (ctx->req->top)
ws = ctx->req->top->topreq->ws;
else
ws = ctx->req->ws;
t->priv = WS_Alloc(ws, sz);
t->priv = WS_Alloc(ctx->req->topreq->ws, sz);
if (t->priv == NULL) {
VRT_fail(ctx, "out of workspace");
return (NULL);
......
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