<p></p>
<p dir="auto">Hi <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/henningw/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/henningw">@henningw</a></p>
<p dir="auto">We are not modifying the Content-Length header. Just observing the change and not touching the header.</p>
<p dir="auto">The header changes after the call to uac_auth(). So in that flow something changes the content-length header value. the first mbu log is ok, while the second mbu log has the content-length value twice.</p>
<p dir="auto">xlog("L_WARN", "TRUNKAUTH entered, message: $mbu\n"); <strong>AT THIS POINT CONTENT_HEADER = 1234 (just an example)</strong><br>
if(t_check_status("401|407")) {<br>
$avp(auser) = "testuser";<br>
$avp(apass) = "credshere";<br>
<strong>uac_auth();</strong><br>
xlog("L_WARN", "TRUNKAUTH Auth done, updated message: $mbu\n"); <strong>AT THIS POINT CONTENT_HEADER = 12341234</strong></p>
<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />Reply to this email directly, <a href="https://github.com/kamailio/kamailio/issues/3275#issuecomment-1301983711">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABO7UZPOBGJUB6UGUVCC6MDWGOQ6BANCNFSM6AAAAAARVBYKN4">unsubscribe</a>.<br />You are receiving this because you are subscribed to this thread.<img src="https://github.com/notifications/beacon/ABO7UZNU22QDQXNQ46TBNHTWGOQ6BA5CNFSM6AAAAAARVBYKN6WGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTSNTKY56.gif" height="1" width="1" alt="" /><span style="color: transparent; font-size: 0; display: none; visibility: hidden; overflow: hidden; opacity: 0; width: 0; height: 0; max-width: 0; max-height: 0; mso-hide: all">Message ID: <span><kamailio/kamailio/issues/3275/1301983711</span><span>@</span><span>github</span><span>.</span><span>com></span></span></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/kamailio/kamailio/issues/3275#issuecomment-1301983711",
"url": "https://github.com/kamailio/kamailio/issues/3275#issuecomment-1301983711",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>