Skip to content

Commit 1628005

Browse files
authored
DOC-1050 Add disable_http2 field (#184)
1 parent 195509e commit 1628005

File tree

3 files changed

+39
-3
lines changed

3 files changed

+39
-3
lines changed

modules/components/pages/inputs/http_client.adoc

+13-1
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,7 @@ input:
9393
drop_on: []
9494
successful_on: []
9595
proxy_url: "" # No default (optional)
96+
disable_http2: false
9697
payload: "" # No default (optional)
9798
drop_empty_bodies: true
9899
stream:
@@ -749,7 +750,6 @@ A list of HTTP status codes that should be considered as successful, even if the
749750

750751
By default, all 2XX codes are considered successful unless they are specified in `backoff_on` or `drop_on` fields.
751752

752-
753753
*Type*: `array`
754754

755755
*Default*: `[]`
@@ -760,6 +760,18 @@ A HTTP proxy URL (optional).
760760

761761
*Type*: `string`
762762

763+
=== `disable_http2`
764+
765+
Whether to disable HTTP/2. By default, HTTP/2 is enabled.
766+
767+
*Type*: `bool`
768+
769+
*Default*: `false`
770+
771+
ifndef::env-cloud[]
772+
Requires version 4.47.0 or later
773+
endif::[]
774+
763775

764776
=== `payload`
765777

modules/components/pages/outputs/http_client.adoc

+13
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,7 @@ output:
9898
drop_on: []
9999
successful_on: []
100100
proxy_url: "" # No default (optional)
101+
disable_http2: false
101102
batch_as_multipart: false
102103
propagate_response: false
103104
max_in_flight: 64
@@ -836,6 +837,18 @@ A HTTP proxy URL (optional).
836837

837838
*Type*: `string`
838839

840+
=== `disable_http2`
841+
842+
Whether to disable HTTP/2. By default, HTTP/2 is enabled.
843+
844+
*Type*: `bool`
845+
846+
*Default*: `false`
847+
848+
ifndef::env-cloud[]
849+
Requires version 4.47.0 or later
850+
endif::[]
851+
839852

840853
=== `batch_as_multipart`
841854

modules/components/pages/processors/http.adoc

+13-2
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,7 @@ http:
9191
drop_on: []
9292
successful_on: []
9393
proxy_url: "" # No default (optional)
94+
disable_http2: false
9495
batch_as_multipart: false
9596
parallel: false
9697
```
@@ -592,8 +593,6 @@ The plain text certificate key to use.
592593

593594
include::components:partial$secret_warning.adoc[]
594595

595-
596-
597596
*Type*: `string`
598597

599598
*Default*: `""`
@@ -775,6 +774,18 @@ A HTTP proxy URL (optional).
775774

776775
*Type*: `string`
777776

777+
=== `disable_http2`
778+
779+
Whether to disable HTTP/2. By default, HTTP/2 is enabled.
780+
781+
*Type*: `bool`
782+
783+
*Default*: `false`
784+
785+
ifndef::env-cloud[]
786+
Requires version 4.47.0 or later
787+
endif::[]
788+
778789

779790
=== `batch_as_multipart`
780791

0 commit comments

Comments
 (0)