Re: [squid-users] TProxy Setup

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Mon, 07 Jul 2014 00:32:26 +1200

On 2014-07-06 23:09, Nyamul Hassan wrote:
> Dear Amos,
>
> I was working with Eliezer with the debug_options in Squid, and with a
> ALL,9 option, captured the relevant log for a request from Incognito
> Chrome on client:
>
> http://pastebin.com/WWYpxceG
>
> I am trying to understand the flow within Squid:
> Line_1-7 shows that the packet was recieved
> Line_8-14 "httpAccept" needs to be constructed / called
> Line_16-17 confirms that httpAccept was called
> Line_22-24 shows that httpAccept ended with "accept failure"
>
> I went to the relevant lines in client_side.cc (3406-3410), and it
> says:
>
> if (params.flag != COMM_OK) {
> // Its possible the call was still queued when the client disconnected
> debugs(33, 2, "httpAccept: " << s->listenConn << ": accept failure: "
> << xstrerr(params.xerrno));
> return;
> }
>
> Does that help in anyway, or am I barking up the wrong tree?

This is the right direction. The next thing is to find out why the
accepted socket has an error flag attached to it by TcpAcceptor.

(Eliezer will have to help you with that digging for now. I am
travelling and unable to look into the code for a few days.)

Amos
Received on Sun Jul 06 2014 - 12:32:45 MDT

This archive was generated by hypermail 2.2.0 : Sun Jul 06 2014 - 12:00:05 MDT