You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The SDK by default is built with exceptions disabled, therefore the SDK is unable to catch exceptions thrown by user handlers. Please note that with exceptions disabled, the compiler may also skip exception handling generation, leaving your application process in the undefined behavior state.
This is a feature request to support building with exception handling enabled in the SDK, as well as catching and handling exceptions thrown by different components, including user callbacks/handlers.
Describe the bug
When subclassing from Aws::Http::CurlHttpClient and overriding OverrideOptionsOnConnectionHandle, if this method throws an exception:
Expected Behavior
An exception, including STL exceptions, thrown from the method is handled in a way that cleans up the connection attempt appropriately
Current Behavior
Relevant call stack:
Reproduction Steps
Tested on Windows; setting the native CA option is required there to get the requests to succeed.
Possible Solution
Additional Information/Context
An official mechanism for
OverrideOptionsOnConnectionHandle
to report a failure would also help.AWS CPP SDK version used
1.11.116
Compiler and Version used
Visual Studio 2022: Microsoft (R) C/C++ Optimizing Compiler Version 19.41.34123 for x64
Operating System and version
Windows 11
The text was updated successfully, but these errors were encountered: