Releases: tomphttp/bare-server-node
Releases · tomphttp/bare-server-node
v2.0.1
v2.0.0
v1.2.6
v1.2.3
- Added new options:
httpAgent
&httpsAgent
- You can now specify the agents used when making requestslookup
- You can now control the DNS lookup made if the agent doesn't handle it (called everytime except when going to direct IP addresses)filterRemote
- You can now block a remote based on the values (useful if you're blocking direct IP addresses)family
- You can now specify the IP family used when making resolutions.database
- You can now use a custom database for storing v1/v2 metadata.
v1.2.2
- fixed build
--version
param added
from v1.2.1:
-
Request/Upgrade leaks fixed
This issue has in turned caused memory leaks and ridiculously high CPU usage. This leak has been unnoticed ever since the first release. Performance issues before this were dismissed as DDoS attacks or other scripts.
Older mitigations for this include: -
putting a memory limit on the bare server
-
running it in clusters
-
periodically restarting it
This release addresses the socket leak and therefore is the most reliable and preferred mitigation.