lib/connection.js
function(authFailHandler) {
    _timeout = null;
    const handshake = _receiveQueue.peekFront();
    authFailHandler(
      Errors.createError(
        'Connection timeout',
        true,
        info,
        '08S01',
        Errors.ER_CONNECTION_TIMEOUT,
        handshake ? handshake.stack : null
      )
    );
  }
function(authFailHandler) {
    _timeout = null;
    const handshake = _receiveQueue.peekFront();
    authFailHandler(
      Errors.createError(
        'Connection timeout',
        true,
        info,
        '08S01',
        Errors.ER_CONNECTION_TIMEOUT,
        handshake ? handshake.stack : null
      )
    );
  }
function ( authFailHandler ) { _timeout = null ; const handshake = _receiveQueue . peekFront ( ) ; authFailHandler ( Errors . createError ( 'Connection timeout' , true , info , '08S01' , Errors . ER_CONNECTION_TIMEOUT , handshake ? handshake . stack : null ) ) ; }
Handle connection timeout.

@private
Handle connection timeout .