Ticket #25 (closed defect: fixed)

Opened 12 years ago

Last modified 12 years ago

Authentication loops forever when server keeps rejecting request with stale=true

Reported by: bennylp Owned by: bennylp
Priority: major Milestone: release-0.5.10
Component: pjsip Version:
Keywords: Cc:
Backport to 1.x milestone: Backported:

Description (last modified by bennylp) (diff)

When a server keeps rejecting authorization with stale=true, PJSIP will keep retrying authrozation request, forever.

The solution perhaps is to limit the number of retries that the authentication client does before stop retrying.

Change History

comment:1 Changed 12 years ago by bennylp

  • Description modified (diff)

comment:2 Changed 12 years ago by bennylp

  • Status changed from new to closed
  • Resolution set to fixed

Fixed in r871.

There is a new configuration setting PJSIP_MAX_STALE_COUNT to control how many retries to do before giving up when server keeps rejecting with stale=true (default is 3).

Note: See TracTickets for help on using tickets.