giometrix / Xtensible.TusDotNet.Azure

9 stars 5 forks source link

The System.Security.Cryptography.MD5 class is not thread safe, so it must be created on use. #8

Closed hallgeir-osterbo-visma closed 2 weeks ago

hallgeir-osterbo-visma commented 2 weeks ago

This fixes random crashes in multi-threaded applications (e.g. webapps) that uses this library with Tus where more than one upload is happening at the same time. Creating the instance has a slight overhead, but it is measured in microseconds or less.