基于ATS6.1.1代码研究
一、配置文件参数解释
congestion.config
配置格式
primary_destination=value secondary_specifier=value tag=value
<1> primary_destination针对匹配上的请求生效此行配置,是必选项,且每行配置此配置项仅允许配置一次,支持选项如下
dest_domain: Arequested domain name. 域名
dest_host: A requested hostname. 主机名
dest_ip: A requested IP address. 主机IP
url_regex: Aregular expression (regex) to be found in a URL. 通过URL的正则表达式
<2> secondary_specifier是可选项,支持多选项配置,但同一个配置项不能重复配置
port: A requested URL port or range of ports. 请求的端口
prefix: A prefix in the path part of a URL. 请求URL路径的前缀
<3&