Genbox / SimpleS3

A .NET Core implementation of Amazon's S3 API with focus on simplicity, security and performance
MIT License
50 stars 8 forks source link

Check for cancelled CancellationToken in DefaultHandler #12

Closed LordMike closed 4 years ago

LordMike commented 4 years ago

At several steps before sending a request to the network driver, it could be beneficial to do a token.ThrowIfCancellationRequested(), to avoid doing extra work if the token was cancelled before time.