lib/asker.js
function breakRequest(retryReason) {
        clearTimeouts();

        // mark this request as rejected, response must not be built in this case
        httpRequest.rejected = true;
        // force agent "freeness" (e.g. release) in Node.js<0.12 and dump response object internally
        httpRequest.abort();

        if (retryReason) {
            // call for retry if retryReason provided
            self._retryHttpRequest(retryReason);
        }
    }
function breakRequest(retryReason) {
        clearTimeouts();

        // mark this request as rejected, response must not be built in this case
        httpRequest.rejected = true;
        // force agent "freeness" (e.g. release) in Node.js<0.12 and dump response object internally
        httpRequest.abort();

        if (retryReason) {
            // call for retry if retryReason provided
            self._retryHttpRequest(retryReason);
        }
    }
function breakRequest ( retryReason ) { clearTimeouts ( ) ; // mark this request as rejected, response must not be built in this case httpRequest . rejected = true ; // force agent "freeness" (e.g. release) in Node.js<0.12 and dump response object internally httpRequest . abort ( ) ; if ( retryReason ) { // call for retry if retryReason provided self . _retryHttpRequest ( retryReason ) ; } }
Breaks request execution and retry request if retryReason is provided
@param {AskerError} [retryReason]
Breaks request execution and retry request if retryReason is provided