Search squid archive

mangle ranges using ICAP

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

 



Let say a client asks for a URL using a range: 0-256000.

I want squid to ask just for 10.000 bytes and answer as if the request was server side aborted.

I can change the request Range: "bytes=0-256000" to "bytes=0-10000" with and icap server


In the answer I'm trying to change the Content-Range from "0-10000/total" to "0-256000/total" and Content-Length from "10001" to "256001" squid won't hung up and the client will stay waiting after the first 10001 bytes.

There's a way to make squid send what it gets from the icap and then drop the TCP connection as in a server side aborted connection?




--
Alfrenovsky
_______________________________________________
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