Changeset 1346 for pjproject/trunk
- Timestamp:
- Jun 7, 2007 3:40:19 PM (17 years ago)
- Location:
- pjproject/trunk/pjlib-util
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjlib-util/include/pjlib-util/resolver.h
r974 r1346 194 194 unsigned cache_max_ttl; /**< Maximum TTL for cached responses. If the 195 195 value is zero, caching is disabled. */ 196 unsigned good_ns_ttl; /**< See #PJ_DNS_RESOLVER_GOOD_NS_TTL */ 197 unsigned bad_ns_ttl; /**< See #PJ_DNS_RESOLVER_BAD_NS_TTL */ 196 198 } pj_dns_settings; 199 200 /** 201 * Set default values to the DNS settings. 202 * 203 * @param s The DNS settings to be initialized. 204 */ 205 PJ_DECL(void) pj_dns_settings_default(pj_dns_settings *s); 197 206 198 207 -
pjproject/trunk/pjlib-util/src/pjlib-util/srv_resolver.c
r1239 r1346 128 128 129 129 PJ_LOG(5, (query_job->objname, 130 "Starting async DNS %s query_job: target=%.* ",130 "Starting async DNS %s query_job: target=%.*s", 131 131 pj_dns_get_type_name(query_job->dns_state), 132 132 (int)target_name.slen, target_name.ptr)); … … 186 186 187 187 ++query_job->srv_cnt; 188 } 189 190 if (query_job->srv_cnt == 0) { 191 PJ_LOG(4,(query_job->objname, 192 "Could not find SRV record in DNS answer!")); 193 return; 188 194 } 189 195
Note: See TracChangeset
for help on using the changeset viewer.