transport: clean up 407 response handling
commita4a5fc8e1bae446d9acaf219658423e76639bfc3
authorStefan Becker <chemobejk@gmail.com>
Sat, 13 Apr 2013 15:51:13 +0000 (13 18:51 +0300)
committerStefan Becker <chemobejk@gmail.com>
Sat, 13 Apr 2013 15:51:13 +0000 (13 18:51 +0300)
tree78ee8502b647e22046da260e5a1339a4154d8ba4
parent9c5007b6fdc1e393cf6f83724f0124edb088e79a
transport: clean up 407 response handling

The code flow is much clearer now and we now only resend the message
when we can generate the proxy autentication successfully.

This is in preparation to re-add Digest authentication scheme for proxy
authentication.
src/core/sip-transport.c
src/core/sipmsg.c
src/core/sipmsg.h