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:
Jan Vidar Krey 2009-11-18 17:38:25 +01:00
parent a51e8830ce
commit 066b3f5243

View File

@ -91,6 +91,9 @@ static void probe_net_event(struct net_connection* con, int events, void *arg)
} }
else 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; return;
} }
#endif #endif