Fix protocol probe. Will detect ADC and TLS handshake - any other request
will simply cause the hub to close the connection. Conflicts: src/core/netevent.c src/core/probe.c
This commit is contained in:
parent
a51e8830ce
commit
066b3f5243
@ -91,6 +91,9 @@ static void probe_net_event(struct net_connection* con, int events, void *arg)
|
||||
}
|
||||
else
|
||||
{
|
||||
LOG_TRACE("Probed TLS %d.%d connection", (int) probe_recvbuf[1], (int) probe_recvbuf[2]);
|
||||
|
||||
net_con_ssl_handshake(con, NET_CON_SSL_MODE_SERVER);
|
||||
return;
|
||||
}
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user