<div dir="ltr"><div>Hi,</div><div><br></div><div>I've configured Squid to block large resources:</div><div><br></div><div>reply_body_max_size 50 MB all</div><div><br></div><div>Blocking works for some urls, (HTTP/1.1):</div><div><a href="http://download.thinkbroadband.com/1GB.zip">http://download.thinkbroadband.com/1GB.zip</a></div><div><br></div><div>But it does not work for others (HTTP/2):</div><div><a href="https://upload.wikimedia.org/wikipedia/commons/0/0b/Sandro_Botticelli_-_La_nascita_di_Venere_-_Google_Art_Project_-_edited.jpg">https://upload.wikimedia.org/wikipedia/commons/0/0b/Sandro_Botticelli_-_La_nascita_di_Venere_-_Google_Art_Project_-_edited.jpg</a></div><div><br></div><div>I'm wondering: why is the second URL not blocked? Is it because the response is HTTP/2?<br></div><div><br></div><div>I've read in the docs about how the response size is checked twice and how that all works, but in the case of both URLs the response has a content-length header defined.<br></div><div><br></div><div>Using curl for tests:<br></div><div>curl --proxy <a href="http://127.0.0.1:3128">127.0.0.1:3128</a> -v -s "<a href="https://upload.wikimedia.org/wikipedia/commons/0/0b/Sandro_Botticelli_-_La_nascita_di_Venere_-_Google_Art_Project_-_edited.jpg">https://upload.wikimedia.org/wikipedia/commons/0/0b/Sandro_Botticelli_-_La_nascita_di_Venere_-_Google_Art_Project_-_edited.jpg</a>" 1> /dev/null<br></div><div><br></div><div>Thank you</div><div><br></div><div>Best regards,<br></div><div><br></div><div><br></div></div>