On 06/24/2018 11:32 AM, Michael Pro wrote:
> In store_id_program, I use the third-party utility "curl -sI
> http://url.to/real.file.zip;
> to define Content-Length and return to squid using the "note" mechanism
> in the desired ACL for response_delay_pool_access.
> Could not you do this with the
On 25/06/18 05:32, Michael Pro wrote:
> Yes! I realized it!
> In store_id_program, I use the third-party utility "curl -sI
> http://url.to/real.file.zip;
> to define Content-Length and return to squid using the "note" mechanism
> in the desired ACL for response_delay_pool_access. Similarly,
>
Yes! I realized it!
In store_id_program, I use the third-party utility "curl -sI
http://url.to/real.file.zip;
to define Content-Length and return to squid using the "note" mechanism
in the desired ACL for response_delay_pool_access. Similarly,
using the "note" mechanism, I force the files,
On 06/21/2018 10:34 PM, Michael Pro wrote:
> I put all the necessary links in the database in step #2.
> I'm quite satisfied with entering this value (Content-Length) after step #3.
> How can I update the data for the link?
I am not sure I understand the question, but if you are asking how to
Good.
As I said, I put all the necessary links in the database in step #2.
I'm quite satisfied with entering this value (Content-Length) after step #3.
How can I update the data for the link?
чт, 21 июн. 2018 г. в 22:52, Alex Rousskov :
>
> On 06/21/2018 12:08 PM, Michael Pro wrote:
> > чт, 21
On 06/21/2018 12:08 PM, Michael Pro wrote:
> чт, 21 июн. 2018 г. в 19:09, Alex Rousskov :
>> ...
>> You may prefer response delay pools, but they are only available in v5:
>> https://github.com/squid-cache/squid/commit/b27668e
> But to use this I understood that I need to use the store_id_program
In addition, I can say that I successfully use the store_id mechanism
and bookmark
the new links that interest me in mySQL database.
My working version options
store_id_extras "%>a/%>A %un %>rm myip=%la myport=%lp %{User-Agent}>h
%{Referer}>h"
чт, 21 июн. 2018 г. в 21:08, Michael Pro :
>
> чт, 21
чт, 21 июн. 2018 г. в 19:09, Alex Rousskov :
> ...
> You may prefer response delay pools, but they are only available in v5:
> https://github.com/squid-cache/squid/commit/b27668e
Very interesting. Maybe this is what I need. Especially since I use v5 squid.
But to use this I understood that I need
On 06/21/2018 05:11 AM, Michael Pro wrote:
> Simplify the task, let's say that I need to limit the speed only for
> what is in the cache, for each client.
> for this type of traffic is it possible made this logic ?
> file =<1MB client download with 400Kbit/s
> file 1MB...5MB client donload with
Simplify the task, let's say that I need to limit the speed only for
what is in the cache, for each client. Example
-
client_side_reply.cc(2191) sendMoreData: local=127.0.0.1:20880
remote=10.0.0.18:32611 FD 99 flags=1
'http://app-2.squid.internal/file.exe' out.offset=3681475
-
for this
On 21/06/18 21:44, Michael Pro wrote:
> Is it possible to limit the speed of receiving the file to the client
> depending on the file size?
NP: HTTP has no concept of "file". There are only messages. A message
may contain 0 or more *pieces* of those things we humans call "files".
> Let's say,
On 06/20/2018 01:44 PM, Michael Pro wrote:
> Is it possible to limit the speed of receiving the file to the client
> depending on the file size?
> Let's say,
> file =<1MB client download with 400Kbit/s
> file 1MB...5MB client donload with 4Mbit/s
> file >5MB - no speed limit
For HTTP responses
Is it possible to limit the speed of receiving the file to the client
depending on the file size?
Let's say,
file =<1MB client download with 400Kbit/s
file 1MB...5MB client donload with 4Mbit/s
file >5MB - no speed limit
I try fore some settings
delay_pools 1
delay_class 1 2
delay_access 1 allow
13 matches
Mail list logo