Closed panboy75 closed 2 years ago
Thanks @panboy75 I appreciate you putting this together. Merging in now and will have a new version on NuGet shortly!
Commit: https://github.com/jchristn/WatsonWebserver/commit/40786d870024258f9eadd39dbb53347b0b7d3d42 NuGet: https://www.nuget.org/packages/Watson/4.2.2.7
Thanks again @panboy75 I really appreciate the PR!
I modified sendChunk() and sendFinalChunk() functions to send over 2gb files.
I added nDataSize parameter to send real data. nDataSize is the return value of ReadAsync() function. It's useful when it processes the last block.
MemoryStream can't deal over 2gb files. So I removed "MemoryStream _Data" variable. I could not find the purpose of _Data variable.
And I modified README.md file