tsibelman / aws-signer-v4-dot-net

Sign HttpRequestMessage using AWS Signature v4 using request information and credentials.
Apache License 2.0
72 stars 27 forks source link

I have a deadlock issue, when multiple threads try to call the .Sign() method, what could be the issue? #32

Closed ltoshev closed 3 years ago

ltoshev commented 3 years ago

I don't see any locking code inside the sign method?

tsibelman commented 3 years ago

Most likely you trying to use it from non asyn code it will happen any time you sync over async

ronenfe commented 2 years ago

we are fixing now a deadlock issue when asp.net web forms is calling the signing and gets into deadlock. This should work in the version 1.0.4, please retest.