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

Add various flags to the panic output

parent 05b386b7
......@@ -242,6 +242,17 @@ pan_sess(const struct sess *sp)
VSB_printf(vsp, " restarts = %d, esi_level = %d\n",
sp->restarts, sp->esi_level);
VSB_printf(vsp, " flags = ");
if (sp->wrk->do_stream) VSB_printf(vsp, " do_stream");
if (sp->wrk->do_gzip) VSB_printf(vsp, " do_gzip");
if (sp->wrk->do_gunzip) VSB_printf(vsp, " do_gunzip");
if (sp->wrk->do_esi) VSB_printf(vsp, " do_esi");
if (sp->wrk->do_close) VSB_printf(vsp, " do_close");
if (sp->wrk->is_gzip) VSB_printf(vsp, " is_gzip");
if (sp->wrk->is_gunzip) VSB_printf(vsp, " is_gunzip");
VSB_printf(vsp, "\n");
VSB_printf(vsp, " bodystatus = %d\n", sp->wrk->body_status);
pan_ws(sp->ws, 2);
pan_http("req", sp->http, 2);
......
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