Node-SMB / marsaud-smb2

SMB2 Client
53 stars 46 forks source link

prevent stopping when get STATUS_PENDING from server #33

Open ilya-sens opened 6 years ago

ilya-sens commented 6 years ago

Similar to https://github.com/tracker1/node-smb2/blob/master/lib/api/createWriteStream.js#L82 I needed to be sure that STATUS_PENDING response won't cancel uploading file.

julien-f commented 6 years ago

The code you refers to is in createWriteStream but this change is related to writeFile, is it what you intended?