<div dir="ltr">Thanks for that Alex,<div><br></div><div>Do you know if squid, after receiving an early response that the file is good, will start immediately the transfer to the downstream client in parallel while finishing up the ICAP transaction with the ICAP server?</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Oct 1, 2019 at 10:28 AM Alex Rousskov <<a href="mailto:rousskov@measurement-factory.com">rousskov@measurement-factory.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On 9/30/19 12:23 PM, Felipe Arturo Polanco wrote:<br>
<br>
> Does anyone know if Squid support early ICAP responses from the ICAP<br>
> server in the middle of a body transfer?<br>
<br>
I do not know for sure. A source code comment implies that Squid ICAP<br>
client expects early responses to be errors, but I did not see any<br>
obvious signs that a positive early response cannot be handled correctly<br>
in my cursory review of the corresponding code.<br>
<br>
I can say that Squid _should_ support early responses. If it does not,<br>
quality pull requests that fix or add that support would be welcomed.<br>
<br>
<a href="https://wiki.squid-cache.org/SquidFaq/AboutSquid#How_to_add_a_new_Squid_feature.2C_enhance.2C_of_fix_something.3F" rel="noreferrer" target="_blank">https://wiki.squid-cache.org/SquidFaq/AboutSquid#How_to_add_a_new_Squid_feature.2C_enhance.2C_of_fix_something.3F</a><br>
<br>
Alex.<br>
P.S. Please note that an early response itself does _not_ end an ICAP<br>
transaction. To preserve the ICAP connection, the ICAP client (i.e.<br>
Squid) still has to finish sending the request.<br>
</blockquote></div>