- Timestamp:
- Feb 28, 2014 10:14:24 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjlib-util/src/pjlib-util/srv_resolver.c
r4537 r4774 255 255 256 256 /* Second pass: 257 * pick one host among hosts with the same priority, according 258 * to its weight. The idea is when one server fails, client should 259 * contact the next server with higher priority rather than contacting 260 * server with the same priority as the failed one. 257 * Order the entry in a list. 261 258 * 262 259 * The algorithm for selecting server among servers with the same … … 299 296 300 297 /* Remove all other entries (of the same priority) */ 298 /* Don't need to do this. 299 * See https://trac.pjsip.org/repos/ticket/1719 301 300 while (count > 1) { 302 301 pj_array_erase(query_job->srv, sizeof(struct srv_target), … … 305 304 --query_job->srv_cnt; 306 305 } 306 */ 307 307 } 308 308 }
Note: See TracChangeset
for help on using the changeset viewer.