Skip to content

Remap content-length in streaming response headers.#874

Merged
calavera merged 1 commit intomainfrom
remap_streaming_content_length
Jul 17, 2025
Merged

Remap content-length in streaming response headers.#874
calavera merged 1 commit intomainfrom
remap_streaming_content_length

Conversation

@calavera
Copy link
Collaborator

Remove the content-length header to ensure the client doesn't terminate the connection when a function is streaming a response.

Fixes #862

Remove the content-length header to ensure the client doesn't terminate
the connection when a function is streaming a response.
@calavera calavera merged commit 3229e3f into main Jul 17, 2025
7 checks passed
@calavera calavera deleted the remap_streaming_content_length branch July 17, 2025 23:00
@github-actions
Copy link
Contributor

This pull request 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

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jul 17, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Adding "content-length" header to response causes closed connection.

1 participant