Commit f8d5f99
authored
Add OpAMP-Instance-UID request header (#284)
Resolves #270
The request header can be used by load balancers to implement
sticky connections and direct traffic from a particular Agent
instance to the same server, allowing for potential performance
optimizations.
The header is introduced as a SHOULD and not a MUST for the following
reasons:
- It allows us to avoid breaking compatibility.
Existing implementations that don't set the header are still
considered compliant.
- Reinforced the that servers cannot rely on guarantee that the
header will be set or that the connection stickiness will be
guaranteed and thus the server need to be prepared that
connection stickiness is only performance optimization but
not a 100% guarantee.
We are not using "X-" prefix for custom header. This practice was deprecated by https://datatracker.ietf.org/doc/html/rfc66481 parent 09e69db commit f8d5f99
1 file changed
+7
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
510 | 510 | | |
511 | 511 | | |
512 | 512 | | |
| 513 | + | |
| 514 | + | |
| 515 | + | |
| 516 | + | |
| 517 | + | |
| 518 | + | |
| 519 | + | |
513 | 520 | | |
514 | 521 | | |
515 | 522 | | |
| |||
0 commit comments