Skip to content

Terminate upstream connection after every request/stream #7217

@conqerAtapple

Description

@conqerAtapple

Issue Template

Title: Feature request - Terminate upstream connection after every request/stream

Description:
Currently envoy keeps the connection open to upstream cluster. But we want to disable it. Already tried max_requests_per_connection:1 and max_concurrent_streams: 1. We want the upstream connection to close after every request.
One use case is: Upstream instance has multi-process model and uses SO_REUSEPORT to balance requests between connections. With one persistent connection open to a process, all requests will end up being served by same worker process.

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionQuestions that are neither investigations, bugs, nor enhancementsstalestalebot believes this issue/PR has not been touched recently

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions