Skip to content

Commit 684fb94

Browse files
committed
fixup! Replace GFSM calls with direct calls to TLS and HTTP
chore: fix followed PR comments
1 parent df36869 commit 684fb94

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

fw/http_frame.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ int tfw_h2_init(void);
204204
void tfw_h2_cleanup(void);
205205
int tfw_h2_context_init(TfwH2Ctx *ctx);
206206
void tfw_h2_context_clear(TfwH2Ctx *ctx);
207-
int tfw_h2_frame_process(TfwConn *c, struct sk_buff *skb);
207+
int tfw_h2_frame_process(void *c, struct sk_buff *skb);
208208
void tfw_h2_conn_streams_cleanup(TfwH2Ctx *ctx);
209209
unsigned int tfw_h2_stream_id(TfwHttpReq *req);
210210
unsigned int tfw_h2_stream_id_close(TfwHttpReq *req, unsigned char type,

fw/tls.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,6 @@ int tfw_tls_cfg_alpn_protos(const char *cfg_str, bool *deprecated);
2929
void tfw_tls_free_alpn_protos(void);
3030
int tfw_tls_encrypt(struct sock *sk, struct sk_buff *skb, unsigned int limit);
3131

32-
int tfw_tls_msg_process(TfwConn *conn, struct sk_buff *skb);
32+
int tfw_tls_msg_process(void *conn, struct sk_buff *skb);
3333

3434
#endif /* __TFW_TLS_H__ */

0 commit comments

Comments
 (0)