Fix #3090663: Re-authentication fails (2nd attempt)
commit2580b6f0e838df159e9aa1ca1c9e4c62dab69c6c
authorStefan Becker <stefan.becker@nokia.com>
Wed, 20 Oct 2010 19:21:39 +0000 (20 22:21 +0300)
committerStefan Becker <stefan.becker@nokia.com>
Wed, 20 Oct 2010 19:21:39 +0000 (20 22:21 +0300)
tree9ca1096a2bed322d8af8b56cd149dd0bedf9d81e
parent59b293941d357fe2e5d4f3742f24b80bbfa51eec
Fix #3090663: Re-authentication fails (2nd attempt)

Commit f41ea03faed867cb7261b1a7f99a2367d2075919 had the right idea but there
were two problems with it:

 - wrong authentication data, e.g. wrong password, was no longer detected and
   caused an endless re-authentication loop.

 - the pending transaction of the rejected REGISTER message was not removed,
   causing dangling transactions to pile up over time.

While trying to figure out how to handle the first problem correctly, I noticed
that the information in transport->register_status was useless. I removed the
field and all references to it from the code.

I also cleaned up some of the debug messages in sip-transport.c.
src/core/sip-transport.c