Re: squid3-ipv6

2007-01-03 Thread Amos Jeffries
use within the local network here and the internet at large. Amos Jeffries Treehouse Networks Ltd. [EMAIL PROTECTED] - Original Message - From: Henrik Nordstrom [EMAIL PROTECTED] To: Amos Jeffries [EMAIL PROTECTED] Cc: squid-dev@squid-cache.org Sent: Thursday, January 04, 2007 4:19 AM

Re: Debug

2007-01-08 Thread Amos Jeffries
Henrik Nordstrom wrote: mån 2007-01-08 klockan 17:27 +1300 skrev Amos Jeffries: The problem I am tracking is a DNS timeout when a TCP_MISS:DIRECT begins but can't figure out how to get any action-by-action or function-by-function record of what calls are being made in the area. Well

Re: new website issues

2007-02-08 Thread Amos Jeffries
Adrian Chadd wrote: (for those of you who haven't seen it, the new website is taking shape @ http://new.squid-cache.org/ . The source for the website is in Squid CVS under www2 in case anyone feels like submitting me diffs.) The issue some people have seen with the splash image sitting on top

Advancing IPv6 properly

2007-02-12 Thread Amos Jeffries
I have been giving the branch a lot of thought and a little testing recently. I have come to the conclusion that the IPv6 branch under squid3 as it stands is in need of quite a makeover. I'd like your ideas on this: Creating an IPAddress class to replace all the nasty macros currently

Re: locked out by partial cvsmerge

2007-02-23 Thread Amos Jeffries
Adrian Chadd wrote: On Fri, Feb 23, 2007, Alex Rousskov wrote: Do we have command-line access to SourceForge CVS so that the lock file can be manually removed? What should I do to unlock myself? Shell.sourceforge.net is currently busted for some reason. I wonder whats going on. oh, grrr.

Re: locked out by partial cvsmerge

2007-02-28 Thread Amos Jeffries
Henrik Nordstrom wrote: tis 2007-02-27 klockan 21:40 -0700 skrev Alex Rousskov: Thanks for the explanation and snipped details. Unfortunately, it looks like the problem is back and has even become worse as I see more locks (from other developers) getting stuck now: cvs rtag: [21:28:08]

Re: redirection

2007-03-08 Thread Amos Jeffries
Siddhesh PaiRaikar wrote: we need to block a particular site based on the content. we are planning to block the page from the function storeAppend() in store.c. wold it be the right place for blocking the page or should it be blocked elsewhere. httpAppendBody is probably a better

DEBUG Section for IPAddress

2007-03-26 Thread Amos Jeffries
I have so far not placed any permanent debug statements in the IPAddress object. It's come about time I should be making some more permanent ones and so need a section number. Is there some method I don't know yet for assigning a unique level or do I just pick an unused number and write it in?

Squid3 ICAP / PRE6

2007-03-31 Thread Amos Jeffries
Alex, You mentioned earlier that the ICAP integration into HEAD is going to be within the next few weeks. Exactly how close is it? I have a few bits of IPv6 I want to push up. But if you are very close I want to wait until your ICAP / PRE6 is released before I start changing HEAD on you.

Re: DEBUG Section for IPAddress

2007-04-03 Thread Amos Jeffries
Alex Rousskov wrote: On Mon, 2007-03-26 at 23:59 +1200, Amos Jeffries wrote: I have so far not placed any permanent debug statements in the IPAddress object. It's come about time I should be making some more permanent ones and so need a section number. Is there some method I don't know yet

Re: DEBUG Section for IPAddress

2007-04-03 Thread Amos Jeffries
Gah! I diffed the files backwards. Here is the actual patch for doc/debug-sections.txt Amos --- doc/debug-sections.txt 2007-03-27 20:12:49.0 +1200 +++ DEBUG_levels.txt 2007-04-04 12:56:03.0 +1200 @@ -3,11 +3,14 @@ section 0 Client Database section 0 Debug Routines

Re: some help with the website please

2007-04-04 Thread Amos Jeffries
Adrian Chadd wrote: I hate to ask for help when I said I'd do it, but I'm running very short on spare time at the moment and I'd appreciate some help in finishing off the new.squid-cache.org website so its ready to be made live. Someone with server access: help, please? Adrian I have time

Re: DEBUG Section for IPAddress

2007-04-04 Thread Amos Jeffries
Alex Rousskov wrote: On Wed, 2007-04-04 at 13:02 +1200, Amos Jeffries wrote: Gah! I diffed the files backwards. Here is the actual patch for doc/debug-sections.txt Amos, The doc/mk-debugs.sh script you were using (or equivalent) needs to be fixed. It needs to grep files

IPv6 developments for HEAD

2007-04-06 Thread Amos Jeffries
native char** stored format inside hostent to the appropriate in_addr or in6_addr type which can then can be passed to the IPAddress object for conversion. Amos Jeffries Patch file generated Sat Apr 7 15:24:21 NZST 2007 from CVS branch squid3-ipv6 CVS base branch HEAD CVS repository

Re: IPv6 developments for HEAD

2007-04-07 Thread Amos Jeffries
Guido Serassio wrote: Hi Amos, At 07.24 07/04/2007, Amos Jeffries wrote: Attached are two patches which constitute part of the core developments for protocol-independent handling of IP addresses in squid3. There is a problem in your patch. You are including many include files without

Re: IPv6 developments for HEAD

2007-04-07 Thread Amos Jeffries
Guido Serassio wrote: Hi Amos, At 13.21 07/04/2007, Amos Jeffries wrote: Thank Guido. I wondered what the reason was behind those. Fixed. New patches attached. Still some details on the include side: In IPAddress.cc you should first include squid.h like other sources, in this way you

Re: IPv6 developments for HEAD

2007-04-07 Thread Amos Jeffries
Guido Serassio wrote: Hi Amos, At 13.52 07/04/2007, Amos Jeffries wrote: Guido Serassio wrote: Hi Amos, At 13.21 07/04/2007, Amos Jeffries wrote: Thank Guido. I wondered what the reason was behind those. Fixed. New patches attached. Still some details on the include side: In IPAddress.cc

Re: IPv6 developments for HEAD

2007-04-07 Thread Amos Jeffries
:43 2007 @@ -0,0 +1,303 @@ + +/* + * $Id$ + * + * DEBUG: section 14IP Storage and Handling + * AUTHOR: Amos Jeffries + * + * SQUID Internet Object Cache http://squid.nlanr.net/Squid/ + * -- + * + * Squid is the result of efforts

Re: IPv6 developments for HEAD

2007-04-11 Thread Amos Jeffries
Alex Rousskov wrote: On Wed, 2007-04-11 at 11:41 +1200, [EMAIL PROTECTED] wrote: On Sat, 2007-04-07 at 17:24 +1200, Amos Jeffries wrote: Attached are two patches which constitute part of the core developments for protocol-independent handling of IP addresses in squid3. In your opinion, should

Re: Squid 3.0 bugs that need you.

2007-04-12 Thread Amos Jeffries
Alex Rousskov wrote: Hi there, I went through the remaining Squid3 non-enhancement bug reports targeted for 3.0. For most bugs, I was able to close or comment in the bugzilla. The following bugs are special because the questions did not seem appropriate for bugzilla. Please review.

Re: Squid 3.0 bugs that need you.

2007-04-13 Thread Amos Jeffries
Alex Rousskov wrote: Hi there, I went through the remaining Squid3 non-enhancement bug reports targeted for 3.0. For most bugs, I was able to close or comment in the bugzilla. The following bugs are special because the questions did not seem appropriate for bugzilla. Please review.

Re: Squid 3.0 bugs that need you.

2007-04-13 Thread Amos Jeffries
Alex Rousskov wrote: Hi there, I went through the remaining Squid3 non-enhancement bug reports targeted for 3.0. For most bugs, I was able to close or comment in the bugzilla. The following bugs are special because the questions did not seem appropriate for bugzilla. Please review.

Re: Style of commit messages

2007-04-16 Thread Amos Jeffries
Adrian Chadd wrote: On Mon, Apr 16, 2007, Henrik Nordstrom wrote: Please follow the following style in your commit messages First if the primary author of the patch isn't you then have a line indicating the autor of the change Author: Name email Next a short summary of the change.

cppunit removal

2007-04-16 Thread Amos Jeffries
AUTHOR: Ams Jeffries [EMAIL PROTECTED] The squid 3.0 will not be packaged with cppunit 1.10.0. The developers have decided that the packaging of cppunit within the squid sources has caused more trouble than was solved. Ease of install independently of squid combined with the apparently

Debug-Sections for Release

2007-04-17 Thread Amos Jeffries
This is a cleanup of the published Debug Sections in Squid 3.0. Source files are only altered in the commented DEBUG: areas. All changes are to better prepare these sections for automatic processing. Some are to bring code sections marked with unknown (ie section ??) up to date by marking

Re: Debug-Sections for Release

2007-04-22 Thread Amos Jeffries
Amos Jeffries wrote: This is a cleanup of the published Debug Sections in Squid 3.0. Source files are only altered in the commented DEBUG: areas. All changes are to better prepare these sections for automatic processing. Some are to bring code sections marked with unknown (ie section ??) up

nocpp remainders not yet in HEAD

2007-04-25 Thread Amos Jeffries
Henrik, The quick method of dropping files in the cppunit* directory missed a few. I just picked up on it now. Here is a current patch which takes care of the last remainders. Amos Patch file generated Wed Apr 25 20:55:01 NZST 2007 from CVS branch nocpp CVS base branch HEAD CVS repository:

Re: OS builds

2007-05-01 Thread Amos Jeffries
Adrian Chadd wrote: On Wed, May 02, 2007, Robert Collins wrote: On Wed, 2007-05-02 at 14:05 +1200, [EMAIL PROTECTED] wrote: Without knowing a lot about the sourceforge compile farm it seems to me we could possible leverage that. Has anyone looked at it before? Not anymore: As of 2007-02-08,

Re: OS builds

2007-05-01 Thread Amos Jeffries
Adrian Chadd wrote: On Wed, May 02, 2007, Amos Jeffries wrote: Pick what hardware you'd like to play with and stuff can be arranegd. HP have some test machines you can get accounts on; the local computer club has access to reasonably diverse platforms and I can also add a machine or two to my

Re: OS builds

2007-05-02 Thread Amos Jeffries
Henrik Nordstrom wrote: ons 2007-05-02 klockan 17:53 +1200 skrev Amos Jeffries: 'Name thy OS' would be those seen in squid-users where people are stuck with old 2.6 or 2.5 etc. The culprits seemed to be RedHat and CentOS. RedHat already provides up to date builds for RHEL. Not officially

Re: new.squid-cache.org updated

2007-05-05 Thread Amos Jeffries
Adrian Chadd wrote: Hi, I've updated new.squid-cache.org to be able to house non-templated content in random places. * templated content is now in files suffixed with .dyn * magic with rewrite rules to handle emulating index.dyn without forcing all pages down the PHP template assembly thingy

Re: new.squid-cache.org updated

2007-05-06 Thread Amos Jeffries
Adrian Chadd wrote: On Sun, May 06, 2007, Amos Jeffries wrote: Ah, you have changed the apache magic needed to display the site. Could you send me the new apache config needed please? For now all I can do is this patch which gets the main template back to xhtml standard compliance. Check

Re: cvs commit: www2/content/Download binaries.dyn

2007-05-13 Thread Amos Jeffries
Amos Jeffries wrote: amosjeffries2007/05/13 00:50:45 MDT Modified files: content/Download binaries.dyn Log: Updated release versions and dates. Corrected obvious bad dates for some releases based on info in squid-dev. Revision ChangesPath 1.2 +29 -33

Re: cvs commit: squid3/src/ICAP ICAPConfig.cc ICAPConfig.h ....

2007-05-18 Thread Amos Jeffries
Alex Rousskov wrote: On Sat, 2007-05-19 at 02:38 +1200, Amos Jeffries wrote: Oh dear I was sure y test build had --enable-icap. Seems not though, very sorry. Blame evil #ifdefs! I was going to, then I looked at the code more. I can't see _any_ in that file file. I'm using the same g

Re: squid3_logdaemon work (round 1) complete, again!

2007-05-18 Thread Amos Jeffries
Adrian Chadd wrote: On Fri, May 18, 2007, Adrian Chadd wrote: I've mostly copied over the older buffering thats in squid-2.6 and squid-3 logfile.c(c). Please review and provide feedback. I'm not going to try and improve the logfile writing in LogFileBlocking; I just want it to mimic what the

Re: cvs commit: squid3/lib MemPool.cc

2007-05-23 Thread Amos Jeffries
Alex Rousskov wrote: rousskov2007/05/22 10:40:06 MDT Modified files: lib MemPool.cc Log: Bug #1966 fix: Use rounded String MemPool sizes in the hard-coded pool config to avoid warnings that the configured pool size does not match the actual size.

Re: SqString

2007-05-25 Thread Amos Jeffries
Alex Rousskov wrote: On Fri, 2007-05-25 at 20:39 +1200, Amos Jeffries wrote: I have just been experimenting with a few options short of a full backout. My initial idea of dropping the constructor drags the changes into areas the initial patch didn't touch. No go there. Yes, of course. I

Re: SqString

2007-05-26 Thread Amos Jeffries
Alex Rousskov wrote: On Sat, 2007-05-26 at 04:08 +1200, Amos Jeffries wrote: Alex Rousskov wrote: On Fri, 2007-05-25 at 20:39 +1200, Amos Jeffries wrote: I have just been experimenting with a few options short of a full backout. My initial idea of dropping the constructor drags the changes

Re: squid-3 + SqString

2007-05-28 Thread Amos Jeffries
Adrian Chadd wrote: Hi guys, Could we please make a decision about SqString? I'm leaning towards backing it out for now, releasing Squid-3, and then doing a phased introduction post squid-3 - starting with just accessor method changes.. Adrian I was waiting on Alex (or anyones) response to

Re: squid-3 + SqString

2007-05-29 Thread Amos Jeffries
Henrik Nordstrom wrote: mån 2007-05-28 klockan 23:17 +0800 skrev Adrian Chadd: Personally, I think we've all learnt a bit from this experience, and there's a clearer path forward for tidying up the string (ab)uses going on in the codebase. I'm all for calling this a lesson learnt, backing it

Status of squid3-ipv6

2007-06-14 Thread Amos Jeffries
to Squid 3.1. Amos Jeffries

Re: Introduction

2007-06-21 Thread Amos Jeffries
Mark Nottingham wrote: Hi, I've been bugging Henrik and Adrian enough that it'd be useful to be on this list. I'm interested in helping with documentation, asking stupid questions and filing bugs. Cheers, Hi Mark, still interested? If so, what sort of documentation were you imagining?

Callbacks help please

2007-06-22 Thread Amos Jeffries
I need some help getting my head around the callback system peoples. The situation: with IPv6 I have it looking up records and failover to lookup the A records at the DNS level. However IFF the DNS server responds to the indicating a CNAME. THe case is quite common that the CNAME

Re: Callbacks help please

2007-06-24 Thread Amos Jeffries
Amos Jeffries wrote: I need some help getting my head around the callback system peoples. The situation: with IPv6 I have it looking up records and failover to lookup the A records at the DNS level. However IFF the DNS server responds to the indicating a CNAME. THe case is quite

Re: XML Parser error

2007-06-25 Thread Amos Jeffries
Wynand Swanepoel wrote: I am running Squid 2.6Stable13 on FreeBSD 4.9 as a transparent proxy using wccp. I get the following error when I do a search on the search engine www.aardvark.co.za: Warning: Sablotron error on line 1: XML parser error 3: no element found in

Squid and SIGPIPE

2007-07-05 Thread Amos Jeffries
I have been overlooking these for a while on the assumption that it was gdb catching something when it should have left it. I have just started wondering if this was in fact bad unexpected behaviour for the squid signals. Should I be looking into it? I run all my test builds under gdb with

Re: Squid and SIGPIPE

2007-07-08 Thread Amos Jeffries
Adrian Chadd wrote: On Thu, Jul 05, 2007, Amos Jeffries wrote: I have been overlooking these for a while on the assumption that it was gdb catching something when it should have left it. I have just started wondering if this was in fact bad unexpected behaviour for the squid signals. Should I

default user

2007-07-09 Thread Amos Jeffries
Hey guys, I find myself in need of a ./configure option to set the cache_effective_user other than 'nobody' on a per-dist basis, leaving the squid.conf setup as-is. Can someone please explain to me how the @HTTP_PORT@ etc get replaced in squid.conf / cf.data.pre I have tried modifying

Re: default user

2007-07-10 Thread Amos Jeffries
Duane Wessels wrote: On Tue, 10 Jul 2007, Amos Jeffries wrote: Hey guys, I find myself in need of a ./configure option to set the cache_effective_user other than 'nobody' on a per-dist basis, leaving the squid.conf setup as-is. Can someone please explain to me how the @HTTP_PORT@ etc get

Re: exposing ACL denies in cache.log?

2007-07-13 Thread Amos Jeffries
Adrian Chadd wrote: Is there something nice in the logfile format for exposing the custom error page in access.log. I'd like to expose the custom errors chosen through the use of external_acl's so reporting scripts can extract info out of them later. Any ideas? src/access_log.cc:438

dnsserver

2007-07-18 Thread Amos Jeffries
Hmm, just handling these dnsserver typos I had. Can anyone give one good reason for the dnsserver external DNS helper now that squid has non-blocking event-driven internal DNS? Amos

Re: squid3-largeobj squid3/src HttpHdrRange.cc...

2007-08-01 Thread Amos Jeffries
Tsantilas Christos wrote: Henrik Nordstrom wrote: On tis, 2007-07-31 at 21:09 +, chtsanti wrote: Please avoid casting unless needed. The compiler automatically promotes to larger types when needed, and will tell you if you try to do the reverse.. So stop casting things to (int64_t). OK.

Re: squid3-largeobj squid3/src HttpHdrRange.cc...

2007-08-02 Thread Amos Jeffries
Amos Jeffries wrote: Alex Rousskov wrote: On Wed, 2007-08-01 at 20:18 +1200, Amos Jeffries wrote: How about I first dig-up/rewrite some old code I wrote years ago that parses a value nX where n is some integer and X is one of the B/KB/MB/GB/...etc base strings? That would be nice. I think

Re: squid3-largeobj squid3/src HttpHdrRange.cc...

2007-08-02 Thread Amos Jeffries
Alex Rousskov wrote: On Wed, 2007-08-01 at 20:18 +1200, Amos Jeffries wrote: How about I first dig-up/rewrite some old code I wrote years ago that parses a value nX where n is some integer and X is one of the B/KB/MB/GB/...etc base strings? That would be nice. I think Squid3 already has

mirror page.

2007-08-03 Thread Amos Jeffries
Duane, When I fix the HTML compliance on those pages the background color you picked for the region headers starts to actually show up. Did you actually intend the bright/light blue? Amos

Attn: Peter J. Cherny

2007-08-03 Thread Amos Jeffries
. Thanks for your testing. Amos Jeffries Squid Development Team - IPv6

WebDAV tester wanted.

2007-08-03 Thread Amos Jeffries
in squid under an IPv6 setup. I am willing to act as a free consultant in the IPv6 side of the setup in exchange for this testing if needed. Amos Jeffries Squid Development Team - IPv6

bug 2000 - patch

2007-08-05 Thread Amos Jeffries
Here is the patch to obsolete StoreEntryStream from squid. If any of you want to check it before I push it to HEAD next weekend. It blocks out the StoreEntryStream class code and test cases, and replaces all use of the stream with calls to storeAppendPrintf(). I'm not sure if it needs a

Re: cvs commit: www2/content/Download mirrors.dyn

2007-08-05 Thread Amos Jeffries
Duane Wessels wrote: wessels 2007/08/04 15:03:00 MDT Modified files: content/Download mirrors.dyn Log: Fix Amos' bug Revision ChangesPath 1.12 +1 -1 www2/content/Download/mirrors.dyn Don't know what the bug was (background-color?) but I'm not seeing

Re: bug 2000 - patch

2007-08-05 Thread Amos Jeffries
Robert Collins wrote: On Sun, 2007-08-05 at 19:39 +1200, Amos Jeffries wrote: Here is the patch to obsolete StoreEntryStream from squid. If any of you want to check it before I push it to HEAD next weekend. It blocks out the StoreEntryStream class code and test cases, and replaces all use

Re: bug 2000 - patch

2007-08-05 Thread Amos Jeffries
Robert Collins wrote: On Sun, 2007-08-05 at 22:03 +1200, Amos Jeffries wrote: Building on recent testing versions of Debian with upcoming g++ 4.1.3 and 4.2.1 it fails the unit-tests. std::setw() on a string/char requires something that is not implemented in the StoreEntrystream* classes. My

Re: docs squid3/src/ICAP ICAPInitiate.h,1.2,1.2.10.1

2007-08-06 Thread Amos Jeffries
Alex Rousskov wrote: On Tue, 2007-07-31 at 04:29 +, Amos Jeffries wrote: Update of cvs.devel.squid-cache.org:/cvsroot/squid/squid3/src/ICAP Modified Files: Tag: docs ICAPInitiate.h Log Message: Make doxygen happier with the source. Index: ICAPInitiate.h

Re: squid3-largeobj squid3/src HttpHdrRange.cc...

2007-08-07 Thread Amos Jeffries
: On fre, 2007-08-03 at 00:35 +1200, Amos Jeffries wrote: Although having said that, the current parser requires whitespace between the value and the units. I'm not certain that is a good thing. Been like that for ever. Or at least as long as Squid has been parsing units.. i.e. Squid-1.1

Re: Squid3: schedule and naming

2007-08-08 Thread Amos Jeffries
Hi Amos, Amos Jeffries wrote: I just spent the afternoon going over Christos full patch for squid3-largeobj and only found a few very minor things. Though I still don't know squid well enough to tell if there is anything missed out. Did you use it to download large files? Did you do some

Re: docs squid3/src AuthUser.h,1.5.2.1,1.5.2.2

2007-08-09 Thread Amos Jeffries
I've reduced the doxygen errors down now to what seems like just a bunch of class/structs and typedefs which define different names, but are used interchangably. I've altered this one so the two method declarations actually use the same name for their param type. Is there a reason for so many

Re: squid3-ipv6 squid3/src HttpHeader.cc,1.18.4.8,1.18.4.9 cache_manager.cc,1.7.8.3,1.7.8.4 client_db.cc,1.5.4.14,1.5.4.15 event.cc,1.5.8.5,1.5.8.6

2007-08-10 Thread Amos Jeffries
Any objections to these going into 3-HEAD? Baring the seconds precision drop to 3dp (aka ms), its all whitespace. Modified Files: Tag: squid3-ipv6 HttpHeader.cc cache_manager.cc client_db.cc event.cc Log Message: Some Formatting tweaks to squidclient output. Much more readable.

Re: Squid 3 build error using Visual Studio

2007-08-12 Thread Amos Jeffries
Serassio Guido wrote: Hi, Trying to build the current Squid 3 source using Visual Studio 2005 on Windows, I get the following error. Any C++ suggestion ? hehe, StoreEntryStream, again. Alex just fixed the last bug in there for me, he may have better grasp of it at the moment. Here is

Re: cvs commit: squid3/src BodyPipe.cc BodyPipe.h

2007-08-13 Thread Amos Jeffries
rousskov2007/08/13 10:48:20 MDT snip The new code also keeps track of the number of outstanding events and skips that number if the consumer leaves. TODO: when AscyncCall support is improved, should we just schedule calls directly to consumer? It could be a much cleaner

StoreIOBuffer field types

2007-08-14 Thread Amos Jeffries
As part of the checks to find possible causes of my servers falling over I went to see if coverity had any more issues located. One of them was unsafe use of a variable typed 'size_t' setting up StoreIOBUffer local variable The constructor using it is: StoreIOBuffer(size_t aLength, int64_t

Re: cvs commit: squid3/src ftp.cc

2007-08-14 Thread Amos Jeffries
Alex Rousskov wrote: On Mon, 2007-08-13 at 12:01 +0200, Guido Serassio wrote: Now fixed. If you have time, it may be better to replace a virtual FtpStateData::haveControlChannel(char*) into a static FtpStateData::HaveControlChannel(FtpStateData*, char*) and let it check the ftpState pointer

Re: cvs commit: squid3/src ftp.cc

2007-08-14 Thread Amos Jeffries
On Tue, 2007-08-14 at 17:58 +0200, Henrik Nordstrom wrote: On tis, 2007-08-14 at 23:01 +1200, Amos Jeffries wrote: Alex Rousskov wrote: On Mon, 2007-08-13 at 12:01 +0200, Guido Serassio wrote: Now fixed. If you have time, it may be better to replace a virtual FtpStateData

Re: IPv6 support and Windows

2007-08-14 Thread Amos Jeffries
Hi Amos, Not good news here ... :-( We have a problem: You have used getaddrinfo() and freeaddrinfo() functions, but on Windows they are available only starting from Windows XP. This means that your code, even if compiled without IPv6 support, cannot run on Windows 2000. I'm also not

Re: cvs commit: squid3/src BodyPipe.cc BodyPipe.h

2007-08-14 Thread Amos Jeffries
On Tue, 2007-08-14 at 09:54 +1200, Amos Jeffries wrote: rousskov2007/08/13 10:48:20 MDT snip The new code also keeps track of the number of outstanding events and skips that number if the consumer leaves. TODO: when AscyncCall support is improved, should we just schedule

Re: cvs commit: squid3/src ftp.cc

2007-08-14 Thread Amos Jeffries
On tis, 2007-08-14 at 23:01 +1200, Amos Jeffries wrote: Alex Rousskov wrote: On Mon, 2007-08-13 at 12:01 +0200, Guido Serassio wrote: Now fixed. If you have time, it may be better to replace a virtual FtpStateData::haveControlChannel(char*) into a static FtpStateData

Re: Squid 3 build error using Visual Studio

2007-08-14 Thread Amos Jeffries
On tis, 2007-08-14 at 14:10 +0300, Tsantilas Christos wrote: The major problem you may have is that c++ compilers some times return error messages which looks completely unrelated with the real problem. Or quite related but where it's impossible to grok what is related or how...

Re: IPv6 support and Windows

2007-08-14 Thread Amos Jeffries
Hi Amos, Not good news here ... :-( We have a problem: You have used getaddrinfo() and freeaddrinfo() functions, but on Windows they are available only starting from Windows XP. This means that your code, even if compiled without IPv6 support, cannot run on Windows 2000. I'm also not

Re: squid-3 ?

2007-08-15 Thread Amos Jeffries
How long before the next pre or release candidate of squid-3 ? Now that both of the blocker bugs are closed. I submitted the last of the compile errors I can find today, it now builds for both make check and make install. Baring any of you others finding another I think we have reached step 2

Re: squid-3 ?

2007-08-15 Thread Amos Jeffries
On Wed, 2007-08-15 at 09:58 +0200, Guido Serassio wrote: Currently Squid is broken on all platforms without strtoll(), HP Tru64 is one. I'm working on it, and I'm expecting to fix the problem and run some tests on other platforms (Irix, NetBSD and OpenBSD) within the incoming weekend.

Re: Code documentation trends

2007-08-15 Thread Amos Jeffries
On Wed, 2007-08-15 at 02:32 +, Amos Jeffries wrote: snip *** MemPool.h23 Jun 2007 01:43:43 - 1.10.10.1 --- MemPool.h15 Aug 2007 02:32:57 - 1.10.10.2 *** *** 120,124 }; ! /* Support late binding of pool type for allocator agnostic

Re: Documenting non-public members

2007-08-15 Thread Amos Jeffries
I noticed this in a recent squid3/doc/Programming-Guide commit message: \section Coding Code Conventions ... Now that documentation is generated automatically from the sources some common comment conventions need to be adopted. \subsectionAPI vs Internal

Re: IPv6 support and Windows

2007-08-15 Thread Amos Jeffries
Hi Amos, At 07.25 15/08/2007, Amos Jeffries wrote: Hi Amos, Not good news here ... :-( We have a problem: You have used getaddrinfo() and freeaddrinfo() functions, but on Windows they are available only starting from Windows XP. This means that your code, even if compiled

Re: Documenting non-public members

2007-08-15 Thread Amos Jeffries
(pulling this back into squid-dev. private response was a slip of the paste key.) On Thu, 2007-08-16 at 10:40 +1200, Amos Jeffries wrote: Most of the squid code is commented for programmers in the .cc where the code is written. Leaving that as-is where possible, this is actual more

Re: squid-3 ?

2007-08-16 Thread Amos Jeffries
Robert Collins wrote: On Thu, 2007-08-16 at 11:59 +0300, Tsantilas Christos wrote: Hi all, Alex Rousskov wrote: The primary idea behind RC1 is to bring in users who are ignoring PRE releases because there were so many PREs. We need more testers than a handful of folks running PREs on busy

Re: squid3-ipv6 squid3 configure.in,1.63.2.36,1.63.2.37

2007-08-16 Thread Amos Jeffries
Is anyone able to help me with this configure problem? The goal is to have it test for a functions existence and if present define HAVE_function and add lib/function.$obj to the compile options. As far as I understand autoconf; I thought these checks as written below would do exactly that

Re: squid3-ipv6 squid3 configure.in,1.63.2.36,1.63.2.37

2007-08-16 Thread Amos Jeffries
Never mind. 5 mins more thought found a working solution. Amos

Re: squid3-ipv6 squid3 configure.in,1.63.2.36,1.63.2.37

2007-08-16 Thread Amos Jeffries
On tor, 2007-08-16 at 23:51 +1200, Amos Jeffries wrote: Is anyone able to help me with this configure problem? The goal is to have it test for a functions existence and if present define HAVE_function and add lib/function.$obj to the compile options. As far as I understand autoconf; I

Re: IPv6 support and Windows

2007-08-16 Thread Amos Jeffries
Hi Amos, At 07.25 15/08/2007, Amos Jeffries wrote: Hi Amos, Not good news here ... :-( We have a problem: You have used getaddrinfo() and freeaddrinfo() functions, but on Windows they are available only starting from Windows XP. This means that your code, even if compiled

Re: Code documentation trends

2007-08-16 Thread Amos Jeffries
On Thu, 2007-08-16 at 10:21 +1200, Amos Jeffries wrote: What I'm hoping for is to have a paragraph for each class about where its intended to be used etc. That would be terrific! I was trying to provide that for the classes I was adding. Theres lots of little bits still need doing

Re: squid3-ipv6 squid3 configure.in,1.63.2.36,1.63.2.37

2007-08-19 Thread Amos Jeffries
Henrik Nordstrom wrote: On fre, 2007-08-17 at 14:23 +1200, Amos Jeffries wrote: Thanks Henrik. I couldn't find the AC_REPLACE_FUNCS outside a special library test (there is a long list for header file checks). ??? my configure.in reads AC_SUBST(LIBREGEX) AC_REPLACE_FUNCS

Re: configuration guide link

2007-08-21 Thread Amos Jeffries
Now that there's automatically generated guides from the source available (and they're not easy to find!), should the configuration guide link on http://www.squid-cache.org/ and elsewhere point to them? The visolve stuff is great, but it's not authoritative. Just a thought, I good one

Re: configuration guide link

2007-08-21 Thread Amos Jeffries
On Wed, Aug 22, 2007, Amos Jeffries wrote: I good one though. I have just split the Configuration Guide link in the menubar into three. One for each of the official latest, and one for the old visolve page. The visolve page is a year outdated now. Hm, lets make the page look pretty now

Re: configuration guide link

2007-08-22 Thread Amos Jeffries
Adrian Chadd wrote: On Wed, Aug 22, 2007, Amos Jeffries wrote: I have been giving that some thought and there are a few major changes I'd put in place before any CSS prettiness 1) add a SEE_ALSO: item to the cf.data.pre format - many of the options apply to more than just one 'area

Re: configuration guide link

2007-08-22 Thread Amos Jeffries
Adrian Chadd wrote: On Wed, Aug 22, 2007, Amos Jeffries wrote: I have been giving that some thought and there are a few major changes I'd put in place before any CSS prettiness 1) add a SEE_ALSO: item to the cf.data.pre format - many of the options apply to more than just one 'area

Re: configuration guide link

2007-08-22 Thread Amos Jeffries
On Wed, Aug 22, 2007, Amos Jeffries wrote: Nothing blocking, just a wishlist really. Squid's wishlist is long; lets try to trim off whatever we can. :P I agree they are good ideas - and I'd really like to see those section markers be explicit section markers rather than comments which we

Re: configuration guide link

2007-08-22 Thread Amos Jeffries
On Thu, Aug 23, 2007, Amos Jeffries wrote: I just did it. The templates are now labeled with CSS hooks, and a new cfgman.css is added to modify some default.css settings so they don't look bad. Anything else will depend on getting rid of the pre Which won't be that hard - create a section

default cache user

2007-08-23 Thread Amos Jeffries
A while ago I patched my branch to allow configure-time setting (--with-cache-user=USER) of the squid run-time default user. I'm thinking this is worth adding to 3.0 before release. - it has been well tested now by me (~1 month use in production). - it reduces the patch level needed by OS

Re: default cache user

2007-08-23 Thread Amos Jeffries
On Fri, Aug 24, 2007, Amos Jeffries wrote: A while ago I patched my branch to allow configure-time setting (--with-cache-user=USER) of the squid run-time default user. I'm thinking this is worth adding to 3.0 before release. - it has been well tested now by me (~1 month use in production

dlmalloc

2007-08-26 Thread Amos Jeffries
Henrik, There are still traces of dlmalloc left in lib/Makefile.am (maybe elsewhere). Are they meant to be left or removed? Amos

epoll

2007-08-28 Thread Amos Jeffries
After todays changes I am now getting (with --enable-epoll) checking for epoll_ctl in -lepoll... no checking for epoll_ctl... yes checking if epoll works... yes Error - no epoll support found Try running 'sh ./scripts/get_epoll-lib.sh' then run configure again The script mentions does not

Re: epoll

2007-08-29 Thread Amos Jeffries
On ons, 2007-08-29 at 00:34 +1200, Amos Jeffries wrote: After todays changes I am now getting (with --enable-epoll) checking for epoll_ctl in -lepoll... no checking for epoll_ctl... yes checking if epoll works... yes Error - no epoll support found Try running 'sh ./scripts/get_epoll

  1   2   3   4   5   6   7   8   9   10   >