@push.rocks/smartproxy 3.28.3 → 3.28.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
export const commitinfo = {
|
|
5
5
|
name: '@push.rocks/smartproxy',
|
|
6
|
-
version: '3.28.
|
|
6
|
+
version: '3.28.6',
|
|
7
7
|
description: 'A powerful proxy package that effectively handles high traffic, with features such as SSL/TLS support, port proxying, WebSocket handling, and dynamic routing with authentication options.'
|
|
8
8
|
};
|
|
9
9
|
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiMDBfY29tbWl0aW5mb19kYXRhLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vdHMvMDBfY29tbWl0aW5mb19kYXRhLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBOztHQUVHO0FBQ0gsTUFBTSxDQUFDLE1BQU0sVUFBVSxHQUFHO0lBQ3hCLElBQUksRUFBRSx3QkFBd0I7SUFDOUIsT0FBTyxFQUFFLFFBQVE7SUFDakIsV0FBVyxFQUFFLDRMQUE0TDtDQUMxTSxDQUFBIn0=
|
|
@@ -43,6 +43,9 @@ export interface IPortProxySettings extends plugins.tls.TlsOptions {
|
|
|
43
43
|
enableRandomizedTimeouts?: boolean;
|
|
44
44
|
maxConnectionsPerIP?: number;
|
|
45
45
|
connectionRateLimitPerMinute?: number;
|
|
46
|
+
keepAliveTreatment?: 'standard' | 'extended' | 'immortal';
|
|
47
|
+
keepAliveInactivityMultiplier?: number;
|
|
48
|
+
extendedKeepAliveLifetime?: number;
|
|
46
49
|
}
|
|
47
50
|
export declare class PortProxy {
|
|
48
51
|
private netServers;
|
|
@@ -75,10 +78,6 @@ export declare class PortProxy {
|
|
|
75
78
|
* Track connection termination statistic
|
|
76
79
|
*/
|
|
77
80
|
private incrementTerminationStat;
|
|
78
|
-
/**
|
|
79
|
-
* Get connection timeout based on domain config or default settings
|
|
80
|
-
*/
|
|
81
|
-
private getConnectionTimeout;
|
|
82
81
|
/**
|
|
83
82
|
* Cleans up a connection record.
|
|
84
83
|
* Destroys both incoming and outgoing sockets, clears timers, and removes the record.
|
|
@@ -94,6 +93,10 @@ export declare class PortProxy {
|
|
|
94
93
|
* Get target IP with round-robin support
|
|
95
94
|
*/
|
|
96
95
|
private getTargetIP;
|
|
96
|
+
/**
|
|
97
|
+
* Initiates cleanup once for a connection
|
|
98
|
+
*/
|
|
99
|
+
private initiateCleanupOnce;
|
|
97
100
|
/**
|
|
98
101
|
* Main method to start the proxy
|
|
99
102
|
*/
|