Skip to content

Commit

Permalink
Merge pull request #1110 from tempesta-tech/ri-resource-cleanups-on-e…
Browse files Browse the repository at this point in the history
…rrors

remove request from seq_list when errors occur
  • Loading branch information
i-rinat authored Nov 23, 2018
2 parents 774869c + 706c592 commit c7dc1fd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tempesta_fw/http.c
Original file line number Diff line number Diff line change
Expand Up @@ -2347,6 +2347,7 @@ tfw_http_resp_fwd(TfwHttpResp *resp)
TFW_DBG2("%s: Forwarding error: conn=[%p] resp=[%p]\n",
__func__, cli_conn, req->resp);
BUG_ON(!req->resp);
list_del_init(&req->msg.seq_list);
tfw_http_resp_pair_free(req);
TFW_INC_STAT_BH(serv.msgs_otherr);
}
Expand Down

0 comments on commit c7dc1fd

Please sign in to comment.