We previously cancel/pause meta request by not making any new request, but wait for anything inflight to complete, which doesn't need to happen.
We want to cancel streams quickly without waiting for http level
Description of changes:
Keep a list of requests that have ongoing http level activities.
When cancel or pause invoked, go through the list and cancel the underlying http streams, which will actually cancel the request without waiting for HTTP req/resp to complete.
But, for MPU cancel, we still need to wait for abort MPU to complete.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
Issue #, if available:
Description of changes:
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.