Skip to content

Commit f4a31d6

Browse files
committed
Don't send stale response in case of frang block
1 parent 5573786 commit f4a31d6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

fw/http.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6994,7 +6994,7 @@ tfw_http_resp_process(TfwConn *conn, TfwStream *stream, struct sk_buff *skb,
69946994
return T_OK;
69956995
}
69966996

6997-
if (tfw_http_resp_should_fwd_stale(bad_req, 502)) {
6997+
if (!filtout && tfw_http_resp_should_fwd_stale(bad_req, 502)) {
69986998
__tfw_http_resp_fwd_stale(hmresp);
69996999
/*
70007000
* Close connection with backend immediately

0 commit comments

Comments
 (0)