tomas / needle

Nimble, streamable HTTP client for Node.js. With proxy, iconv, cookie, deflate & multipart support.
https://www.npmjs.com/package/needle
MIT License
1.62k stars 235 forks source link

Remote end closed socket abruptly errors #413

Closed weiyin closed 1 year ago

weiyin commented 2 years ago

Hi,

We are randomly getting the error "Remote end closed socket abruptly" when streaming a download to a file. It looks like this commit fixes it: https://github.com/tomas/needle/commit/f92aee88d95c669197cc5ae5407174def54d8523

Can you create a new release?

snyderj commented 2 years ago

+1

tomas commented 1 year ago

v3.2.0 is up! Sorry for the long wait. :)