File tree Expand file tree Collapse file tree 2 files changed +1
-11
lines changed Expand file tree Collapse file tree 2 files changed +1
-11
lines changed Original file line number Diff line number Diff line change @@ -2895,16 +2895,7 @@ tfw_http_conn_release(TfwConn *conn)
2895
2895
*/
2896
2896
list_for_each_entry_safe (req , tmp , & zap_queue , fwd_list ) {
2897
2897
list_del_init (& req -> fwd_list );
2898
- if (TFW_MSG_H2 (req )) {
2899
- tfw_h2_req_unlink_and_close_stream (req );
2900
- }
2901
- else if (unlikely (!list_empty_careful (& req -> msg .seq_list ))) {
2902
- spin_lock_bh (& ((TfwCliConn * )req -> conn )-> seq_qlock );
2903
- if (unlikely (!list_empty (& req -> msg .seq_list )))
2904
- list_del_init (& req -> msg .seq_list );
2905
- spin_unlock_bh (& ((TfwCliConn * )req -> conn )-> seq_qlock );
2906
- }
2907
- tfw_http_conn_msg_free ((TfwHttpMsg * )req );
2898
+ tfw_http_conn_req_clean (req );
2908
2899
}
2909
2900
}
2910
2901
Original file line number Diff line number Diff line change @@ -1143,7 +1143,6 @@ tfw_http_msg_del_trailer_hdrs(TfwHttpMsg *hm)
1143
1143
*/
1144
1144
if (was_deleted )
1145
1145
__hdr_del_from_tbl (ht , hid );
1146
- -- ht -> off ;
1147
1146
} while (hid );
1148
1147
}
1149
1148
You can’t perform that action at this time.
0 commit comments