Search squid archive

Re: Does Squid support ICAP early responses?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Thanks for that Alex,

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?

On Tue, Oct 1, 2019 at 10:28 AM Alex Rousskov <rousskov@xxxxxxxxxxxxxxxxxxxxxxx> wrote:
On 9/30/19 12:23 PM, Felipe Arturo Polanco wrote:

> Does anyone know if Squid support early ICAP responses from the ICAP
> server in the middle of a body transfer?

I do not know for sure. A source code comment implies that Squid ICAP
client expects early responses to be errors, but I did not see any
obvious signs that a positive early response cannot be handled correctly
in my cursory review of the corresponding code.

I can say that Squid _should_ support early responses. If it does not,
quality pull requests that fix or add that support would be welcomed.

https://wiki.squid-cache.org/SquidFaq/AboutSquid#How_to_add_a_new_Squid_feature.2C_enhance.2C_of_fix_something.3F

Alex.
P.S. Please note that an early response itself does _not_ end an ICAP
transaction. To preserve the ICAP connection, the ICAP client (i.e.
Squid) still has to finish sending the request.
_______________________________________________
squid-users mailing list
squid-users@xxxxxxxxxxxxxxxxxxxxx
http://lists.squid-cache.org/listinfo/squid-users

[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux