From fae6e98da1edf7707af6808093d6e16a6025a122 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Tue, 24 Oct 2023 15:40:41 -0500 Subject: [PATCH] [Backport 8.11] Add important flag to proxy config docs (#2043) (cherry picked from commit f7ed0394bfac6adfaaf8b9bd1b4d2ed67c1db554) Co-authored-by: Josh Mock --- docs/connecting.asciidoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/connecting.asciidoc b/docs/connecting.asciidoc index dab9bc4c6..5e1bd2366 100644 --- a/docs/connecting.asciidoc +++ b/docs/connecting.asciidoc @@ -539,7 +539,7 @@ If you need to pass through an http(s) proxy for connecting to {es}, the client out of the box offers a handy configuration for helping you with it. Under the hood, it uses the https://github.com/delvedor/hpagent[`hpagent`] module. -In versions 8.0+ of the client, the default `Connection` type is set to `UndiciConnection`, which does not support proxy configurations. +IMPORTANT: In versions 8.0+ of the client, the default `Connection` type is set to `UndiciConnection`, which does not support proxy configurations. To use a proxy, you will need to use the `HttpConnection` class from `@elastic/transport` instead. [source,js]