[squid-users] Caching https data

2020-07-29 Thread Darwin O'Connor
I run a transit prediction web app . It connects to a variety of web APIs to collect the real time data it needs. The apps activities are split among many processes. They currently uses libcurl to connect to squid for caching (often for as little as 10-30 seconds) and

Re: [squid-users] Squid and multipart form decode

2020-07-29 Thread Alex Rousskov
On 7/29/20 12:47 PM, Ryan Le wrote: >>> Even though it looks like TeChunkedParser is getting all the >>> additional headers >> TeChunkedParser has nothing to do with multipart/form-data bodies. > I do see it in two locations. > 2020/07/26 23:11:12.921 kid6| 74,9| TeChunkedParser.cc(45) parse: P

Re: [squid-users] Squid and multipart form decode

2020-07-29 Thread Ryan Le
I do apologize I do not have logs of that specific file but I have an example from the same site and doing the same post. > Even though it looks like TeChunkedParser is getting all the > additional headers >TeChunkedParser has nothing to do with multipart/form-data bodies. >TeChunkedParser parses

Re: [squid-users] SQUID with cache_peer config + E2guardian - too many connections - RESOLVED

2020-07-29 Thread Contato - KONNTROL
Klaus, You got it! Thanks a lot!! I just added the directive like: cache_peer 127.0.0.1 parent 8080 0 login=*:password no-netdb-exchange always_direct deny all never_direct allow all It worked fine now. All those thousands of connections disappeared. Just curious what is that "option" of "ne

Re: [squid-users] Squid and multipart form decode

2020-07-29 Thread Alex Rousskov
On 7/29/20 11:38 AM, Ryan Le wrote: > Even though it looks like TeChunkedParser is getting all the > additional headers TeChunkedParser has nothing to do with multipart/form-data bodies. TeChunkedParser parses chunked encoding, and even then it is applied to remove _transfer_ encoding, not to int

Re: [squid-users] Squid and multipart form decode

2020-07-29 Thread Ryan Le
Even though it looks like TeChunkedParser is getting all the additional headers I can't seem to create ACL or output them using logformat. I was trying to request these headers with req_mime_type/resp_mime_type. and alos had log_mime_hdrs on and then in logformat just had all. On Thu, Jul 23, 2020

Re: [squid-users] SQUID with cache_peer config + E2guardian - too many connections

2020-07-29 Thread Klaus Brandl
tried to add the option "no-netdb-exchange" on your cache_peer line? On Wednesday 29 July 2020 11:50:20 Contato - KONNTROL wrote: > Hello Amos/Klaus/Fantomas, > Thanks for your help. > > I have searched for the "via off" and "via on" - The directive was not > present on the config file but I am

Re: [squid-users] SQUID with cache_peer config + E2guardian - too many connections

2020-07-29 Thread Contato - KONNTROL
Hello Amos/Klaus/Fantomas, Thanks for your help. I have searched for the "via off" and "via on" - The directive was not present on the config file but I am assuming "via on" it's the default option. Anyway I added it to the config file. No Success. I also checked the visible_hostname, as sugges

Re: [squid-users] SQUID with cache_peer config + E2guardian - too many connections

2020-07-29 Thread Contato - KONNTROL
Thanks Amos, Klaus and Fantomas. I already send another message with a lot of info and an attachment, that is now under moderator's review. If blocked, I will delete the attachment and send it again. Thanks Fabricio. -Original Message- From: squid-users On Behalf Of Klaus Brandl Sent

Re: [squid-users] SQUID with cache_peer config + E2guardian - too many connections

2020-07-29 Thread Klaus Brandl
On Thursday 30 July 2020 00:24:52 Amos Jeffries wrote: > On 29/07/20 11:58 pm, Klaus Brandl wrote: > > On Wednesday 29 July 2020 23:03:43 Amos Jeffries wrote: > >> On 29/07/20 8:29 pm, Klaus Brandl wrote: > >>> Setting an other "visible_hostname" may also help. > >> > >> Why do you think the hostn

Re: [squid-users] SQUID with cache_peer config + E2guardian - too many connections

2020-07-29 Thread Amos Jeffries
On 29/07/20 11:58 pm, Klaus Brandl wrote: > On Wednesday 29 July 2020 23:03:43 Amos Jeffries wrote: >> On 29/07/20 8:29 pm, Klaus Brandl wrote: >>> Setting an other "visible_hostname" may also help. >> >> Why do you think the hostname has any relation to the problem? > > because we had also a forw

Re: [squid-users] SQUID with cache_peer config + E2guardian - too many connections

2020-07-29 Thread Matus UHLAR - fantomas
On 29/07/20 8:29 pm, Klaus Brandl wrote: > Setting an other "visible_hostname" may also help. On Wednesday 29 July 2020 23:03:43 Amos Jeffries wrote: Why do you think the hostname has any relation to the problem? On 29.07.20 13:58, Klaus Brandl wrote: because we had also a forwarding loop b

Re: [squid-users] SQUID with cache_peer config + E2guardian - too many connections

2020-07-29 Thread Klaus Brandl
On Wednesday 29 July 2020 23:03:43 Amos Jeffries wrote: > On 29/07/20 8:29 pm, Klaus Brandl wrote: > > Setting an other "visible_hostname" may also help. > > Why do you think the hostname has any relation to the problem? because we had also a forwarding loop by connection 2 squids on the same hos

Re: [squid-users] SQUID with cache_peer config + E2guardian - too many connections

2020-07-29 Thread Amos Jeffries
On 29/07/20 8:29 pm, Klaus Brandl wrote: > > Setting an other "visible_hostname" may also help. > Why do you think the hostname has any relation to the problem? Amos ___ squid-users mailing list squid-users@lists.squid-cache.org http://lists.squid-cac

Re: [squid-users] SQUID with cache_peer config + E2guardian - too many connections

2020-07-29 Thread Klaus Brandl
On Wednesday 29 July 2020 14:50:11 Amos Jeffries wrote: > On 29/07/20 1:07 pm, Contato - KONNTROL wrote: > > Hello Everyone, > > Greetings. > > > > Background: > > OS - FreeBSD 12.1 > > SQUID ver 4.10 > > OpenSSL 1.0.2u > > > > I am trying to use SQUID in front of E2Guardian (content filter) with