[sr-dev] [regression] $Au is only available after successfull authentication
Alex Hermann
alex at speakup.nl
Thu Sep 8 18:33:12 CEST 2011
Hello,
in 1.x, $Au was available after any x_authorize() call found a digest with the
requested realm, regardless of the result of the authgentication. In 3.x, $Au
is only available after successfull authentication.
I use $Au to get the digest username after pv_xxx_authorize() with dummy
password, so i can use the username for caching into htable. This no longer
works in 3.x
Attached patch fixes this. Opinions on whether is should be committed?
--
Alex Hermann
-------------- next part --------------
A non-text attachment was scrubbed...
Name: make-Au-available-early.diff
Type: text/x-patch
Size: 974 bytes
Desc: not available
URL: <http://lists.sip-router.org/pipermail/sr-dev/attachments/20110908/64e6e5f3/attachment.bin>
More information about the sr-dev
mailing list