Convert BUG_ON_HOT() statements to BUG_ON() if HTX start-line is either
missing or duplicated when transcoding into a HTTP/3 request. This
ensures that such abnormal conditions will be detected even on default
builds.
This is linked to coverity report #3008.
break;
case HTX_BLK_REQ_SL:
- BUG_ON_HOT(sl); /* Only one start-line expected */
+ BUG_ON(sl); /* Only one start-line expected */
sl = htx_get_blk_ptr(htx, blk);
meth = htx_sl_req_meth(sl);
uri = htx_sl_req_uri(sl);
}
end_loop:
- BUG_ON_HOT(!sl); /* start-line must be present. */
+ BUG_ON(!sl); /* start-line must be present. */
/* marker for end of headers */
list[hdr].n = ist("");