Commit ec3097a5 authored by Poul-Henning Kamp's avatar Poul-Henning Kamp Committed by Tollef Fog Heen

Reset the "built vary spec" (also) if we came back from the waiting

list, otherwise it might turn into garbage.

Fixes	#994
Fixes	#1001
parent a75c5e51
...@@ -1080,10 +1080,12 @@ cnt_lookup(struct sess *sp) ...@@ -1080,10 +1080,12 @@ cnt_lookup(struct sess *sp)
AZ(sp->vary_l); AZ(sp->vary_l);
AZ(sp->vary_e); AZ(sp->vary_e);
(void)WS_Reserve(sp->ws, 0); (void)WS_Reserve(sp->ws, 0);
sp->vary_b = (void*)sp->ws->f; } else {
sp->vary_e = (void*)sp->ws->r; AN(sp->ws->r);
sp->vary_b[2] = '\0';
} }
sp->vary_b = (void*)sp->ws->f;
sp->vary_e = (void*)sp->ws->r;
sp->vary_b[2] = '\0';
oc = HSH_Lookup(sp, &oh); oc = HSH_Lookup(sp, &oh);
......
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