Skip to content

Commit

Permalink
docs: use shared HTTPConnection component (#5536)
Browse files Browse the repository at this point in the history
  • Loading branch information
Meschreiber authored Jun 27, 2024
1 parent 199b652 commit 9225e21
Showing 1 changed file with 1 addition and 20 deletions.
21 changes: 1 addition & 20 deletions docs/source/configuration/traffic-shaping.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -185,26 +185,7 @@ traffic_shaping:

### HTTP/2

The router supports subgraph connections over:
- HTTP/1.1
- HTTP/1.1 with TLS
- HTTP/2 with TLS
- HTTP/2 Cleartext protocol (h2c). This uses HTTP/2 over plaintext connections.

Use the table below to look up the resulting protocol of a subgraph connection, based on the subgraph URL and the `experimental_http2` option:

| | URL with `http://` | URL with `https://` |
| ------------------------- | ------------------- | --------------------------- |
| `experimental_http2: disable` | HTTP/1.1 | HTTP/1.1 with TLS |
| `experimental_http2: enable` | HTTP/1.1 | Either HTTP/1.1 or HTTP/2 with TLS, as determined by the TLS handshake with a subgraph |
| `experimental_http2: http2only` | h2c | HTTP/2 with TLS |
| `experimental_http2` not set | HTTP/1.1 | Either HTTP/1.1 or HTTP/2 with TLS, as determined by the TLS handshake with a subgraph |

<Note>

Configuring `experimental_http2: http2only` for a subgraph that doesn't support HTTP/2 results in a failed subgraph connection.

</Note>
<HttpConnection type="subgraph" />

### Ordering

Expand Down

0 comments on commit 9225e21

Please sign in to comment.