Re: [squid-users] Speed ​​limit from file size

2018-06-21 Thread Michael Pro
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

Re: [squid-users] Speed ​​limit from file size

2018-06-21 Thread Alex Rousskov
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

Re: [squid-users] Speed ​​limit from file size

2018-06-21 Thread Michael Pro
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

Re: [squid-users] Speed ​​limit from file size

2018-06-21 Thread Michael Pro
чт, 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

Re: [squid-users] Speed ​​limit from file size

2018-06-21 Thread Alex Rousskov
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

Re: [squid-users] Question about traffic calculate

2018-06-21 Thread Tiraen
and where i can read more about this (I mean the development of custom ICAP/eCAP modules and their connection to the proxy) ? 2018-06-13 18:35 GMT+03:00 Alex Rousskov : > On 06/13/2018 07:09 AM, Matus UHLAR - fantomas wrote: > > On 13.06.18 13:26, Tiraen wrote: > >> ICAP will help provide data

Re: [squid-users] Speed ​​limit from file size

2018-06-21 Thread Michael Pro
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

Re: [squid-users] Ignore SSL error and splice by ssl::server_name at the same time

2018-06-21 Thread Ahmad, Sarfaraz
I was wrong. There is no way to read the remote certificate and then decide whether to bump/splice the connection. -Original Message- From: Ahmad, Sarfaraz Sent: Wednesday, June 20, 2018 7:35 PM To: 'Amos Jeffries' ; squid-users@lists.squid-cache.org Subject: RE: [squid-users] Ignore