init: correct LogTag for CANCEL transactions to not contain loop cookie. end_invite: close race where we could try to start a second CANCEL transaction when the invite_timeout fired after we started a CANCEL, but before we received the 487 response to INVITE. cancel_request: play safe and check for already-cancelled here too. start_cancel_transaction: clean up to not change Content-Length more than once (it is done by siprequest:set_request_body(...)).
init: correct LogTag for CANCEL transactions to not contain loop cookie.
end_invite: close race where we could try to start a second CANCEL
transaction when the invite_timeout fired after we started a CANCEL, but
before we received the 487 response to INVITE.
cancel_request: play safe and check for already-cancelled here too.
start_cancel_transaction: clean up to not change Content-Length more than
once (it is done by siprequest:set_request_body(...)).


git-svn-id: 3f662d0c7823f96a484d6a9a7c90f2d7866b6747@840 e454d3dc-12ff-0310-9b8b-94264392205f

bernardd/yxa,bernardd/yxa,bernardd/yxa,bernardd/yxa