[sr-dev] [kamailio/kamailio] Bad content-length header value after invoking uac_auth() (Issue #3275)

Ay notifications at github.com
Thu Nov 3 12:47:44 CET 2022


Hi @henningw 

We are not modifying the Content-Length header. Just observing the change and not touching the header. 

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. 

xlog("L_WARN", "TRUNKAUTH entered, message: $mbu\n");   **AT THIS POINT CONTENT_HEADER = 1234 (just an example)**
if(t_check_status("401|407")) {
$avp(auser) = "testuser";
$avp(apass) = "credshere";
**uac_auth();**
xlog("L_WARN", "TRUNKAUTH Auth done, updated message: $mbu\n"); **AT THIS POINT CONTENT_HEADER = 12341234**

-- 
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/3275#issuecomment-1301983711
You are receiving this because you are subscribed to this thread.

Message ID: <kamailio/kamailio/issues/3275/1301983711 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-dev/attachments/20221103/3bf13d29/attachment.htm>


More information about the sr-dev mailing list