fix(client): Fix socket hanging issues and add auto-drain feature
- Fixed socket hanging issues caused by unconsumed response bodies - Added automatic response body draining to prevent socket pool exhaustion - Made auto-drain configurable via autoDrain() method (enabled by default) - Updated all tests to properly consume response bodies - Enhanced documentation about response body consumption
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@push.rocks/smartrequest",
|
||||
"version": "4.2.0",
|
||||
"version": "4.2.1",
|
||||
"private": false,
|
||||
"description": "A module for modern HTTP/HTTPS requests with support for form data, file uploads, JSON, binary data, streams, and more.",
|
||||
"exports": {
|
||||
|
Reference in New Issue
Block a user