Re: [squid-users] "helperHandleRead: unexpected read" for helper function

2021-05-08 Thread Alex Rousskov
On 5/7/21 10:22 PM, Justin Michael Schwartzbeck wrote: > So I have written an external acl helper > while(1) { > string category, hostname; > cin >> category >> hostname; > > // Perform REST API > I have it all configured in my squid.conf: > external_acl_type host_category_help

Re: [squid-users] "helperHandleRead: unexpected read" for helper function

2021-05-08 Thread Justin Michael Schwartzbeck
Yes I solved my problem... when there are multiple lines on the input, then it flakes out. I basically am using getline now with \n as the delimiter. It works flawlessly now. Thanks On Sat, May 8, 2021 at 9:52 AM Justin Michael Schwartzbeck < justinms...@gmail.com> wrote: > I think I may have fou

Re: [squid-users] "helperHandleRead: unexpected read" for helper function

2021-05-08 Thread Justin Michael Schwartzbeck
I think I may have found the problem. I am updating my source, so the lines I mentioned before won't count here. I will get back. On Fri, May 7, 2021 at 9:22 PM Justin Michael Schwartzbeck < justinms...@gmail.com> wrote: > Hello all... I would really appreciate some help. > > So I have written an

Re: [squid-users] Squid not using hosts file

2021-05-08 Thread Alex Rousskov
On 5/7/21 10:16 PM, Jazmine Redmond wrote: > The problem was in the hosts file. Each new line should begin with the > IP address, followed by one or more spaces, followed by a name. > My hosts file had a space before the IP address. Once I removed the > space at the beginning of the line, everythin

Re: [squid-users] Squid not using hosts file

2021-05-08 Thread Alex Rousskov
On 5/7/21 5:01 PM, Jazmine Redmond wrote: > You mentioned supported Squid versions. For Windows I see Squid versions > 3.5, 3.3 and 2.7. Which ones are supported? None of the above, IMO. Moreover, the support status of Windows (as a Squid platform) is rather difficult to define at the moment. FWI