forked from Azure/azure-sdk-for-js
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Tables] Fix batch operations against emulators
In Azure#15938 we exposed the `allowInsecureConnection` option to allow connections to the service over HTTP instead of HTTPS. However, even if a table client was created allowing insecure connections, we would still require a secure connection when submitting a batch transaction, since the implementation of batch operations interact with the pipeline directly. We now record if the client was created allowing insecure connections and thread that information along when creating requests for batch operations. With this change, you can now submit batch transactions to storage emulators, which commonly run over HTTP instead of HTTPS. Fixes Azure#15854
- Loading branch information
Showing
3 changed files
with
13 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters