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

fix(node-http-handler): skip sending body without waiting for a timeout on response, if "expect" request header with "100-continue" is provided #1459

Conversation

bolt-juri-gavshin
Copy link
Contributor

Issue #, if available:

Description of changes:

Currently, S3 in AWS-SDK uses "expect: 100-continue" header.
In case of errors, for example "403 Forbidden", the request fails only on timeout. This happens because while sendRequestBody is waiting for "continue" event, a "response" event is fired and "continue" is not fired at all.


By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

…ut on response, if "expect" request header with "100-continue" is provided
…ut on response, if "expect" request header with "100-continue" is provided
@bolt-juri-gavshin bolt-juri-gavshin requested a review from a team as a code owner November 22, 2024 15:56
@kuhe kuhe merged commit f4e1a45 into smithy-lang:main Nov 25, 2024
11 checks passed
@kuhe
Copy link
Contributor

kuhe commented Nov 25, 2024

I don't have an ETA, but it may be a few weeks before this is released due to Thanksgiving holiday and re:Invent.

@kuhe
Copy link
Contributor

kuhe commented Dec 9, 2024

This was published in v3.3.2 of @smithy/node-http-handler.

https://github.com/smithy-lang/smithy-typescript/blob/main/packages/node-http-handler/CHANGELOG.md

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