jl777 7 years ago
parent
commit
1b37018f37
  1. 2
      crypto777/nanosrc/core/global.c
  2. 2
      crypto777/nanosrc/transports/ws/sws.h

2
crypto777/nanosrc/core/global.c

@ -246,7 +246,7 @@ PNACL_msg("transports init\n");
nn_global_add_transport(nn_ipc); nn_global_add_transport(nn_ipc);
nn_global_add_transport(nn_tcp); nn_global_add_transport(nn_tcp);
nn_global_add_transport(nn_inproc); nn_global_add_transport(nn_inproc);
//nn_global_add_transport(nn_ws); nn_global_add_transport(nn_ws);
//nn_global_add_transport(nn_tcpmux); //nn_global_add_transport(nn_tcpmux);
//sleep(1); //sleep(1);
PNACL_msg("socktypes init\n"); PNACL_msg("socktypes init\n");

2
crypto777/nanosrc/transports/ws/sws.h

@ -152,7 +152,7 @@ struct nn_sws {
uint8_t inmsg_control [NN_SWS_PAYLOAD_MAX_LENGTH]; uint8_t inmsg_control [NN_SWS_PAYLOAD_MAX_LENGTH];
/* Reason this connection is closing to send as closing handshake. */ /* Reason this connection is closing to send as closing handshake. */
char fail_msg [NN_SWS_PAYLOAD_MAX_LENGTH]; uint8_t fail_msg [NN_SWS_PAYLOAD_MAX_LENGTH];
size_t fail_msg_len; size_t fail_msg_len;
/* State of the outbound state machine. */ /* State of the outbound state machine. */

Loading…
Cancel
Save