Automattic / knox

S3 Lib
MIT License
1.74k stars 285 forks source link

getFile callback called more than once #302

Open cberigan opened 8 years ago

cberigan commented 8 years ago

I am seeing an odd behaviour where the callback is being fired more than once. This happens when the getFile request produces an 'Error: read ECONNRESET'. I've ran this multiple times and I get the same behaviour. I have also asked a question about it on stack overflow that has more detailed information about it. It is here

DullReferenceException commented 8 years ago

I believe this PR will fix this issue. I am seeing the same issue with .list() as well:

https://github.com/Automattic/knox/pull/312