Skip to content

Commit

Permalink
Expose API for setting connection attributes in WS module
Browse files Browse the repository at this point in the history
Fix so that tcp_persistent_flag in registrar also works for WS connections

(cherry picked from commit a57d67f)
  • Loading branch information
vladpaiu committed May 20, 2015
1 parent 59145d2 commit 320c825
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions modules/proto_ws/proto_ws.c
Expand Up @@ -98,6 +98,7 @@ static int proto_ws_init(struct proto_info *pi)

pi->tran.init_listener = proto_ws_init_listener;
pi->tran.send = proto_ws_send;
pi->tran.dst_attr = tcp_conn_fcntl;

pi->net.flags = PROTO_NET_USE_TCP;
pi->net.read = (proto_net_read_f)ws_read_req;
Expand Down

0 comments on commit 320c825

Please sign in to comment.