Now we can connect using secio.
This commit is contained in:
parent
f2e7c3c475
commit
656b0b50b7
1 changed files with 1 additions and 1 deletions
|
@ -61,7 +61,7 @@ void ipfs_null_connection (void *ptr)
|
||||||
|
|
||||||
libp2p_logger_log("null", LOGLEVEL_INFO, "Connection %d, count %d\n", connection_param->file_descriptor, *(connection_param->count));
|
libp2p_logger_log("null", LOGLEVEL_INFO, "Connection %d, count %d\n", connection_param->file_descriptor, *(connection_param->count));
|
||||||
|
|
||||||
if (libp2p_net_multistream_negotiate(session.insecure_stream)) {
|
if (libp2p_net_multistream_negotiate(session)) {
|
||||||
|
|
||||||
for(;;) {
|
for(;;) {
|
||||||
// check if they're looking for an upgrade (i.e. secio)
|
// check if they're looking for an upgrade (i.e. secio)
|
||||||
|
|
Loading…
Reference in a new issue