Re: delay pools and fd_set 's

2003-02-27 Thread Adrian Chadd
On Thu, Feb 27, 2003, Robert Collins wrote: Sure. I'm pushing the arch mirror now. It's in the epoll branch ([EMAIL PROTECTED]/squid--epoll--3.0). [snip] It sounds good. Now, what about squid-2.5? :) Adrian

-F ?

2003-02-28 Thread Adrian Chadd
Hi, Here's another one. I've just hit an issue where a pair of squids are in a magical redundant setup (if the master fails, the backup takes over the IP). The measure of failed is http port isn't bound. Now, the -F option to squid makes it rebuild faster BUT it still binds to the socket. It

Re: remove deferred reads

2003-03-03 Thread Adrian Chadd
On Mon, Mar 03, 2003, Henrik Nordstrom wrote: m?n 2003-03-03 klockan 11.59 skrev Robert Collins: It * removes deferred reads across the board * converts nearly all unready reads to the new DeferredRead framework. * leaves ssl reading 1 byte per IO cycle at minimum. * Includes David

squid-3 issues

2003-03-03 Thread Adrian Chadd
Yo, source='ufs/store_dir_ufs.cc' object='ufs/store_dir_ufs.o' libtool=no depfile='.deps/ufs/store_dir_ufs.Po' tmpdepfile='.deps/ufs/store_dir_ufs.TPo' depmode=gcc /usr/local/bin/bash ../../cfgaux/depcomp g++ -DHAVE_CONFIG_H -I. -I. -I../../include -I. -I../../include -I../../include

squid 3 is broken for non-delaypools builds

2003-03-03 Thread Adrian Chadd
yo, building with no delay pools doesn't work: [EMAIL PROTECTED]:~/work/squid/squid-cvs/squid3/src make store.o source='store.cc' object='store.o' libtool=no depfile='.deps/store.Po' tmpdepfile='.deps/store.TPo' depmode=gcc /usr/local/bin/bash ../cfgaux/depcomp g++ -DHAVE_CONFIG_H

squid-3 memory leak

2003-03-04 Thread Adrian Chadd
Robert knows about this, but just FYI At the moment squid-3 is leakiing short strings all over the floor. I'm currently polygraphing a squid + kqueue w/ a null store fs. I'll check out the storefs stuff once I'm happy with the non-storefs run. :) Adrian

Re: Introducing myself

2003-03-05 Thread Adrian Chadd
Hiya, just send an email to [EMAIL PROTECTED] . I'll approve you. :) Adrian On Wed, Mar 05, 2003, [EMAIL PROTECTED] wrote: Hi everybody, my name is Michele De Martin and I'm working as a network administrator: routers, switches but also DNSs and proxies services. I've some years of

mod_gzip, revisited

2003-03-05 Thread Adrian Chadd
hiya, I'm in a position where a few clients are complaining about the mod_gzip Vary: ignore and I'd like to return valid replies to them. I spoke to Robert on IRC about this a little. I thought about hacking up the Vary: header wherever I discovered there was a mod_gzip reply w/ no

i

2003-03-06 Thread Adrian Chadd
ok, squid-3 doesn't seem to be leaking memory everywhere now, but: 2003/03/06 21:59:54| assertion failed: cbdata.cc:318: c-locks 65535 I'm going to run it again overnight, see if it triggers. If so, I'm going to have to hack it up to not exit cleanly - I didn't get a stack trace. :)

squid-3 buglet: stack trace

2003-03-06 Thread Adrian Chadd
Program received signal SIGABRT, Aborted. 0x281edb58 in kill () from /usr/lib/libc.so.4 (gdb) bt #0 0x281edb58 in kill () from /usr/lib/libc.so.4 #1 0x2822f10a in abort () from /usr/lib/libc.so.4 #2 0x8085307 in xassert (msg=0x80fc925 c-locks 65535, file=0x80fc805 cbdata.cc, line=318) at

Re: squid-3 buglet: stack trace

2003-03-06 Thread Adrian Chadd
On Thu, Mar 06, 2003, Henrik Nordstrom wrote: (gdb) hm. I don't remember ever doing that. :) I'll take a squizz in a tick. cbdataReferenceDone missing from ConnStateData::~ConnStateData I think.. I'll leave it for robert to look at tomorrow morning (thismorning. :) That way he can

squid-3 testing, thus far

2003-03-06 Thread Adrian Chadd
hiya, Squid-3 seems to have settled down quite a bit now. Its been doing this 125req/sec for a couple of hours now with no visible memory leaks. We'll have to stress out some of the ACL stuff to check for leaks there and I'll turn on ufs and diskd to see how they fare. So far, so good. :-)

Re: i

2003-03-06 Thread Adrian Chadd
On Fri, Mar 07, 2003, Robert Collins wrote: I'm going to run it again overnight, see if it triggers. If so, I'm going to have to hack it up to not exit cleanly - I didn't get a stack trace. :) Thanks, fixed. Nope. Still triggered. Although, it _did_ take a lot longer to trigger this

Re: i

2003-03-06 Thread Adrian Chadd
On Thu, Mar 06, 2003, Adrian Chadd wrote: Nope. Still triggered. Although, it _did_ take a lot longer to trigger this time. Let me start it up again with full cb debugging, try to get a history on the thing. .. which I think I've squished. Let me run the polygraph magic. Adrian

Re: i

2003-03-06 Thread Adrian Chadd
On Thu, Mar 06, 2003, Adrian Chadd wrote: On Thu, Mar 06, 2003, Adrian Chadd wrote: Nope. Still triggered. Although, it _did_ take a lot longer to trigger this time. Let me start it up again with full cb debugging, try to get a history on the thing. .. which I think I've squished

squid3 and diskd install path

2003-03-06 Thread Adrian Chadd
hi, squid3 installs diskd in libexec/diskd/diskd/ but diskd_program wants libexed/diskd. Can someone take a look? :) Adrain

squid-3 bug: diskd

2003-03-06 Thread Adrian Chadd
yo, here's a diskd bug I'm seeing: 2003/03/07 14:28:56| could not parse headers from on disk structure! .. lots and lots of em. I'll try with UFS in a minute. Adrian

Re: squid-3 bug: diskd

2003-03-06 Thread Adrian Chadd
On Thu, Mar 06, 2003, Adrian Chadd wrote: yo, here's a diskd bug I'm seeing: 2003/03/07 14:28:56| could not parse headers from on disk structure! .. lots and lots of em. I'll try with UFS in a minute. So far 75req/sec on UFS, no message. Hm. Diskd evilness? Adrian

Re: Object naming conflict on nt branch

2003-03-09 Thread Adrian Chadd
On Sun, Mar 09, 2003, Robert Collins wrote: This happens on all Windows build environments: Cygwin, MinGW and MS Visual Studio. Dang. It's just *so hard* with MS polluting the namescape all the time. If we don't use the windows ACL type, just do this: Heh. Prefix everything with

Re: Problem with origin server connections

2003-03-11 Thread Adrian Chadd
On Mon, Mar 10, 2003, David Nicklay wrote: Brian and I have been trying to puzzle out a problem we are having related to back end origin server connections initiated by squid. We have squid (2.5.stable1) set up in a reverse proxy configuration pointing at a group of origin servers which

Re: HEAD make dist fails

2003-03-12 Thread Adrian Chadd
On Wed, Mar 12, 2003, Henrik Nordstrom wrote: Hmm.. maybe the comm abort logics is not as fool proof as I thought. Here did I put that patch for adding cbdata fences to comm.. probably lost. But on the other hand this looks like it could be a httpState, but slightly stomped by someone

Re: logging blank usernames

2003-07-28 Thread Adrian Chadd
On Mon, Jul 28, 2003, Henrik Nordstrom wrote: Better to make accessLogFormatName return NULL on blank names I think. The logics in all log functions assumes NULL == unknown, and addressing this in accessLogFormatName would cover all bases in one clean go. How about this:

Re: COSS, Linux and threads

2003-08-05 Thread Adrian Chadd
On Tue, Aug 05, 2003, Henrik Nordstrom wrote: On Tuesday 05 August 2003 18.05, Adrian Chadd wrote: Hi, I'm doing some testing w/ COSS under linux and I'm suffering issues w/ POSIX AIO. My main problem is zombie/defunct processes, which I can only think is due to bugs in the posix AIO

Re: Squid-2.5 bugs to kill

2003-08-14 Thread Adrian Chadd
On Mon, Aug 11, 2003, Robert Collins wrote: Bug #638 assertion failure if proxy_auth used wrongly in delay_access Hmm, little motivation here - proxy_auth is fully supported in 3.0. Yes, but I'm sure we're going to find people running squid-2.5 for the next year or two. C.f. squid-2.2

Re: squid-3 crash

2003-08-14 Thread Adrian Chadd
On Thu, Aug 14, 2003, Robert Collins wrote: It hasn't changed that much! Yeah, I'm looking at it a little more. heh. Seriously, the stack trace shows httpSendRequest as the active culprit, and in frame 10 you should be able to get the address of the callback listed for the previous write.

stupid gdb

2003-08-14 Thread Adrian Chadd
Any ideas? I forgot how to fix this: (gdb) print fd $1 = 28 (gdb) print fd_table[28].wstate cannot subscript something of type `data variable, no debug info' (gdb) print fd_table[28].write_method cannot subscript something of type `data variable, no debug info' (gdb) ...? adrian

Re: squid-2.5 and coss

2003-08-14 Thread Adrian Chadd
On Wed, Aug 13, 2003, Adrian Chadd wrote: On Thu, Aug 14, 2003, Henrik Nordstrom wrote: It would be very undesireable from a release management perspective if COSS in Squid-2.5 is newer than COSS in Squid-3.0, and neither me or Robert will be very happy if this happens. Let me try

Re: squid-2.5 and coss

2003-08-14 Thread Adrian Chadd
On Thu, Aug 14, 2003, Henrik Nordstrom wrote: It would be very undesireable from a release management perspective if COSS in Squid-2.5 is newer than COSS in Squid-3.0, and neither me or Robert will be very happy if this happens. Let me try to make it work first. heh. Adrian

Re: Introduction from me

2003-08-14 Thread Adrian Chadd
A bit late, yeah, I've been a little busy until recently. On Mon, Apr 28, 2003, Alex Kinch wrote: I've not really got any experience of code hacking, think that's best left to the experts on here (Hi Adrian - remember Amsterdam?!). However, I can give plenty of feedback on the ESI

Re: squid-2.5 and coss

2003-08-14 Thread Adrian Chadd
On Thu, Aug 14, 2003, Robert Collins wrote: Let me add: It will be a -lot- easier for you to: Get 3.0 stable on those uni caches. Get kqueue / epoll stable on those uni caches. Then get COSS stable on 3.0, than to: get COSS stable. get 3.0 stable get coss with 3.0 stable get coss with

Re: squid-2.5 and coss

2003-08-14 Thread Adrian Chadd
On Thu, Aug 14, 2003, Henrik Nordstrom wrote: OK for me. COSS is an experimental feature and not under code freeze even for Squid-2.5. Just remember to update the patches page after commit. I'll do that once I've finished my rebuild code. If you need to touch any files outside of

Re: COSS, Linux and threads

2003-08-14 Thread Adrian Chadd
On Wed, Aug 06, 2003, Henrik Nordstrom wrote: You might be able reap them by doing a waitpid(-1, NULL, WNOHANG) in the main loop somewhere.. Tried, no love. I think there's dragons. In any case, file a bug report with your vendor. Or upgrade to debian-unstable w/ Linux mierda

squid-2.5 and coss

2003-08-14 Thread Adrian Chadd
hi all, I've recently been working a little more on COSS. Thanks to Duane and his blocksize work its actually reasonably useful now. I'm having issues tuning it (since it does waste quite a bit of space, eep!) _but_ the performance increases make up for it. I've got some initial patches which

squid-3 crash

2003-08-14 Thread Adrian Chadd
squid-3, 2gig ufs, 30req/sec datacomm-1 run. Left it for about an hour, then ctrl-C'ed the polygraph client/server. This happened: (gdb) bt #0 0x401b9a41 in kill () from /lib/libc.so.6 #1 0x4005224b in pthread_kill () from /lib/libpthread.so.0 #2 0x40052521 in raise () from

Re: squid-2.5 and coss

2003-08-14 Thread Adrian Chadd
On Thu, Aug 14, 2003, Robert Collins wrote: There are multiple stripes per coss 'dir' right? So, perhaps you write a tag records to the swaplog for the coss dir after the normal records, listing the status of the stripes? Thats what I've been saying, but there's a few gotchas which I've

Re: squid-2.5 and coss

2003-08-14 Thread Adrian Chadd
On Thu, Aug 14, 2003, Robert Collins wrote: On Thu, 2003-08-14 at 16:31, Adrian Chadd wrote: There's no way to do a dirty rebuild unless: Easy answer: a dirty coss rebuild is simply to purge the stripes that are dirty. Well, at the moment, there's _no_ dirty rebuild. :) Why make

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 /w08db4503.5efd14a7

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: squid-2.5 and coss

2003-08-27 Thread Adrian Chadd
On Thu, Aug 21, 2003, Robert Collins wrote: On Thu, 2003-08-21 at 05:45, Duane Wessels wrote: FYI, my coss changes have not been commited to squid-3 yet because - I was going to wait until the time when it is okay to commit non-bugs to the tree. And on this note - anything

Re: squid-2.5 and coss

2003-08-27 Thread Adrian Chadd
On Wed, Aug 27, 2003, Henrik Nordstrom wrote: On Wednesday 27 August 2003 09.51, Kinkie wrote: BTW: O_DIRECT would be a good approach to our FS I/O work but: - we need to be able to keep an object hot after reading it - the OS won't do it for us anymore This is already on the todo, at

Re: squid-2.5 and coss

2003-08-28 Thread Adrian Chadd
On Wed, Aug 27, 2003, Duane Wessels wrote: Duane, would you be willing to forward port your squid-2.5 COSS work to squid-3? I'm currently evaluating Squid-3 for a cache here and I'd like to test both epoll and COSS out. Done. I've committed the code to squid-3. It compiles, but I

squid-3 testing

2003-08-28 Thread Adrian Chadd
Here's the current stats from a squid-3 test. I'm not terribly impressed. Throughput wise, AUFS is about the same as squid-2.5. No surprises there. I'll be interested in seeing how squid-3+coss and squid-3+epoll performs. But, squid seems to be taking an _awfully_ large amount of RAM: ie,

Re: Disk IO - coss and ufs with common IO engines.

2003-08-31 Thread Adrian Chadd
On Sat, Aug 30, 2003, Serassio Guido wrote: changes that can be improved upon, etc. This is a very interesting thing: For example it means that a Windows native awin32 fs based on aufs is no more needed: all the magic can will be do from a Win32DiskThreads. Or, once COSS has been fixed

Re: Disk IO - coss and ufs with common IO engines.

2003-09-01 Thread Adrian Chadd
On Sun, Aug 31, 2003, Robert Collins wrote: If you want to use the async io code rom anywhere, say, logfile writing, you're _going_ to have to do write combining or your write queue is going to quickly blow out to a stupid size. The store IO interface really assures us there's only one

Re: [Fwd: [squid-users]Memory leak problem on epoll i/o squid on IA64]

2003-09-04 Thread Adrian Chadd
On Thu, Sep 04, 2003, Henrik Nordstrom wrote: I am currently working in a development works in epoll I/O on squid for satisfying the requests of 2000 in IA64.I have passed only 300 req/sec in IA64.My squid is using more than 1.9 GB outof 2 GB.I have tried a lot in the squid to overcome the

Re: squid and tcp splicing ?

2003-09-10 Thread Adrian Chadd
On Wed, Sep 10, 2003, Henrik Nordstrom wrote: It is my opinion that there is many better ways of optimizing proxy class I/O without resorting to kernel level splicing. For example it would be very interesting to see a I/O mechanism not involving copying of data on each read/write combined

Re: fwdState patch + fix ideas?

2004-02-15 Thread Adrian Chadd
On Sun, Feb 15, 2004, Adrian Chadd wrote: Hi, Here's a little patch which does three things: .. needs to do four: Index: comm.cc === RCS file: /server/cvs-server/squid/squid3/src/comm.cc,v retrieving revision 1.391 diff -u

commit candidate

2004-02-16 Thread Adrian Chadd
Hi, I'd like to commit this to the squid-3 tree. Can those who are seeing some memory leaks please update and apply this patch? Adrian Index: comm.cc === RCS file: /server/cvs-server/squid/squid3/src/comm.cc,v retrieving

Re: another crash

2004-02-16 Thread Adrian Chadd
On Mon, Feb 16, 2004, Adrian Chadd wrote: On Mon, Feb 16, 2004, Adrian Chadd wrote: On Mon, Feb 16, 2004, Adrian Chadd wrote: Another crash, this time, reproducable: 2004/02/16 16:27:31| assertion failed: comm.cc:2558: fdc_table[fd].active !fdc_table[fd].half_closed Right

squid-3 memory leaks

2004-02-17 Thread Adrian Chadd
HI, I've fixed, hopefully, a large chunk of the memory leaks people have been seeing in squid-3-cvs. I suggest upgrading any installs you have to the latest and give it a run. I'm currently stressing out squid-3-cvs with epoll and diskd. Adrian

Re: epoll

2004-02-19 Thread Adrian Chadd
On Fri, Feb 20, 2004, Robert Collins wrote: just commit it. ok. adrian

Re: epoll

2004-02-19 Thread Adrian Chadd
On Thu, Feb 19, 2004, Adrian Chadd wrote: On Fri, Feb 20, 2004, Robert Collins wrote: just commit it. ok. Done. Can someone bootstrap it and commit it? I've got a few local hacks to get around the epoll linking that I'm thinking of cleaner ways around.. adrian

Re: epoll

2004-02-19 Thread Adrian Chadd
On Fri, Feb 20, 2004, Robert Collins wrote: Done. Can someone bootstrap it and commit it? I've got a few local hacks to get around the epoll linking that I'm thinking of cleaner ways around.. I think Henrik has that cron'd. Right. I thought something like that might be happening.

Re: epoll

2004-02-20 Thread Adrian Chadd
On Fri, Feb 20, 2004, Kinkie wrote: yup, this has to do with the order we're checking poll/select/epoll/kqueue. Here's my configure.in patch, it seems to do the right thing. Give it a shot? If it's possible at all, I think it would be best if the polling method detection could be done

Re: epoll

2004-02-20 Thread Adrian Chadd
On Fri, Feb 20, 2004, Henrik Nordstrom wrote: On Thu, 19 Feb 2004, Adrian Chadd wrote: On Fri, Feb 20, 2004, Robert Collins wrote: just commit it. ok. Except for the first segment in the patch (-lepoll removed) Crap, must've missed that. I'll put it back. Adrian

Re: half-closed connections?

2004-02-20 Thread Adrian Chadd
On Fri, Feb 20, 2004, Henrik Nordstrom wrote: On Fri, 20 Feb 2004, Adrian Chadd wrote: Is there actually a valid reason for squid to even support half-closed connections any more? Personally I don't beleive in half-closed connections in HTTP, but some people like to be able to do

patch: half closed stuff

2004-02-22 Thread Adrian Chadd
Hi, Here's a patch which fixes the FTP half-closed crash I've seen. It does this: * exports a commIfHalfClosed(fd) routine.. * .. which I then use in ConnStateData::readSomeData() to make 100% sure I'm not reading any data from that fd.. * Started calling AbortChecker::doIOLoop() once a

Re: patch: half closed stuff

2004-02-22 Thread Adrian Chadd
On Sun, Feb 22, 2004, Adrian Chadd wrote: On Mon, Feb 23, 2004, Henrik Nordstrom wrote: On Sun, 22 Feb 2004, Adrian Chadd wrote: * exports a commIfHalfClosed(fd) routine.. * .. which I then use in ConnStateData::readSomeData() to make 100% sure I'm not reading any data from

Re: patch: half closed stuff

2004-02-22 Thread Adrian Chadd
On Mon, Feb 23, 2004, Adrian Chadd wrote: Here's a patch which implements the latter behaviour. *mutters* ADrian Index: client_side.cc === RCS file: /server/cvs-server/squid/squid3/src/client_side.cc,v retrieving revision 1.668

Updated: pipelined/halfclosed connections

2004-02-24 Thread Adrian Chadd
Right, Here's my latest patch. I've broken out the parsing/request initialisation code from commReadRequest() into a seperate function which I can then call from keepaliveNextRequest(). Please review and comment. I've tested it locally and it seems to work just fine. There is, however, a fun

Re: Updated: pipelined/halfclosed connections

2004-02-24 Thread Adrian Chadd
On Tue, Feb 24, 2004, Henrik Nordstrom wrote: On Tue, 24 Feb 2004, Robert Collins wrote: FWIW mem_node existed before I did anything, but was linked lists not splays. Right, it is the low end storage for the mem object. Was a linked list as it always was linear and most often quite

Re: Updated: pipelined/halfclosed connections

2004-02-24 Thread Adrian Chadd
On Tue, Feb 24, 2004, Henrik Nordstrom wrote: On Tue, 24 Feb 2004, Adrian Chadd wrote: Here's my latest patch. I've broken out the parsing/request initialisation code from commReadRequest() into a seperate function which I can then call from keepaliveNextRequest(). Please review

Re: Updated: pipelined/halfclosed connections

2004-02-25 Thread Adrian Chadd
On Wed, Feb 25, 2004, Henrik Nordstrom wrote: On Tue, 24 Feb 2004, Adrian Chadd wrote: It doesn't look like a trivial fix. Would you mind if I committed the current work, sans re-working the do_next_read flag, so it gets some testing? I'm trying to get squid-3 stable before I jump

Re: generic content encoding and gzip support

2004-02-25 Thread Adrian Chadd
On Thu, Feb 26, 2004, Jon Kay wrote: Hi, there! Been a while since my last email here. I'm back to doing Squid consulting with an emphasis on push, and hope you guys are doing well. Joe Cooper is paying me to work on designing and implementing the addition to Squid of generic

Re: Updated: pipelined/halfclosed connections

2004-02-26 Thread Adrian Chadd
On Thu, Feb 26, 2004, Henrik Nordstrom wrote: On Wed, 25 Feb 2004, Adrian Chadd wrote: Ok. I've tested it and, thus far, I think I've got all the cases right. I'm having trouble convincing nc to actaully _do_ half-closed connections - instead, I have to ctrl-C it partway through a request

Re: Updated: pipelined/halfclosed connections

2004-02-26 Thread Adrian Chadd
On Thu, Feb 26, 2004, Adrian Chadd wrote: On Thu, Feb 26, 2004, Henrik Nordstrom wrote: On Wed, 25 Feb 2004, Adrian Chadd wrote: Ok. I've tested it and, thus far, I think I've got all the cases right. I'm having trouble convincing nc to actaully _do_ half-closed connections

Re: Updated: pipelined/halfclosed connections

2004-02-26 Thread Adrian Chadd
On Thu, Feb 26, 2004, Henrik Nordstrom wrote: On Thu, 26 Feb 2004, Adrian Chadd wrote: Right, ok. I'm not seeing any half-closed logic popping up in the squid logfiles. Right.. this is probably due to a mixup in my thoughts.. *nod* For Squid to detect half-closed connection it must

Re: Updated: pipelined/halfclosed connections

2004-02-26 Thread Adrian Chadd
On Thu, Feb 26, 2004, Adrian Chadd wrote: .. and thats it until the socket times out. Now, here's a tcpdump of my local conversation: Spammier, Henrik, can you show me what your request looks like via nc by using tcpdump -x -X -s 1518 ? 18:38:00.252883 127.0.0.1.33342 127.0.0.1.3128: S

Re: Updated: pipelined/halfclosed connections

2004-02-26 Thread Adrian Chadd
On Thu, Feb 26, 2004, Henrik Nordstrom wrote: On Thu, 26 Feb 2004, Adrian Chadd wrote: Right. I'll compile it from source. Which kernel are you using? Kernel is irrelevant. This has been seen from Linux-2.4.TEST1 to 2.4.24. Just checking the variables.. When netcat sees EOF in stdin

Re: Updated: pipelined/halfclosed connections

2004-02-26 Thread Adrian Chadd
On Thu, Feb 26, 2004, Henrik Nordstrom wrote: On Thu, 26 Feb 2004, Adrian Chadd wrote: Right, ok. I'm not seeing any half-closed logic popping up in the squid logfiles. Right.. this is probably due to a mixup in my thoughts.. For Squid to detect half-closed connection it must

Re: Updated: pipelined/halfclosed connections

2004-02-28 Thread Adrian Chadd
On Sat, Feb 28, 2004, Robert Collins wrote: It would be great to have a script in make check that runs the netcat stuff you've been doing. Only once I've committed my current code. :) adrian

Re: coss and squid3

2004-03-03 Thread Adrian Chadd
On Wed, Mar 03, 2004, Robert Collins wrote: coss, as it stands in squid-3, is completely unusable. It bombs out because some of the callback data types aren't actually cbdata allocated anymore. Oh crap. I'm more and more tempted to import my IO rework, it works there. Heh. Please. :)

2.5 and delay pools

2004-03-03 Thread Adrian Chadd
hi, I'm still having issues with squid-2.5 and delay pools. The FDSET stuff is _very_ broken when you're using 1024 fds. Here is a simple patch to 2.5 only which removes the whole fdset thing. I'd like to commit this so the delay pools stuff in 2.5 works for 1024 fds without _lots_ of messing

Re: 2.5 and delay pools

2004-03-03 Thread Adrian Chadd
On Thu, Mar 04, 2004, Henrik Nordstrom wrote: On Wed, 3 Mar 2004, Adrian Chadd wrote: I'm still having issues with squid-2.5 and delay pools. The FDSET stuff is _very_ broken when you're using 1024 fds. More likely the way FD_SETSIZE is extended is broken for your libc headers.. I

Re: 2.5 and delay pools

2004-03-03 Thread Adrian Chadd
On Thu, Mar 04, 2004, Adrian Chadd wrote: You need to remove far more fd_set references if this is the problem. There is also seveal delay pool related fd_set usage in comm_poll, and a few other places I think. Ok. I must've missed them. Let me go through the codebase and remove all

Re: 2.5 and delay pools

2004-03-04 Thread Adrian Chadd
On Thu, Mar 04, 2004, Henrik Nordstrom wrote: Ok. I must've missed them. Let me go through the codebase and remove all references to fd_set when you're not actually using select(). Ok, the only use I can see is in the slowfds use. The other use of fd_set is in the select() codepath.

Re: 2.5 and delay pools

2004-03-07 Thread Adrian Chadd
On Thu, Mar 04, 2004, Adrian Chadd wrote: I can't leave that in - pinger/unlinkd use an fd_set. Gah, I'll have to do a little bit of tidying up to deal with the nreadfds and nwritefds in a more efficient fashion. Thanks. Right. Here's what I have. Its a bit evil, but broken fdset

range request tests in squid-3

2004-03-14 Thread Adrian Chadd
Hi, I'm trying to do some squid-3 range request testing but I've hit a bit of a snag: [EMAIL PROTECTED]:~/work/squid/tests/range$ cat range-creative-2.txt GET http://www.creative.net.au/test.txt HTTP/1.1 Host: www.creative.net.au Accept-ranges: bytes Accept: */* Range: bytes=12806817-12872353

Re: range request tests in squid-3

2004-03-14 Thread Adrian Chadd
On Sun, Mar 14, 2004, Adrian Chadd wrote: Hi, I'm trying to do some squid-3 range request testing but I've hit a bit of a snag: .. and here's a snippet from the debug logs for another request. I'll have a poke around, see if I see anything amiss but I have to say this is all reasonably

squid-3, range-requests and brokenness

2004-03-17 Thread Adrian Chadd
Hi, I've come across a bizarreness in the range request support. This request, when thrown at squid-3, returns much, much less data than it should: [EMAIL PROTECTED]:~/work/squid/tests/range$ cat range-creative-2.txt GET http://www.creative.net.au/test.txt HTTP/1.1 Host: www.creative.net.au

Re: backporting ssl configuration from 3.0 - 2.5

2004-06-08 Thread Adrian Chadd
On Tue, Jun 08, 2004, Henrik Nordstrom wrote: On Wed, 9 Jun 2004, Adrian Chadd wrote: Ok. I'll keep it as a locally maintained branch for now. Or you could consider using the ssl branch where all this stuff already resides, without the hassle to maintain your own.. I'll take a peek when

Re: Who maintains Squid 3.0 PRE 3 for OS/2 ?

2004-08-17 Thread Adrian Chadd
for me. (It, as an example, is a reason why range requests were broken when I last looked at the codebase.) Adrian -- Adrian ChaddI'm only a fanboy if [EMAIL PROTECTED] I emailed Wesley Crusher.

Re: Who maintains Squid 3.0 PRE 3 for OS/2 ?

2004-08-19 Thread Adrian Chadd
: revision 1.284 date: 1999/01/13 23:24:14; author: wessels; state: Exp; lines: +4 -1 OS/2 fixes from Doug Nazar [EMAIL PROTECTED] Adrian -- Adrian ChaddI'm only a fanboy if [EMAIL PROTECTED] I emailed Wesley Crusher.

squid-3 development: stmem, endOffset(), range requests

2004-08-23 Thread Adrian Chadd
. Adrian -- Adrian ChaddI'm only a fanboy if [EMAIL PROTECTED] I emailed Wesley Crusher.

Re: squid-3 development: stmem, endOffset(), range requests

2004-08-23 Thread Adrian Chadd
code which uses it to swap objects out but I want to make the http usage a bit nicer. I suggest fixing this up and trying to get a stable looking devel release out before we run around and try to replace anything like the callback methods. Adrian -- Adrian ChaddI'm only

Re: simulating HTTP latency by chaining squids

2005-02-16 Thread Adrian Chadd
solution (such as Linux netfilter tricks?) I can use, that would work just as well. Thanks, Nick Lewycky -- Adrian ChaddYou don't have a TV? Then what's [EMAIL PROTECTED] all your furniture pointing at?

Re: IPv6 support

2005-03-02 Thread Adrian Chadd
the source address of connections in client_side.c(c) or http.c(c), etc.) * supporting wildly(!) different APIs, such as windows The only place I see this really breaking is in the ACL code. Adrian -- Adrian ChaddYou don't have a TV? Then what's [EMAIL PROTECTED

Re: Intro

2005-03-16 Thread Adrian Chadd
. Are you based in Perth? adrian -- Adrian ChaddTo believe with certainty we must first [EMAIL PROTECTED] begin by doubting.

Re: Memory usage fix (patch)

2005-03-16 Thread Adrian Chadd
the network IO code path in squid-2.5. adrian -- Adrian ChaddTo believe with certainty we must first [EMAIL PROTECTED] begin by doubting.

sf squid branch

2005-03-16 Thread Adrian Chadd
Hiya, I've created a new squid-2.5 branch in sourceforge - tidyup_deferred_reads. I'm going to play around with re-arranging or replacing the deferred reads mechanism with something a little more flexible and event-driven-io happy. Adrian -- Adrian ChaddTo believe

Re: sf squid branch

2005-03-17 Thread Adrian Chadd
On Fri, Mar 18, 2005, Henrik Nordstrom wrote: On Thu, 17 Mar 2005, Adrian Chadd wrote: I've created a new squid-2.5 branch in sourceforge - tidyup_deferred_reads. I'm going to play around with re-arranging or replacing the deferred reads mechanism with something a little more flexible

Re: sf squid branch

2005-03-17 Thread Adrian Chadd
On Fri, Mar 18, 2005, Henrik Nordstrom wrote: On Fri, 18 Mar 2005, Adrian Chadd wrote: I'm thinking of some simple feedback from the client - server saying yup, I've copied a little more. Ok. Along the same lines I outlined some day ago then. I'm sure its not a new concept - I'm just

Re: LRU frequency

2005-07-20 Thread Adrian Chadd
On Wed, Jul 20, 2005, Lucas Brasilino wrote: Since you mentioned, I looked event.c code and I saw that every event functions called within eventRun() is unregistered. So functions like storeMaintainSwapSpace() must be re-registered. Why not add a flag to struct ev_entry that tells if an

Re: Running squid without hard disk

2005-07-24 Thread Adrian Chadd
On Thu, Jul 21, 2005, mohinder garg wrote: Hello, I am looking to make some changes in squid. As of now i think squid definitely needs hard disk to run. I want to know if there is any way i can run it totally on RAM ? I know that is not an efficient way but still i just want to try it. if

Re: Patches

2005-08-18 Thread Adrian Chadd
On Thu, Aug 18, 2005, Ken Moberg wrote: Source Forge Account: kmoberg Email: [EMAIL PROTECTED] I have patches for Squid-2.5.STABLE9 that use the client's IP address for all outgoing requests (TPROXY). I'd like to make them available for people to use. I also have a patch that only

Re: Addition of an opcode

2005-08-23 Thread Adrian Chadd
On Tue, Aug 23, 2005, Noam - Technion wrote: my question : After adding ICP_STALE in opcode in every function that need to use it, we get unknown opcode from icpHandleIcpV2, we already added a case for it in the switch. can you (re)post a diff for us to look at? adrian

Re: Squid-2.5.STABLE11-RC2 (Release Candidate 2) available

2005-09-19 Thread Adrian Chadd
In the long term we hope to get rid of the dependency on the built-time limit, only relying on the ulimit when Squid is started. There still remains a bit of work for this however (delay pools and a few other items depends on the build time limit). IIRC, you could replace the statically

Tidying up the deferred reads

2005-10-09 Thread Adrian Chadd
Hi everyone, I've found a little time recently to implement an idea I had for removing the deferred reads from squid. These things in 2.5 are one of the things I've found my squids spend a bit of time in. Removing them lets me unwind the repeated building of the poll/select list every time

Re: Tidying up the deferred reads

2005-10-09 Thread Adrian Chadd
On Mon, Oct 10, 2005, Adrian Chadd wrote: Hi everyone, I've found a little time recently to implement an idea I had for removing the deferred reads from squid. These things in 2.5 are one of the things I've found my squids spend a bit of time in. Removing them lets me unwind the repeated

  1   2   3   4   5   6   7   8   9   >