BIND9 递归查询超时机制
来源:互联网 发布:淘宝上老款诺基亚来源 编辑:程序博客网 时间:2024/05/29 07:32
static inline voidfctx_setretryinterval(fetchctx_t *fctx, unsigned int rtt) {unsigned int seconds;unsigned int us;/* * We retry every .8 seconds the first two times through the address * list, and then we do exponential back-off. */if (fctx->restarts < 3)us = 800000;elseus = (800000 << (fctx->restarts - 2));/* * Double the round-trip time. */rtt *= 2;/* * Always wait for at least the doubled round-trip time. */if (us < rtt)us = rtt;/* * But don't ever wait for more than 10 seconds. */if (us > 10000000)us = 10000000;seconds = us / 1000000;us -= seconds * 1000000;isc_interval_set(&fctx->interval, seconds, us * 1000);}
- BIND9 递归查询超时机制
- windows DNS 服务器递归查询超时机制
- BIND9的架构与机制笔记1
- Android超时机制
- Android超时机制
- Android超时机制
- selenium 超时机制
- Socket超时机制
- Android超时机制
- 读写串口超时机制
- nginx 超时机制
- Netty的超时机制
- 超时机制处理
- Android超时机制处理
- Netty的超时机制
- freeswitch注册超时机制
- haproxy 超时机制
- RPC超时机制
- POJ1274 The Perfect Stall 简单最大二分匹配
- eclipse3.7+resin4.0集成配置小结
- 第一个ActionScript3.0语言的文字小游戏【古惑仔之人在江湖】
- 关于contiki下rest-example的问题,和led这个resource如何跑的问题(绝对原创)
- DSP系统是硬实时系统
- BIND9 递归查询超时机制
- asp.net页面传值的几种方式
- 最近学习tcp的一些感触
- 怀念Delphi--希望它能雄起!
- 队列,数组实现,指针实现的源码详细讲解
- ADF中给VO动态添加检索基准,过滤数据(一)
- Tlist
- Android 中文 API (101) —— AsyncTask
- 类方法子类和父类