fix(PortProxy): Fixed indentation issue and ensured proper cleanup of sockets in PortProxy
This commit is contained in:
parent
2be1c57dd7
commit
70f69ef1ea
@ -1,5 +1,11 @@
|
|||||||
# Changelog
|
# Changelog
|
||||||
|
|
||||||
|
## 2025-02-21 - 3.4.3 - fix(PortProxy)
|
||||||
|
Fixed indentation issue and ensured proper cleanup of sockets in PortProxy
|
||||||
|
|
||||||
|
- Fixed inconsistent indentation in IP allowance check.
|
||||||
|
- Ensured proper cleanup of sockets on connection end in PortProxy.
|
||||||
|
|
||||||
## 2025-02-21 - 3.4.2 - fix(smartproxy)
|
## 2025-02-21 - 3.4.2 - fix(smartproxy)
|
||||||
Enhance SSL/TLS handling with SNI and error logging
|
Enhance SSL/TLS handling with SNI and error logging
|
||||||
|
|
||||||
|
@ -3,6 +3,6 @@
|
|||||||
*/
|
*/
|
||||||
export const commitinfo = {
|
export const commitinfo = {
|
||||||
name: '@push.rocks/smartproxy',
|
name: '@push.rocks/smartproxy',
|
||||||
version: '3.4.2',
|
version: '3.4.3',
|
||||||
description: 'a proxy for handling high workloads of proxying'
|
description: 'a proxy for handling high workloads of proxying'
|
||||||
}
|
}
|
||||||
|
@ -150,6 +150,8 @@ export class PortProxy {
|
|||||||
to.on('end', () => {
|
to.on('end', () => {
|
||||||
cleanUpSockets(from, to);
|
cleanUpSockets(from, to);
|
||||||
});
|
});
|
||||||
|
};
|
||||||
|
|
||||||
this.netServer = server
|
this.netServer = server
|
||||||
.on('connection', handleConnection)
|
.on('connection', handleConnection)
|
||||||
.on('secureConnection', handleConnection)
|
.on('secureConnection', handleConnection)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user