Opened 18 years ago

Closed 18 years ago

#25 closed defect (fixed)

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)

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 (2)

comment:1 Changed 18 years ago by bennylp

  • Description modified (diff)

comment:2 Changed 18 years ago by bennylp

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

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.