<p></p>
<p dir="auto"><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">i see that for the example i gave above, the get_hdr_field() is called once, and then after that clen_builder() is called exactly 3 times, which corresponds with the 3 times concatenated value <strong>129712971297</strong> :</p>
<p dir="auto">2022-11-03 13:42:58<br>
28(53) DEBUG: {Thu Nov  3 12:42:58 2022 1 17733 INVITE 9326c0d2-2653-4041-8977-eecf1827a79c}  [core/msg_translator.c:432]: clen_builder(): content-length: 1297 (1297)<br>
2022-11-03 13:42:58<br>
28(53) DEBUG: {Thu Nov  3 12:42:58 2022 1 17733 INVITE 9326c0d2-2653-4041-8977-eecf1827a79c}  [core/msg_translator.c:432]: clen_builder(): content-length: 1297 (1297)<br>
2022-11-03 13:42:58<br>
28(53) DEBUG: {Thu Nov  3 12:42:58 2022 1 17733 INVITE 9326c0d2-2653-4041-8977-eecf1827a79c}  [core/msg_translator.c:432]: clen_builder(): content-length: 1297 (1297)</p>
<p dir="auto">13:42:57<br>
13(38) DEBUG: {Thu Nov  3 12:42:57 2022 1 17733 INVITE 9326c0d2-2653-4041-8977-eecf1827a79c}  [core/parser/msg_parser.c:187]: get_hdr_field(): content_length=1297</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-1302198754">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABO7UZLDYQRB45ZFIKHOIALWGPDVVANCNFSM6AAAAAARVBYKN4">unsubscribe</a>.<br />You are receiving this because you are subscribed to this thread.<img src="https://github.com/notifications/beacon/ABO7UZJTITVZ4VLHDU7HMADWGPDVVA5CNFSM6AAAAAARVBYKN6WGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTSNTX46E.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/1302198754</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-1302198754",
"url": "https://github.com/kamailio/kamailio/issues/3275#issuecomment-1302198754",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>