fix(core): update

This commit is contained in:
Philipp Kunz 2022-08-01 12:55:00 +02:00
parent be4fd0978a
commit 748b07efe2
2 changed files with 2 additions and 1 deletions

View File

@ -3,6 +3,6 @@
*/ */
export const commitinfo = { export const commitinfo = {
name: '@pushrocks/smartproxy', name: '@pushrocks/smartproxy',
version: '3.0.31', version: '3.0.32',
description: 'a proxy for handling high workloads of proxying' description: 'a proxy for handling high workloads of proxying'
} }

View File

@ -128,6 +128,7 @@ JNj2Dr5H0XoLFFnvuvzcRbhlJ9J67JzR+7g=
) => { ) => {
res.writeHead(statusArg, messageArg); res.writeHead(statusArg, messageArg);
res.end(messageArg); res.end(messageArg);
res.destroy();
}; };
console.log(`got request: ${req.headers.host}${plugins.url.parse(req.url).path}`); console.log(`got request: ${req.headers.host}${plugins.url.parse(req.url).path}`);