ssb: Hook up some more disconnect messaging.
This commit is contained in:
@ -315,7 +315,9 @@ static void _tf_ssb_rpc_tunnel_callback(tf_ssb_connection_t* connection, uint8_t
|
||||
if (flags & k_ssb_rpc_flag_end_error)
|
||||
{
|
||||
tf_ssb_connection_remove_request(connection, request_number);
|
||||
tf_ssb_connection_close(tun->connection);
|
||||
char buffer[1024];
|
||||
snprintf(buffer, sizeof(buffer), "error from tunnel: %.*s", (int)size, message);
|
||||
tf_ssb_connection_close(tun->connection, buffer);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
Reference in New Issue
Block a user