Skip to content

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

@fengzhou-sg

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.

Metadata

Metadata

Assignees

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