You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm getting this error:
Error: aborted
at connResetException (node:internal/errors:691:14)
at TLSSocket.socketCloseListener (node:_http_client:407:19)
at TLSSocket.emit (node:events:402:35)
at node:net:687:12
at TCP.done (node:_tls_wrap:580:7)
at TCP.callbackTrampoline (node:internal/async_hooks:130:17)
The text was updated successfully, but these errors were encountered:
function appenderTransform(appendText) {
return {
name: 'appender',
transform: function() {
return through2(function(chunk, enc, cb) {
console.log(chunk);
this.push(chunk + appendText);
cb();
});
}
}
}
proxy({
url: "/abc",
timeout: parseInt(req.headers.timeout) || DEFAULT_TIMEOUT,
originalQuery: req.originalUrl.indexOf("?") >= 0,
transforms :[appenderTransform('XYZ')]
})(req, res, next);
I'm getting this error:
Error: aborted
at connResetException (node:internal/errors:691:14)
at TLSSocket.socketCloseListener (node:_http_client:407:19)
at TLSSocket.emit (node:events:402:35)
at node:net:687:12
at TCP.done (node:_tls_wrap:580:7)
at TCP.callbackTrampoline (node:internal/async_hooks:130:17)
The text was updated successfully, but these errors were encountered: