Skip to content

Commit

Permalink
Fixup after merging simple proxy proto into http/2 websockets
Browse files Browse the repository at this point in the history
Signed-off-by: Aleksey Mikhaylov <aym@tempesta-tech.com>
  • Loading branch information
ttaym committed Apr 22, 2022
1 parent 8c98171 commit 849a98c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 13 deletions.
11 changes: 0 additions & 11 deletions fw/http.c
Original file line number Diff line number Diff line change
Expand Up @@ -7278,17 +7278,6 @@ TfwMod tfw_http_mod = {
.specs = tfw_http_specs,
};

// /*
// * We do not use http fsm for message processing any more, but only for
// * frang checks, so to clearly show our intention we BUG() here.
// */
// static int
// tfw_http_msg_process_fsm(TfwConn *conn, TfwFsmData *data)
// {
// BUG();
// return 0;
// }

/*
* ------------------------------------------------------------------------
* init/exit
Expand Down
4 changes: 2 additions & 2 deletions fw/sock_clnt.c
Original file line number Diff line number Diff line change
Expand Up @@ -129,8 +129,8 @@ tfw_cli_conn_send(TfwCliConn *cli_conn, TfwMsg *msg)
{
int r;

print_hex_dump(KERN_ALERT, "mem: ", DUMP_PREFIX_ADDRESS,
16, 1, msg->skb_head->data, msg->skb_head->len, 1);
T_DBG3_BUF("bytes to client", msg->skb_head->data, msg->skb_head->len);

r = tfw_connection_send((TfwConn *)cli_conn, msg);
/*
* The lock is needed because the timer deletion was moved from release() to
Expand Down

0 comments on commit 849a98c

Please sign in to comment.