[node-http-handler 100-continue] When an error occurs in the request, there is no waiting time for the cotinue event #4799
Labels
bug
This issue is a bug.
closing-soon
This issue will automatically close in 4 days unless further comments are made.
p2
This is a standard priority issue
Checkboxes for prior research
Describe the bug
When an error occurs in the request, there is no waiting time for the cotinue event,
If the socketTimeout set is relatively long, Lambda will timeout
SDK version number
@aws-sdk/node-http-handler": "3.344.0"
Which JavaScript Runtime is this issue in?
Node.js
Details of the browser/Node.js/ReactNative version
v18.16.0
Reproduction Steps
Usually, uploading files only takes one minute, but sometimes Lambda times out
Observed Behavior
Lambda timeout
Expected Behavior
The file can be uploaded successfully
Possible Solution
Possible reason: When an error occurs in the request, there is no waiting time for the cotinue event, so the configured 15 minute timeout will be applied
packages/node-http-handler/src/write-request-body.ts
Additional Information/Context
v3.329.0 is work fine.
The text was updated successfully, but these errors were encountered: