<html xmlns="http://www.w3.org/1999/xhtml" xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office"><head><!--[if gte mso 9]><xml><o:OfficeDocumentSettings><o:AllowPNG/><o:PixelsPerInch>96</o:PixelsPerInch></o:OfficeDocumentSettings></xml><![endif]--></head><body><div class="ydp10d0c74ayahoo-style-wrap" style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:13px;"><div></div>
        <div dir="ltr" data-setdir="false"><div><div dir="ltr" style="outline: none !important;">I managed to reproduce the problem in my personal setup. Please find the cache logs when the problem is reproduced. Squid version is 5.8</div><div dir="ltr" style="outline: none !important;"><br clear="none" style="color: rgb(38, 40, 42); font-family: Helvetica Neue, Helvetica, Arial, sans-serif; outline: none !important;"></div></div></div><div dir="ltr" data-setdir="false"><a href="https://drive.google.com/file/d/19yirXfxKli7NXon4ewiy-v3GpLvECT1i/view?usp=sharing" target="_blank" rel="noreferrer noopener">https://drive.google.com/file/d/19yirXfxKli7NXon4ewiy-v3GpLvECT1i/view?usp=sharing</a><br></div><div><br></div>
        
        </div><div id="ydpd92c5a48yahoo_quoted_4339698946" class="ydpd92c5a48yahoo_quoted">
            <div style="font-family:'Helvetica Neue', Helvetica, Arial, sans-serif;font-size:13px;color:#26282a;">
                
                <div>
                        On Wednesday, April 24, 2024 at 09:16:23 PM EDT, Arun Kumar <s_p_arun@yahoo.com> wrote:
                    </div>
                    <div><br></div>
                    <div><br></div>
                
                
                <div><div id="ydpd92c5a48yiv4829182160"><div><div style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:13px;" class="ydpd92c5a48yiv4829182160ydpe59eedc4yahoo-style-wrap"><div></div>
        <div dir="ltr">I managed to reproduce the problem in my personal setup. Please find the cache logs when the problem is reproduced. Squid version is 5.8</div><div dir="ltr"><br clear="none"></div><div dir="ltr"><a shape="rect" href="https://drive.google.com/file/d/19yirXfxKli7NXon4ewiy-v3GpLvECT1i/view?usp=sharing" class="ydpd92c5a48yiv4829182160enhancr_card_4364899239" target="_blank" rel="noreferrer noopener">cache.zip</a><br clear="none"></div><div><br clear="none"></div><div id="ydpd92c5a48yiv4829182160ydp8c7d8e13enhancr_card_4364899239" style="max-width:288px;font-family:YahooSans VF, YahooSans, OpenSans VF, Helvetica Neue, Segoe UI, Helvetica, Arial, sans-serif;display:inline-block;" data-url="https://drive.google.com/file/d/19yirXfxKli7NXon4ewiy-v3GpLvECT1i/view?usp=sharing" data-type="YENHANCER" data-size="MINI" class="ydpd92c5a48yiv4829182160ydp8c7d8e13yahoo-link-enhancr-card ydpd92c5a48yiv4829182160ydp8c7d8e13ymail-preserve-class ydpd92c5a48yiv4829182160ydp8c7d8e13ymail-preserve-style" contenteditable="false"><a shape="rect" href="https://drive.google.com/file/d/19yirXfxKli7NXon4ewiy-v3GpLvECT1i/view?usp=sharing" style="text-decoration:none !important;color:#000 !important;" class="ydpd92c5a48yiv4829182160ydp8c7d8e13yahoo-enhancr-cardlink enhancr_card_4153205111" target="_blank" rel="noreferrer noopener"><table border="0" cellpadding="0" cellspacing="0" width="288" height="80" style="border-width:1px;border-style:solid;border-color:rgb(224, 228, 233);width:288px;background-color:#fff;border-radius:2px;" class="ydpd92c5a48yiv4829182160ydp8c7d8e13card ydpd92c5a48yiv4829182160ydp8c7d8e13yahoo-ignore-table"><tbody><tr><td colspan="1" rowspan="1" width="10px" style="width:10px;"></td><td colspan="1" rowspan="1"><img src="https://s.yimg.com/lb/brands/80x80_google.png" width="24" height="24" class="ydpd92c5a48yiv4829182160ydp8c7d8e13card-object" data-inlineimagemanipulating="true" draggable="false"><h2 style="font-size:14px;line-height:16px;color:rgb(29, 34, 40);font-family:YahooSans VF, YahooSans, OpenSans VF, Helvetica Neue, Segoe UI, Helvetica, Arial, sans-serif;margin:4px 0px;max-width:186px;text-decoration:none !important;" class="ydpd92c5a48yiv4829182160ydp8c7d8e13card-title">cache.zip</h2></td></tr></tbody></table></a></div><div><br></div><div id="ydpab084f27enhancr_card_4153205111" class="ydpab084f27yahoo-link-enhancr-card ydpab084f27yahoo-link-enhancr-not-allow-cover ydpab084f27ymail-preserve-class ydpab084f27ymail-preserve-style" style="max-width:400px;font-family:YahooSans VF, YahooSans, OpenSans VF, Helvetica Neue, Segoe UI, Helvetica, Arial, sans-serif" data-url="https://drive.google.com/file/d/19yirXfxKli7NXon4ewiy-v3GpLvECT1i/view?usp=sharing" data-type="YENHANCER" data-size="MEDIUM" contenteditable="false"><a href="https://drive.google.com/file/d/19yirXfxKli7NXon4ewiy-v3GpLvECT1i/view?usp=sharing" style="text-decoration:none !important;color:#000 !important" class="ydpab084f27yahoo-enhancr-cardlink" target="_blank" rel="noreferrer noopener"><table border="0" class="ydpab084f27card-wrapper ydpab084f27yahoo-ignore-table" cellpadding="0" cellspacing="0" style="max-width:400px"><tbody><tr><td width="400"><table border="0" class="ydpab084f27card ydpab084f27yahoo-ignore-table" cellpadding="0" cellspacing="0" width="100%" style="max-width:400px;border-width:1px;border-style:solid;border-color:rgb(224, 228, 233);border-radius:2px"><tbody><tr><td><table border="0" class="ydpab084f27card-info ydpab084f27yahoo-ignore-table" cellpadding="0" cellspacing="0" style="background:#fff;position:relative;z-index:2;width:100%;max-width:400px;border-radius:0 0 2px 2px;border-top:1px solid rgb(224, 228, 233)"><tbody><tr><td style="background-color:#ffffff;padding:16px 0 16px 12px;vertical-align:top;border-radius:0 0 0 2px"><img class="ydpab084f27card-object-1 ydpab084f27yahoo-ignore-inline-image ydpab084f27ymail-preserve-class" src="https://s.yimg.com/lb/brands/80x80_google.png" height="36" style="min-width:36px;margin-top:3px"></td><td style="vertical-align:middle;padding:12px 24px 16px 12px;width:99%;font-family:YahooSans VF, YahooSans, OpenSans VF, Helvetica Neue, Segoe UI, Helvetica, Arial, sans-serif;border-radius:0 0 2px 0"><h2 class="ydpab084f27card-title" style="font-size: 14px; line-height: 19px; margin: 0px 0px 6px; font-family: YahooSans VF, YahooSans, OpenSans VF, Helvetica Neue, Segoe UI, Helvetica, Arial, sans-serif; color: rgb(29, 34, 40); max-width: 314px;">cache.zip</h2><p class="ydpab084f27card-description" style="font-size: 12px; line-height: 16px; margin: 0px; color: rgb(151, 158, 168);"></p></td></tr></tbody></table></td></tr></tbody></table></td></tr></tbody></table></a></div><div><br></div><div><br></div><div><br clear="none"></div><div><br clear="none"></div><div><br clear="none"></div>
        
        </div><div id="ydpd92c5a48yiv4829182160yqt65289" class="ydpd92c5a48yiv4829182160yqt5849810828"><div id="ydpd92c5a48yiv4829182160ydp83d55996yahoo_quoted_4923519064" class="ydpd92c5a48yiv4829182160ydp83d55996yahoo_quoted">
            <div style="font-family:'Helvetica Neue', Helvetica, Arial, sans-serif;font-size:13px;color:#26282a;">
                
                <div>
                        On Friday, March 22, 2024 at 11:02:51 PM EDT, Alex Rousskov <rousskov@measurement-factory.com> wrote:
                    </div>
                    <div><br clear="none"></div>
                    <div><br clear="none"></div>
                
                
                <div><div dir="ltr">On 2024-03-22 13:11, Arun Kumar wrote:<br clear="none">> The lines above are. The content-length is 138 (8a in hex), but the <br clear="none">> bytes are 144. Could this be the reason?<br clear="none">> <br clear="none">> parseMore: have 144 bytes to parse [FD 14;RBG/Comm(14)wr job24]<br clear="none">> parseMore:<br clear="none">> 8a^M<br clear="none">> {"activity":"Make a simple musical <br clear="none">> instrument","type":"music","participants":1,"price:0.4,"link":"","key":"7091374","accessibility":0.25}^M<br clear="none">> parseHeaders: parse ICAP headers<br clear="none">> parsePart: have 144 head bytes to parse; state: 0<br clear="none">> parsePart: head parsing result: 0 detail: 600<br clear="none"><br clear="none"><br clear="none">I cannot be sure based on the tiny snippets shared so far, but it <br clear="none">_looks_ like Squid expected an ICAP response header and got an ICAP <br clear="none">response body chunk instead. It is also possible that we are looking at <br clear="none">log lines from two unrelated ICAP transactions, or I am simply <br clear="none">misinterpreting the snippets.<br clear="none"><br clear="none">If you want a more reliable diagnosis, then my earlier recommendation <br clear="none">regarding sharing (privately if needed) the following information still <br clear="none">stands:<br clear="none"><br clear="none">* compressed ALL,9 cache.log and<br clear="none">* the problematic ICAP response in a raw packet capture format.<br clear="none"><br clear="none"><br clear="none">HTH,<br clear="none"><br clear="none">Alex.<div id="ydpd92c5a48yiv4829182160ydp83d55996yqtfd92492" class="ydpd92c5a48yiv4829182160ydp83d55996yqt1772414351"><br clear="none"><br clear="none"><br clear="none">> On Monday, March 18, 2024 at 11:21:02 PM EDT, Alex Rousskov <br clear="none">> <<a shape="rect" href="mailto:rousskov@measurement-factory.com" target="_blank" rel="noreferrer noopener">rousskov@measurement-factory.com</a>> wrote:<br clear="none">> <br clear="none">> <br clear="none">> On 2024-03-18 18:46, Arun Kumar wrote:<br clear="none">> <br clear="none">>  > Any idea, the reason for error in ModXact.cc parsePart fuction.<br clear="none">>  > Happening during parsing the response from ICAP<br clear="none">>  ><br clear="none">>  ><br clear="none">>  > parsePart: have 144 head bytes to parse; state: 0<br clear="none">>  > parsePart: head parsing result: 0 detail: 600<br clear="none">> <br clear="none">> <br clear="none">> AFAICT, Squid considers received ICAP response header malformed. More<br clear="none">> than five possible problems/cases may match the above lines. The answer<br clear="none">> to your question (or an additional clue!) is in different debugging<br clear="none">> output, possibly logged somewhere between the two lines quoted above.<br clear="none">> The right debugging lines may be visible in "debug_options ALL,2 58,5,<br clear="none">> 93,5" output, but it is usually best to share compressed ALL,9 logs<br clear="none">> (privately if needed).<br clear="none">> <br clear="none">> <a shape="rect" href="https://wiki.squid-cache.org/SquidFaq/BugReporting#debugging-a-single-transaction" target="_blank" rel="noreferrer noopener">https://wiki.squid-cache.org/SquidFaq/BugReporting#debugging-a-single-transaction</a> <<a shape="rect" href="https://wiki.squid-cache.org/SquidFaq/BugReporting#debugging-a-single-transaction" target="_blank" rel="noreferrer noopener">https://wiki.squid-cache.org/SquidFaq/BugReporting#debugging-a-single-transaction</a>><br clear="none">> <br clear="none">> <br clear="none">> Sharing the problematic ICAP response (header) in a raw packet capture<br clear="none">> format (to preserve important details) may also be very useful.<br clear="none">> <br clear="none">> <br clear="none">> HTH,<br clear="none">> <br clear="none">> Alex.<br clear="none">> <br clear="none">> <br clear="none"><br clear="none"></div></div></div>
            </div>
        </div></div></div></div></div>
            </div>
        </div></body></html>