Skip to content

Commit

Permalink
fixup! Upgrade connection to websocket and provision new connection
Browse files Browse the repository at this point in the history
  • Loading branch information
ttaym committed Mar 18, 2022
1 parent 71098e1 commit baa327a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
4 changes: 0 additions & 4 deletions fw/http.c
Original file line number Diff line number Diff line change
Expand Up @@ -108,10 +108,6 @@
#include "sync_socket.h"
#include "lib/common.h"

void tfw_sock_srv_connect_try(TfwSrvConn *srv_conn);
void tfw_sock_srv_conn_activate(TfwServer *srv, TfwSrvConn *srv_conn);
TfwSrvConn *tfw_sock_srv_new_conn(TfwServer *srv);

#define S_H2_METHOD ":method"
#define S_H2_SCHEME ":scheme"
#define S_H2_AUTH ":authority"
Expand Down
5 changes: 5 additions & 0 deletions fw/server.h
Original file line number Diff line number Diff line change
Expand Up @@ -344,4 +344,9 @@ TfwScheduler *tfw_sched_lookup(const char *name);
int tfw_sched_register(TfwScheduler *sched);
void tfw_sched_unregister(TfwScheduler *sched);

/* Public sock_srv routings */
void tfw_sock_srv_connect_try(TfwSrvConn *srv_conn);
void tfw_sock_srv_conn_activate(TfwServer *srv, TfwSrvConn *srv_conn);
TfwSrvConn *tfw_sock_srv_new_conn(TfwServer *srv);

#endif /* __SERVER_H__ */

0 comments on commit baa327a

Please sign in to comment.