2000字范文,分享全网优秀范文,学习好帮手!
2000字范文 > congestion源码解读

congestion源码解读

时间:2023-06-07 04:04:53

相关推荐

congestion源码解读

基于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&

本内容不代表本网观点和政治立场,如有侵犯你的权益请联系我们处理。
网友评论
网友评论仅供其表达个人看法,并不表明网站立场。