Before calling http_parse_{sts,req}line(), it is necessary
to make msg->sol point to the beginning of the line. This
was not done, resulting in the proxy sometimes crashing when
URI rewriting or result rewriting was used.
txn->req.eoh += delta;
cur_end += delta;
+ txn->req.sol = req->data + txn->req.som;
cur_end = (char *)http_parse_reqline(&txn->req, req->data,
HTTP_MSG_RQMETH,
cur_ptr, cur_end + 1,
txn->rsp.eoh += delta;
cur_end += delta;
+ txn->rsp.sol = rtr->data + txn->rsp.som;
cur_end = (char *)http_parse_stsline(&txn->rsp, rtr->data,
HTTP_MSG_RPVER,
cur_ptr, cur_end + 1,