Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add a nslookup_pref global parameter
This parameter allows to change the name resolution and connection preference for fcgi servers and revproxy URLs. It takes a list of the form [inet | inet6]. For instance, to perform only IPv4 resolution: nslookup_pref = [inet] To perform both IPv4 and IPv6, but try IPv6 first: nslookup_pref = [inet6, inet] The default value is [inet]. Therefore, the behavior remains the same with this addition. This parameter is used by two new functions: o yaws:tcp_connect/{3,4} o yaws:ssl_connect/{3,4} They are wrappers around gen_tcp:connect/{3,4} and ssl:connect/{3,4} and take care of connection retries for each configured family.
- Loading branch information
Showing
9 changed files
with
212 additions
and
19 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
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
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