code: function(updater) {
          for (var i = 0; i < buffer.length; ++i) {
            var _cfg = updater(buffer[i].config);
            if (_cfg !== false)
              retryHttpRequest(_cfg, buffer[i].deferred);
          }
          buffer = [];
        }
docs: Retries all the buffered requests clears the buffer.