This repository has been archived by the owner on Jul 11, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 52
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(balancer) option to return nested SRV name as hostname (#89)
* feat(balancer) option to return nested SRV name as hostname * change(balancer) getPeer returns the hostheader instead of the added hostname BREAKING: mostly the effect is the since `useSRVname` hasn't been released yet. The breaking part is that in case an IP address is added through `addHost`, the returned hostname by `getPeer` will now be `nil` where it previously was the IP address. Semantically the return value changed from the 'host' to the 'host-header' but as stated; changes only if it was an IP address to begin with. * feat(balancer) callback fadd/remove now also pass the host-header
- Loading branch information
Showing
4 changed files
with
104 additions
and
30 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
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