elasticio / sftp-component

SFTP component for the elastic.io platform
Apache License 2.0
2 stars 3 forks source link

Fix truncation bug. #24

Closed jhorbulyk closed 5 years ago

jhorbulyk commented 5 years ago

Current bug is caused by client asking for X amount of bytes but then having the server return X-1 bytes while the client still advances X bytes (instead of X-1). Bug is fixed in this unmerged PR: https://github.com/mscdex/ssh2-streams/pull/139 for a transitory package. Problem is solved for the moment by adding the fork with fix as an explicit dependency to our package.json file and then updating package-lock.json appropreately.