[squid-users] blockVirgin Works for CONNECT but Custom Response does not work

From: Jatin Bhasin <jbhasin83_at_gmail.com>
Date: Thu, 21 Aug 2014 20:47:29 +1000

Hello,

When I see a CONNECT request in my eCap adapter then if I call
function blockVirgin then I see a squid ACCESS DENIED page which is
good.

But if instead of calling blockVirgin if I generate a CUSTOM response
message saying "YOU ARE NOT AUTHORISED TO VIEW THIS PAGE" then build
response based on FAQ https://answers.launchpad.net/ecap/+faq/2516
then it fails.

Although the same code (request satisfaction) works if I build a
custom response for a GET request.

Please suggest how can I achieve CUSTOM response for a CONNECT.

I had asked this question on ecap but I was suggest to raise this query here.

Thanks,
Jatin
Received on Thu Aug 21 2014 - 10:47:39 MDT

This archive was generated by hypermail 2.2.0 : Thu Aug 21 2014 - 12:00:06 MDT