forked from aws/aws-sdk-php
-
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.
Various enhancements related to aws#604
This commit makes a few enhancements to the SDK based on aws#604: 1. Context parameters like cache and client are now removed from the parameters that are sent when executing commands in the S3 stream wrapper. When these parameters were present, they resulted in lengthy debug messages with the TraceMiddleware, and even caused stream resources to enter an invalid state after dumping them. 2. Updated TraceMiddleware to better provide debug information about exceptions. These debug messages previously var_dump'd the exception, causing a massive dump to the debug output. This is now handled by extracting specific pieces of information from exceptions and formatting in a more readable way. 3. Added a try/catch to the signature version 4 signer such that if a stream claims it's readable, but creating the hash fails for some reason, and CouldNotCreateChecksumException will still be thrown, which will provide more context as to why the checksum failed to create.
- Loading branch information
Showing
6 changed files
with
100 additions
and
26 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
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