Skip to content

Support re-using HTTP connections with keepAlive in Proxy agent #243482

Description

@fengzhou-sg

Allow client to set keepAlive feature to re-use connections. Currently, keepAlive flag is skipped in issue #228872. This causes to keepAlive to be false at agent level, which prevents connection re-use for all endpoints (see nodejs Agent). While some servers may not support keep-alive well, globally disabling the flag seems too broad of impact. It would be great if clients can decide on whether to use keepAlive (through request's keepAlive) instead.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

bugIssue identified by VS Code Team member as probable bugproxyIssues regarding network proxies

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions