-
Notifications
You must be signed in to change notification settings - Fork 616
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Issue #280: Extend Forwarded header with protocol data
This patch adds an 'httpproto' field which contains the lower case version of the HTTP protocol to the Forwarded header of all upstream requests. When fabio terminates the TLS connection two additional fields 'tlsver' and 'tlscipher' are added to the Forwarded field. 'tlsver' contains the TLS version as 'tlscipher' the chosen cipher suite. The cipher suite is formatted as a hex number from https://golang.org/pkg/crypto/tls/#pkg-constants. Fixes #280
- Loading branch information
1 parent
716c337
commit 5febab6
Showing
2 changed files
with
83 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters