Re: How Squid Computes HTTP All Median Svc Time

2003-08-15 Thread Henrik Nordstrom
On Thursday 14 August 2003 12.06, atit jariwala wrote: Hello Squid Developers, I am using Squid 2.5 Stable2 on redhat Linux 7.* . I want to know how squid computes HTTP All Median Svc Time for 5 minute and 60 minute. I gone through code of stat.c StatHist.c but still not get picture clear

Re: stupid gdb

2003-08-15 Thread Adrian Chadd
On Fri, Aug 15, 2003, Robert Collins wrote: you built with -g ? -g -ggdb. Unless, of course, the damned linker didn't link it with -g -ggdb... adrian

Re: stupid gdb

2003-08-15 Thread Adrian Chadd
On Fri, Aug 15, 2003, Adrian Chadd wrote: On Fri, Aug 15, 2003, Robert Collins wrote: you built with -g ? -g -ggdb. Unless, of course, the damned linker didn't link it with -g -ggdb... ... (gdb) frame 7 #7 0x0808483e in comm_old_write (fd=32, buf=0x82d1668 GET

Re: stupid gdb

2003-08-15 Thread Robert Collins
On Fri, 2003-08-15 at 17:48, Adrian Chadd wrote: (gdb) print (fde_t *)fd_table[fd] No symbol fde_t in current context. (gdb) print (fde_t *)fd_table[fd] No symbol fde_t in current context. (gdb) [EMAIL PROTECTED]:~/source/squid/squid--HEAD--3.0$ grep fde_t src/*.h [EMAIL

Re: stupid gdb

2003-08-15 Thread Adrian Chadd
On Fri, Aug 15, 2003, Robert Collins wrote: [EMAIL PROTECTED]:~/source/squid/squid--HEAD--3.0$ grep fde_t src/*.cc I think you'll have more luck with print (fde *)fd_table[fd] Yeah, I'm stupid. It worked, but having to have casts... Adrain

Re: manipulating outbound data

2003-08-15 Thread Robert Collins
On Sat, 2003-08-16 at 02:41, Brian Akins wrote: Just an idea: Can someone with greater squid knowledge than me tell me how hard they think it would be to add hooks to manipulate outgoing data? I have a project where this may come in handy. It depends :}. I'm going to assume you meant data