transport: remove auth header before retrying
commit935fb65a447bd79cac5e28d4b4b418d8874dd603
authorStefan Becker <chemobejk@gmail.com>
Fri, 19 Jul 2013 21:48:49 +0000 (20 00:48 +0300)
committerStefan Becker <chemobejk@gmail.com>
Fri, 19 Jul 2013 21:48:49 +0000 (20 00:48 +0300)
tree2bdc17797b857651e1ebe65e3d4f829e636f2351
parent680b1774d316046af0bf6ca9025ba610aaf669e5
transport: remove auth header before retrying

If we get a 401 response to a non-REGISTER message then we sign it and
resend it again. But as we didn't remove the old offending Authorization
header another one got added and the message got rejected again with
401. This caused a message flood.

Remove the old Authorization header before signing the message again.
src/core/sip-transport.c