Search squid archive

Re: TProxy Setup

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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





[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux