<div dir="ltr"><br clear="all"><div>Dear Squid users,</div><div>          There is a connection C1 from the client to squid and that is bumped at squid which forms a TCP connection with origin server S1. Having server persistent connection turned on, for subsequent requests, I see that the same TCP connection is used between the squid and the server and all was fine. </div><div><br></div><div>I had a problem after sending too many requests to the same server where my persistence stopped working suddenly. The connection was getting closed from the squid side sending a FIN packet to the origin server. When debugging on this, I found my access logs had states TCP_REFRESH_UNMODIFIED, instead of TCP_MISS which I was seeing earlier when all was fine.</div><div><br></div><div>I found that the results were from cache. I included the  <font face="comic sans ms, sans-serif" style="font-style:italic" color="#9900ff"><span style="background-color:rgb(255,255,255)">cache deny all</span> </font><font face="arial, helvetica, sans-serif"> option and found that the access logs had TCP_MISS since it wasn't using cached results and my persistence is fine again.</font></div><div><font face="arial, helvetica, sans-serif"><br></font></div><div><font face="arial, helvetica, sans-serif">I have three questions in this scenario:</font></div><div><font face="arial, helvetica, sans-serif">1. What is the relationship between the caching and the persistence connection established?</font></div><div><font face="arial, helvetica, sans-serif">2. When will squid use cached results and when will it not if the cache deny all directive weren't specified. </font></div><div><font face="arial, helvetica, sans-serif">3. However, this didn't work fully. Even with <i>cache deny all</i> directive, persistence wasn't working when I peeked at the sslBump step 1 and then Bumped. </font></div><div><font face="arial, helvetica, sans-serif">Persistence worked only when I directly did sslbump allow all (without peeking at first step).</font></div><div><font face="arial, helvetica, sans-serif"><br></font></div><div><font face="arial, helvetica, sans-serif"><br></font></div><div><font face="arial, helvetica, sans-serif">Comments are appreciated on the scenario.</font></div><div><br></div><div><br></div><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div>Thanks,</div>Vishali Somaskanthan</div></div>
</div>