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
{{ message }}
Repository navigation
Adding "content-length" header to response causes closed connection. #862
This is what I was looking for. There are usually a few ways to call the Lambda function, and unfortunately, they sometimes differ in behavior.
I think it'd be possible to remove the header from the response payload to prevent the server from closing the connection, I'll have to investigate it further.
Activity
calavera commentedon Jun 26, 2025
It's probably some modification AWS does at the proxy level. Which service are you integrating your Lambda function with?
Jimmy-Z commentedon Jun 26, 2025
Nothing, maybe I'm too new to AWS to understand the question, I deployed it on AWS, and call it as a function url.
calavera commentedon Jun 26, 2025
This is what I was looking for. There are usually a few ways to call the Lambda function, and unfortunately, they sometimes differ in behavior.
I think it'd be possible to remove the header from the response payload to prevent the server from closing the connection, I'll have to investigate it further.
github-actions commentedon Jul 17, 2025
This issue has been automatically locked. Create a new discussion if you'd like to continue the conversation. https://github.com/cargo-lambda/cargo-lambda/discussions/new?category=general
calavera commentedon Jul 18, 2025
Version 1.8.6 released with a fix for this issue: https://github.com/cargo-lambda/cargo-lambda/releases/tag/v1.8.6