Commit c8a59044 authored by Dag Haavi Finstad's avatar Dag Haavi Finstad

h2: Do a VSL_Flush prior to changing vsl->wid

This ensures we don't end up with a VSL batched record with conflicting
ids, which breaks the -g grouping modes.
parent 2b878a32
......@@ -94,6 +94,7 @@ h2_new_sess(const struct worker *wrk, struct sess *sp, struct req *srq)
h2->htc = srq->htc;
h2->ws = srq->ws;
h2->vsl = srq->vsl;
VSL_Flush(h2->vsl, 0);
h2->vsl->wid = sp->vxid;
h2->htc->rfd = &sp->fd;
h2->sess = sp;
......
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