Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow overriding requestHandler in BlobStorageS3Storage #2704

Merged
merged 3 commits into from
Nov 5, 2024

Conversation

thomasdax98
Copy link
Member

@thomasdax98 thomasdax98 commented Nov 4, 2024

Description

Allows overriding the requestHandler of the S3 client. Also the versions of @aws-sdk/client-s3 and @smithy/node-http-handler are fixed to avoid issue smithy-lang/smithy-typescript#1443.

Motivation

We are facing problems in customer projects when streaming videos. It seems that the socket connections are never closed when streaming a video from the S3 bucket. I want to override the requestHandler to debug this. This allows me to set custom timeouts and maxSockets (https://github.com/aws/aws-sdk-js-v3/blob/main/supplemental-docs/CLIENTS.md#request-handler-requesthandler).

@auto-assign auto-assign bot requested a review from johnnyomair November 4, 2024 11:56
@thomasdax98 thomasdax98 marked this pull request as draft November 4, 2024 11:56
@thomasdax98 thomasdax98 force-pushed the allow-overriding-requestHandler branch from f951f8a to 6906be1 Compare November 4, 2024 12:00
@thomasdax98 thomasdax98 marked this pull request as ready for review November 5, 2024 10:12
@thomasdax98 thomasdax98 requested review from dkarnutsch, johnnyomair, nsams and fraxachun and removed request for johnnyomair November 5, 2024 10:12
dkarnutsch
dkarnutsch previously approved these changes Nov 5, 2024
@thomasdax98 thomasdax98 merged commit 253aebb into main Nov 5, 2024
11 checks passed
@thomasdax98 thomasdax98 deleted the allow-overriding-requestHandler branch November 5, 2024 11:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants