Re: Environment to build a squid helper

2008-08-13 Thread Henrik Nordstrom
On ons, 2008-08-13 at 23:11 +1200, Amos Jeffries wrote: NO_ADDR == 255.255.255.255 == invalid parse request, as per standard netinet/* definitions. Please disregard what I said in the last few emails about it being == empty. Yes, I see in gdb that it's set to NO_ADDR, but I fail to see

Re: Environment to build a squid helper

2008-08-13 Thread Henrik Nordstrom
On ons, 2008-08-13 at 22:40 +1200, Amos Jeffries wrote: Henrik Nordstrom wrote: On ons, 2008-08-13 at 16:25 +1200, Amos Jeffries wrote: Or maybe = should be equivalent to SetEmpty() in which case the original code works, and can be simplified a lot... not sure how IPAddress is supposed

Re: Environment to build a squid helper

2008-08-12 Thread Henrik Nordstrom
On tis, 2008-08-12 at 21:29 +0200, Guido Serassio wrote: I'm not sure of all the effects of the switch to a new Visual Studio version, I'm sure of the following: - A new C runtime, not provided with Windows 2000, XP and 2003, is needed, so a Windows setup program may be needed Isn't there

Re: Bug 2422 (imemory leak in Squid-2.7): HttpStateData?

2008-08-12 Thread Henrik Nordstrom
On ons, 2008-08-13 at 01:03 +0800, Adrian Chadd wrote: Here's some valgrind output, thanks to Chris: ==00:00:09:27.008 7355== 1,308,371 (1,210,456 direct, 97,915 indirect) bytes in 802 blocks are definitely lost in loss record 36 of 38 ==00:00:09:27.008 7355==at 0x4A1AD7D: calloc

Re: Environment to build a squid helper

2008-08-12 Thread Henrik Nordstrom
On tis, 2008-08-12 at 22:10 +0200, Guido Serassio wrote: Yes, the resulting feel is not so good I am attemting an MSYS install with the goal of being able to build squid-3 (and 2) just to see how it fares.. Initial results isn't too bad, but the GCC version I installed (4.3.1) barfs a bit

Re: Environment to build a squid helper

2008-08-12 Thread Henrik Nordstrom
On ons, 2008-08-13 at 07:28 +1000, Robert Collins wrote: For irony, at least when I last worked on it, cygwin setup is built in --no-cygwin mode; which while not precisely mingw, is a lot closer to that than a cygwin1.dll using program :. The problem with cygwin in this context is that it has

Re: Environment to build a squid helper

2008-08-12 Thread Henrik Nordstrom
On ons, 2008-08-13 at 04:16 +0200, Henrik Nordstrom wrote: At the moment I have plain builds of Squid-2 Squid-3 compiling, but have not yet tested them.. After a little tweaking I got Squid-3.HEAD to start, and it does seem to work, but something is wrong with how it parses IP addresses as I

Re: Environment to build a squid helper

2008-08-12 Thread Henrik Nordstrom
On ons, 2008-08-13 at 15:08 +1200, Amos Jeffries wrote: configure prefix was a translated path.. and something is wrong with the errorpages default path.. include/autoconf.h says #define DEFAULT_SQUID_DATA_DIR ${datarootdir} Oh great. FYI, thats generated using a AC_SUBST in

Re: Environment to build a squid helper

2008-08-12 Thread Henrik Nordstrom
On ons, 2008-08-13 at 15:18 +1200, Amos Jeffries wrote: Checking... code broken. Not Windows specific. How so? Endian problems? /* Decode addr2 */ if (*addr2 !(q-addr2=addr2) ) { debugs(28, 0, aclIpParseIpData: unknown second address in ' t '); delete q;

Re: Environment to build a squid helper

2008-08-12 Thread Henrik Nordstrom
On ons, 2008-08-13 at 00:02 -0400, Tres Seaver wrote: Inlining involves repeated duplication of the same function (body) at each call site, no? If inlining is a good idea (trading space at the call site to avoid the overhead of a call setup), then declaring the function extern seems silly.

Re: Environment to build a squid helper

2008-08-11 Thread Henrik Nordstrom
Unfortunately there is only Guido woring on his sparetime (the little he have) on the Windows port of Squid, which means there is very limited support for Visual Studio. For some reason using later versions does not work out well and is why Squid is still using that old and now end-of-life

Re: [squid-users] Adding Header file

2008-08-10 Thread Henrik Nordstrom
That's a question for squid-users Regards Henrik On sön, 2008-08-10 at 16:01 +0530, Paras Fadte wrote: Hi, What is the best caching hierarchy using squid so that the load on origin servers is the minimum ? Thank you. -Paras On Mon, Jul 7, 2008 at 8:30 PM, Henrik Nordstrom [EMAIL

Re: squid-2.HEAD: fwdComplete/Fail before comm_close

2008-08-08 Thread Henrik Nordstrom
Can you please file a bug report on this? Preferably with a stack trace of the crash if possible.. also if this 2.HEAD was from before 22/7 then please test again as there was a number of very related fixes on the 21/7. The second change looks wrong and should be a fwdFail.. The first change

Re: error messages

2008-07-31 Thread Henrik Nordstrom
tor 2008-07-31 klockan 22:54 +1200 skrev Amos Jeffries: IMO its rather dated now and should be removed. Yes. Regards Henrik

Re: dns vulnerabilities

2008-07-30 Thread Henrik Nordstrom
On mån, 2008-07-28 at 09:22 -0400, Jeremy Hall wrote: I am writing to you and not a squid list because i don't know if the vulnerability most recently discovered in most DNS implementations is publically known. Does squid's internal DNS suffer from this vulnerability, or does it simply rely

Re: plain patches and shared bundlebuggy

2008-07-23 Thread Henrik Nordstrom
On ons, 2008-07-23 at 15:21 +0800, Adrian Chadd wrote: So again, i'd like to propose migrating Squid-2 to subversion for the time being to make development easier and maintain Windows compatibility for Guido and any other interested Windows dev. If you fix up the following pieces then I won't

Re: How to buffer a POST request

2008-07-22 Thread Henrik Nordstrom
/2008, at 3:29 AM, Henrik Nordstrom wrote: On ons, 2008-06-11 at 12:51 +0300, Mikko Kettunen wrote: Yes, I read something about this on squid-users list, there seems to be 8kB buffer for this if I understood right. The buffer is bigger than that. But not unlimited. The big change

Re: plain patches and shared bundlebuggy

2008-07-22 Thread Henrik Nordstrom
On tis, 2008-07-22 at 12:58 +0800, Adrian Chadd wrote: I'd be quite happy with a migration to svn for the time being so Guido can continue working on Squid-2-Win32 without worrying about VCS portability related issues. I think it should work equally well moving the NT branch back to

Re: plain patches and shared bundlebuggy

2008-07-22 Thread Henrik Nordstrom
On tis, 2008-07-22 at 20:57 +0200, Guido Serassio wrote: I think that now is time to stop the wasting of my very limited free time. And that's exactly what we are trying to do. Make sure that there is as little impact as possible on the things you need to do for the windows port, and also

Re: [PATCH] Error Page code upgrades

2008-07-22 Thread Henrik Nordstrom
On tis, 2008-07-22 at 16:19 +0800, Adrian Chadd wrote: Sure, but my point still stands, sort out the translation - static file stuff first, then convert ErrorState to a class without trying to do auto-translation/charset encoding after the release cycle. The first couple are no-brainers -

Re: to be member of you

2008-07-22 Thread Henrik Nordstrom
Welcome to squid-dev On tis, 2008-07-22 at 15:59 +0700, [EMAIL PROTECTED] wrote: Dear Squid developer group I am Agung Sediyono from Informatic Department Universitas Trisakti Jakarta Indonesia I am now Ph.D in Computer Network and interest in this project development especially in page

Re: [PATCH] dist-time translation

2008-07-21 Thread Henrik Nordstrom
mån 2008-07-21 klockan 11:44 +1200 skrev Amos Jeffries: Personally I think it's fine to add a po2html as an install time requirement, at least in trunk. The soft fallback could be a configure option to not generate translated error pages with a reference to where a tarball of translated

Re: store_client assertion in 2.7STABLE3

2008-07-21 Thread Henrik Nordstrom
mån 2008-07-21 klockan 07:26 +0200 skrev Henrik Nordstrom: sön 2008-07-20 klockan 14:22 -0700 skrev Mark Nottingham: The other places where I see that assertion are: client_side.c:clientHandleIMSReply Right.. should be a soft error there as well. Done

Re: [PATCH] dist-time translation

2008-07-21 Thread Henrik Nordstrom
tis 2008-07-22 klockan 00:11 +1200 skrev Amos Jeffries: I've got everything sorted and working here now and would have submitted, but have hit another snag with bzr being to 'smart' again, apparently Firefox is a mail agent now. :-( Yes Robert I'll be emailing you soon if the next test

Re: [PATCH] dist-time translation

2008-07-21 Thread Henrik Nordstrom
mån 2008-07-21 klockan 20:23 +0800 skrev Adrian Chadd: So if I get this right, this is for returning different error pages per negotiated language, right? And also character encoding.. There is still parts of the world not happy with UTF-8 for one reason or another.. Getting this properly tied

Re: intercepting streams

2008-07-21 Thread Henrik Nordstrom
On mån, 2008-07-21 at 11:27 -0400, Michael Kaplan wrote: Yes sort of like a proxy error page, but specific to my application needs. This is a custom solution, so I need not worry about any history of complaints. I'm looking for something specific in the header, if it exists, I would send a

Re: store_client assertion in 2.7STABLE3

2008-07-20 Thread Henrik Nordstrom
() #12 0x004a7272 in aioCheckCallbacks () #13 0x004900f3 in storeDirCallback () #14 0x0043439a in comm_select () #15 0x00467ac9 in main () Need anything more specific? Cheers, On 08/07/2008, at 1:44 AM, Henrik Nordstrom wrote: On tis, 2008-07-08

Re: [PATCH] dist-time translation

2008-07-20 Thread Henrik Nordstrom
Your errors/Makefile.am looks a bit odd... in essence you need to figure out when translate is to be called. And it's a make dependency target, not a command. Personally I think it's fine to add a po2html as an install time requirement, at least in trunk. The soft fallback could be a configure

Re: store_client assertion in 2.7STABLE3

2008-07-20 Thread Henrik Nordstrom
Just committed a patch for this. But I have not audited the code to tell if this was the only place where this may happen.. Regards Henrik On sön, 2008-07-20 at 09:20 +0200, Henrik Nordstrom wrote: So clientCacheHit needs to check for ENTRY_ABORTED and fall back on miss as if it was a soft

Re: store_client assertion in 2.7STABLE3

2008-07-20 Thread Henrik Nordstrom
0x0043439a in comm_select () #15 0x00467ac9 in main () Need anything more specific? Cheers, On 08/07/2008, at 1:44 AM, Henrik Nordstrom wrote: On tis, 2008-07-08 at 13:30 +1000, Mark Nottingham wrote: Seen again. assertion failed: store_client.c:172: !EBIT_TEST(e-flags

Re: [squid-core] squid-2 commit rules

2008-07-20 Thread Henrik Nordstrom
Added to the wiki page. On lör, 2008-07-19 at 22:20 +0200, Henrik Nordstrom wrote: On lör, 2008-07-19 at 13:04 +0800, Adrian Chadd wrote: On Sat, Jul 19, 2008, Amos Jeffries wrote: Well, who knows this stuff well enough to throw it up on the Wiki? Yo. done finally. http

Re: store_client assertion in 2.7STABLE3

2008-07-20 Thread Henrik Nordstrom
sön 2008-07-20 klockan 14:22 -0700 skrev Mark Nottingham: The other places where I see that assertion are: client_side.c:clientHandleIMSReply Right.. should be a soft error there as well. store_client.c:storeClientCopy I know. Thinking of how to best handle this.. Regards Henrik

Re: new bundlebuggy up and running

2008-07-19 Thread Henrik Nordstrom
On lör, 2008-07-19 at 16:54 +1200, Amos Jeffries wrote: Henrik Nordstrom wrote: On lör, 2008-07-19 at 00:42 +0200, Henrik Nordstrom wrote: On fre, 2008-07-18 at 16:28 +1000, Robert Collins wrote: I've now tested the new BB and it processed the second test fine. I think I mailed everyone

Re: [squid-core] squid-2 commit rules

2008-07-19 Thread Henrik Nordstrom
On lör, 2008-07-19 at 13:04 +0800, Adrian Chadd wrote: On Sat, Jul 19, 2008, Amos Jeffries wrote: Well, who knows this stuff well enough to throw it up on the Wiki? Yo. done finally. http://wiki.squid-cache.org/MergeProcedure Also, what should be done for the squid-2 merging? A

Re: [PATCH] Bug 2379: obsolete dns_testnames and related

2008-07-18 Thread Henrik Nordstrom
+1 Regards Henrik On fre, 2008-07-18 at 17:45 +1200, Amos Jeffries wrote: Removes the dns_testnames squid.conf option and all related code. Obsoletes -D command line option which existed only for the purpose of turning dns_testnames off. A scheduled for absolute removal in Squid 3.2. But

Re: Australia meeting agenda?

2008-07-18 Thread Henrik Nordstrom
On fre, 2008-07-18 at 11:30 -0700, Mark Nottingham wrote: Would it be worth calling him on the phone? I have good overlap with Sydney time, and can easily arrange half a day availability to discuss these topics. Regards Henrik signature.asc Description: This is a digitally signed message

Re: new bundlebuggy up and running

2008-07-18 Thread Henrik Nordstrom
On fre, 2008-07-18 at 16:28 +1000, Robert Collins wrote: I've now tested the new BB and it processed the second test fine. I think I mailed everyone with a login - if you haven't received one its oversight not insult just mail me and I'll set one up immediately (its easy - a web page). To

Re: new bundlebuggy up and running

2008-07-18 Thread Henrik Nordstrom
BB will then pick up such requests at http://bundlebuggy.aaronbentley.com/project/squid/request You can review by mail by just replying with your comments and including any of bb:reject bb:approve bb:comment bb:tweak bb:resubmit in your mail (left aligned with nothing else on the

Re: new bundlebuggy up and running

2008-07-18 Thread Henrik Nordstrom
On lör, 2008-07-19 at 00:42 +0200, Henrik Nordstrom wrote: On fre, 2008-07-18 at 16:28 +1000, Robert Collins wrote: I've now tested the new BB and it processed the second test fine. I think I mailed everyone with a login - if you haven't received one its oversight not insult just mail me

Re: Host headers for accelerator origins

2008-07-17 Thread Henrik Nordstrom
On ons, 2008-07-16 at 10:24 -0700, Mark Nottingham wrote: From what I can see on the wire, Squid 2.7 does not rewrite the Host header when sending a request to an origin server when running in vhost mode, and AFAICT there isn't any way to get it to rewrite to the cache_peer name. Why

Re: Host headers for accelerator origins

2008-07-17 Thread Henrik Nordstrom
On tor, 2008-07-17 at 09:09 +0800, Adrian Chadd wrote: Well, what we should really do is document exactly whats going on, so we can then write tests to ensure the code matches the intent. The intent is that nothing goes on unless one explicitly asks for it. Which means an URL is an URL is an

Re: [MERGE] Woo - test 2

2008-07-17 Thread Henrik Nordstrom
On fre, 2008-07-18 at 03:13 +1000, Robert Collins wrote: On Thu, 2008-07-17 at 23:09 +1000, Robert Collins wrote: This was picked up by BB, but its reply is in the moderator queue. Thanks Aaron! Accepted, which means automatic approval of future bundlebuggy messages... Regards Henrik

Re: Host headers for accelerator origins

2008-07-17 Thread Henrik Nordstrom
On fre, 2008-07-18 at 12:21 +1200, Amos Jeffries wrote: Henrik Nordstrom wrote: On tor, 2008-07-17 at 09:09 +0800, Adrian Chadd wrote: Well, what we should really do is document exactly whats going on, so we can then write tests to ensure the code matches the intent. The intent

Re: bzr merge issues

2008-07-15 Thread Henrik Nordstrom
On tis, 2008-07-15 at 13:22 +1200, Amos Jeffries wrote: I failed trying it the long way, mirror other branch, then merge from mirror. works but doesn't keep history log across that merge. Should work. There isn't really any difference. How did you create the mirror? Merging the bundle

Re: [MERGE] Closing branch cachemgr-refactoring

2008-07-15 Thread Henrik Nordstrom
On tis, 2008-07-15 at 23:42 +1000, Robert Collins wrote: On Tue, 2008-07-15 at 23:37 +1200, Amos Jeffries wrote: For the record. Robert your method of merge did eventually work. It seems I was just too impatient with my first attempt. The URL merge from launchpad just took me an hour to

Re: Observing packets in Squid

2008-07-15 Thread Henrik Nordstrom
On tis, 2008-07-15 at 12:11 -0400, Michael Kaplan wrote: Within Squid, I want to add a module that filters the traffic entering Squid from the internal network sitting behind the Squid proxy dedicated machine. Preferably this module would examine the traffic before Squid takes much action,

Re: error translations

2008-07-15 Thread Henrik Nordstrom
On tis, 2008-07-15 at 05:47 +1200, Amos Jeffries wrote: I see it as part of the cleanup needed before the full CSS styling can take place. I'm willing to design for and update 30 different pages. But not a few hundred as currently exist when all the language (non-)variants are thrown in.

Re: Observing packets in Squid

2008-07-15 Thread Henrik Nordstrom
in the message. I am trying to find a way to get more the header information. Potentially I may not want Squid to forward the POST on to the destination. Mike Henrik Nordstrom wrote: On tis, 2008-07-15 at 12:11 -0400, Michael Kaplan wrote: Within Squid, I want to add a module

Re: [MERGE] sourcehash and userhash peering algorithms

2008-07-14 Thread Henrik Nordstrom
On lör, 2008-07-12 at 21:50 +1200, Amos Jeffries wrote: Henrik Nordstrom wrote: This is a forward port of the sourcehash and userhash peering algorithms. These are effectively just copies of carp.cc with the request key changed accordingly. +1. These all need porting ASAP

Re: [MERGE] round-robin balancing updates

2008-07-14 Thread Henrik Nordstrom
On mån, 2008-07-14 at 03:11 +1200, Amos Jeffries wrote: Semi-feature port form 2.6/2.7. This is a direct port of Marks logic changes to clear round-robin counters periodically and after a peering change. ref: http://www.squid-cache.org/bugs/show_bug.cgi?id=2376 +1 Regards Henrik

Re: Squid 3.1 pre1?

2008-07-14 Thread Henrik Nordstrom
On mån, 2008-07-14 at 03:01 +1200, Amos Jeffries wrote: I brought this up a while ago with a timeline update request for Alex, and we have had no response from him in the duration. I assume that means he is too busy on other business to complete the three major features, well overdue, on

Re: Please subscribe me.

2008-07-14 Thread Henrik Nordstrom
Welcome to the squid-dev list. Regards Henrik On lör, 2008-07-12 at 16:36 +0300, Aaron Bentley wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi all, My name is Aaron Bentley, and I run the Bundle Buggy instance at bundlebuggy.aaronbentley.com. Robert Collins has suggested that I

Re: Squid 3.1 pre1?

2008-07-14 Thread Henrik Nordstrom
tis 2008-07-15 klockan 01:45 +1200 skrev Amos Jeffries: I thought you and Alex had thrashed that all out to understanding weeks back? At least as far as I followed the thread it all made sense. We got to the point where there was understanding why this new family of races occur, but not sure

Re: error translations

2008-07-14 Thread Henrik Nordstrom
tis 2008-07-15 klockan 00:59 +0800 skrev Adrian Chadd: Will that give you a way to create custom themed pages? If done right it makes it a lot easier, but initially it's unrelated, only getting rid of the per-language copy of the error html code. Regards Henrik

Re: [MERGE] Final cachemgr-refactor mergeset, including hno's peer_userhash and peer_sourcehash

2008-07-14 Thread Henrik Nordstrom
mån 2008-07-14 klockan 18:41 +0200 skrev Kinkie: What's your favourite vay of getting the patch? should I send it again or would you prefer getting it from launchpad? Most preferred is a bzr send from a launchpad or other public branch.. Second is bzr send from a branch.. Regards Henrik

Re: subscribing to list

2008-07-14 Thread Henrik Nordstrom
Welcome to the squid-dev list. On mån, 2008-07-14 at 16:12 -0400, Michael Kaplan wrote: I am a software developer using Squid for experimentation. In particular I am interested in adding some http parsing/filtering capabilities to squid. I would like to read messages on this list and post as

Re: [MERGE] sourcehash and userhash peering algorithms

2008-07-13 Thread Henrik Nordstrom
On lör, 2008-07-12 at 15:01 +0200, Kinkie wrote: for what it's worth, +1. Maybe they could be abstracted more (need to check the patch better, will do once it's in), but it's a step forward already. Sure it can be abstracted better, for example with a shared CARP-type template above, with the

Re: /bzr/squid3/trunk/ r9076: Ubuntu support: fix gcc complaints about function results

2008-07-11 Thread Henrik Nordstrom
fre 2008-07-11 klockan 13:36 +1200 skrev Amos Jeffries: Still trying to re-create how their automated systems caught it in the first place. The exact same compile options, flags, and AFAICT even libraries here don't stall. :-( Good question.. I have seen the warning about ignored return

Re: Modifying http-uri in clientRedirectDone

2008-07-11 Thread Henrik Nordstrom
On fre, 2008-07-11 at 06:49 -0700, harsha_en wrote: Dear All, I want to modify the URL received via url_rewrite_program. In oredr to achieve this I modified ClientRequestContext::clientRedirectDone method by updating http-uri and http-redirect.location variables. Following is the code i

Re: [MERGE] TestBed scripting

2008-07-11 Thread Henrik Nordstrom
On fre, 2008-07-11 at 23:23 +1200, Amos Jeffries wrote: Any objections to adding the updated build-test scripts to bzr? no. +1 Regards Henrik signature.asc Description: This is a digitally signed message part

Re: Modifying http-uri in clientRedirectDone

2008-07-11 Thread Henrik Nordstrom
fre 2008-07-11 klockan 08:00 -0700 skrev harsha_en: I'm capturing a url parameter added via url_rewrite helper. Once the parameter is captured I want to set the uri back to the original uri instead of new uri set via url_rewrite helper. Then it's simpler to modify the path parsing the result

Re: Modifying http-uri in clientRedirectDone

2008-07-11 Thread Henrik Nordstrom
On fre, 2008-07-11 at 08:00 -0700, harsha_en wrote: I'm capturing a url parameter added via url_rewrite helper. Once the parameter is captured I want to set the uri back to the original uri instead of new uri set via url_rewrite helper. Perhaps what you are doing is better done as an

Re: [MERGE] sourcehash and userhash peering algorithms

2008-07-11 Thread Henrik Nordstrom
The branch is also published at http://www.henriknordstrom.net/bzr/squid-3/hno/rproxy-3/ On fre, 2008-07-11 at 22:46 +0200, Henrik Nordstrom wrote: This is a forward port of the sourcehash and userhash peering algorithms. These are effectively just copies of carp.cc with the request key

Re: [squid-users] helperOpenServers: -s is not supported on this resolver

2008-07-11 Thread Henrik Nordstrom
On fre, 2008-07-11 at 14:14 +1200, Amos Jeffries wrote: Linux in general and Debian specifically has a different way of setting the system resolver IP's than *BSD. This has been fixed in 3-HEAD/3.1 simply for the sake of fixing it, but IIRC has not been down-ported anywhere due to the

Re: Squid multiple paths

2008-07-10 Thread Henrik Nordstrom
On tor, 2008-07-10 at 09:48 -0400, [EMAIL PROTECTED] wrote: Is it possible on a Linux environment to have Squid use multiple outbound paths based on source IP? Yes, with the help of a little policy routing in your OS and tcp_outgoing_address in squid.conf. The policy routing selects the

Re: Merging current Cacheboy changes into Squid-2.HEAD ?

2008-07-10 Thread Henrik Nordstrom
On tor, 2008-07-10 at 19:44 +0800, Adrian Chadd wrote: I wouldn't expect it to be an immediate Squid-2.8 release but I'd first like some discussion about what would constitute enough. The high level goal here is to shuffle code around into mostly-seperate functional units in preparation for

Re: /bzr/squid3/trunk/ r9076: Ubuntu support: fix gcc complaints about function results

2008-07-10 Thread Henrik Nordstrom
The normal way to ignore returns is to cast the result to void (void)write(...) Regards Henrik fre 2008-07-11 klockan 01:07 +1200 skrev Amos Jeffries: revno: 9076 committer: Amos Jeffries [EMAIL PROTECTED] branch nick: trunk

Re: Squid Issues and Problems

2008-07-07 Thread Henrik Nordstrom
On mån, 2008-07-07 at 11:28 +0200, [EMAIL PROTECTED] wrote: A quick search of the squid source provided no answers, however a search of the archives show that there was a patch for Squid 2.5 ICAP dealing with X-TE trailers: This is because X-TE is not part of any ICAP standard. But Squid

Re: Squid Issues and Problems

2008-07-07 Thread Henrik Nordstrom
It's Trend Micro way of telling the ICAP server (IWSS) that the ICAP client (the proxy) is capable of forwarding the response from the ICAP server before the entire object has been sent to the ICAP Server. Most others assume this by default without requiring the private X-TE: trailers header.

Re: Squid Issues and Problems

2008-07-07 Thread Henrik Nordstrom
On mån, 2008-07-07 at 13:43 -0400, Jeremy Hall wrote: t's related to the icap server, right, not the origin server? Correct. Without that header IWSS will assume that the ICAP client is not capable of receiving the response message before the whole REQMOD request has been sent to IWSS. Regards

Re: Announcing branch: cachemgr-refactoring

2008-07-04 Thread Henrik Nordstrom
On fre, 2008-07-04 at 10:24 +0200, Kinkie wrote: First thing, whatI already mentioned on -dev. cachemgr is over HTTP, might as well show that up. This is a very simple task but it'll make life MUCH easier for external tools' developers. Yes, and somewhing we all agreed on I think.. That's

Re: Announcing branch: cachemgr-refactoring

2008-07-04 Thread Henrik Nordstrom
On fre, 2008-07-04 at 11:50 +0200, Kinkie wrote: I agree. Maybe even more structure and data can be shown than what's in SNMP, and that's exactly the kind of things I'd like to think about. If you find something missig in the SNMP agent mib it should be added. Quite trivial to do so, and it

Re: Announcing branch: cachemgr-refactoring

2008-07-04 Thread Henrik Nordstrom
On fre, 2008-07-04 at 12:45 +0200, Kinkie wrote: In top of that there should be adaptors to export it to various formats. xmlrpc is to be read loosely, in fact it should not be an extensive control mechanism (the rpc part), but an xml-encoded data-export stream. html/http should then just be

Re: Announcing branch: cachemgr-refactoring

2008-07-04 Thread Henrik Nordstrom
On fre, 2008-07-04 at 16:02 +0200, Kinkie wrote: I agree with you that changing the contents of the pages is NOT within the scope of this branch, and I won't be doing that. Good. You had me a little worried there for a while talking about XML and stuff.. At the same time, I'd like to finish

Re: Announcing branch: cachemgr-refactoring

2008-07-04 Thread Henrik Nordstrom
On fre, 2008-07-04 at 16:07 +0200, Kinkie wrote: I think a good strategy for this is to get the agent mib registration code automated from the mib definition, getting rid of the double registration we have today (MIB + code). And use a preprocessor of some sort? Yes. The output needs to

Re: cachemgr.cgi and squidclient tools

2008-07-03 Thread Henrik Nordstrom
On tor, 2008-07-03 at 21:21 +1200, Amos Jeffries wrote: Well... - these two in particular are binaries independent of the squid code. They share only some portability objects. squidclient got modified in squid-2 only because Squid gained new features (basic HTTP/1.1 support). Not forward

Re: cachemgr.cgi and squidclient tools

2008-07-03 Thread Henrik Nordstrom
On tor, 2008-07-03 at 23:39 +1200, Amos Jeffries wrote: My future plans there involve more standards compliance, which may make things harder for people if there are two code versions to look at. The upcoming compat changes from 3.2+ may also impact as non-portable back to Squid-2. The

Re: cachemgr.cgi and squidclient tools

2008-07-03 Thread Henrik Nordstrom
On fre, 2008-07-04 at 00:20 +1200, Amos Jeffries wrote: I disagree on it being a reason to keep the old ones, the non-port bit is wont compile against -2 source. Which only means the compat source needs bundling with the tools, which is the case anyway. A tool built from the -3 repository

Re: Compile errorusing additonal CFLAGS '-Wshadow -Wpointer-arith -Wcast-qual -W'

2008-06-29 Thread Henrik Nordstrom
On sön, 2008-06-29 at 21:29 +0200, John Smith wrote: Hi, Ive just downloaded and compiled quid-3.HEAD-20080629.tar.gz, but when I add the CFLAGS '-Wshadow -Wpointer-arith -Wcast-qual -W' I get the following error that may require further investigation of an developer We are not quite yet up

Re: Squid, events, and file descriptors

2008-06-27 Thread Henrik Nordstrom
On fre, 2008-06-27 at 13:41 +0100, Bradley Kite wrote: I have another failure, this time with the extra DNS debug output. I have just reliased that our load balancer, which also load-balances DNS lookups, was not properly configured to support TCP (only UDP DNS lookups). I think this might

Re: Squid, events, and file descriptors

2008-06-27 Thread Henrik Nordstrom
On fre, 2008-06-27 at 15:51 +0200, Henrik Nordstrom wrote: But not sure about the user visible bug where the DNS queue apparently stops being processed. In my tests the queue continued getting processed like expected.. or at least I think so.. Found that one as well. Made very visible

Re: double-socket statistics in comm.c ?

2008-06-27 Thread Henrik Nordstrom
On lör, 2008-06-28 at 01:51 +1200, Amos Jeffries wrote: It's been killed in -3 so I'd say no too. Killed. Regards Henrik signature.asc Description: This is a digitally signed message part

Re: RFC: delayed Logdaemon port merge

2008-06-26 Thread Henrik Nordstrom
On tor, 2008-06-26 at 13:15 +1000, Robert Collins wrote: There is and it works fine for many windows users. However some using problematic toolchains like Visual Studio have more needs than just checking out the code - they need file mangling. And that is very close to landing now - code is

Re: Squid, events, and file descriptors

2008-06-26 Thread Henrik Nordstrom
On tor, 2008-06-26 at 11:08 +0100, Bradley Kite wrote: I am just rolling out your patch, I will send over the mgr:idns output when I have the next failure. In the mean time here is the other output you requested. The number of callbacks is just 1 - I would expect it to be equal to the number

Re: Rationale behind storeKey?

2008-06-26 Thread Henrik Nordstrom
On ons, 2008-06-25 at 10:32 +1000, Mark Nottingham wrote: Question: why is the request method used as input to the storeKey? What am I missing? The history of Squid, and in addition the negative cache of error responses. Caching of POST results (positive) should be done so that the the result

Re: double-socket statistics in comm.c ?

2008-06-26 Thread Henrik Nordstrom
On fre, 2008-06-27 at 13:05 +0800, Adrian Chadd wrote: This is from src/comm.c on squid-2.HEAD in commResetFD(): statCounter.syscalls.sock.sockets++; fd2 = socket(AF_INET, SOCK_STREAM, 0); statCounter.syscalls.sock.sockets++; Is there a reason for the statistics to be

Re: RFC: delayed Logdaemon port merge

2008-06-25 Thread Henrik Nordstrom
On ons, 2008-06-25 at 16:34 +1200, Amos Jeffries wrote: I definitely need to see it operating in some 3.1 release (for commercial reasons). If there are no objections I'd like to move it from the initial release list, but reserve the commit to a later release of 3.1. So that its no longer

Re: Squid, events, and file descriptors

2008-06-25 Thread Henrik Nordstrom
On ons, 2008-06-25 at 21:10 +0100, Bradley Kite wrote: This server had traffic disabled for at least 30 minutes, so any pending DNS lookups should have definitely failed/timed-out by the time I got the debug. Ok, THAT is an important hint. Maybe its possible that somehow these DNS lookups

Re: Squid, events, and file descriptors

2008-06-25 Thread Henrik Nordstrom
On ons, 2008-06-25 at 22:28 +0200, Henrik Nordstrom wrote: Could be, and that missing cachemgr page I mentioned would show if this is the case.. Actually it's already implemented. Silly me. squidclient mgr:idns Regards Henrik signature.asc Description: This is a digitally signed message

Re: Squid, events, and file descriptors

2008-06-25 Thread Henrik Nordstrom
On ons, 2008-06-25 at 21:53 +0100, Bradley Kite wrote: Internal DNS Statistics: The Queue: DELAY SINCE ID SIZE SENDS FIRST SEND LAST SEND -- - -- - 0x2dd7 39 2597011 40711.226 0.002 0x10ec 40 2597905 42519.743 0.002

Re: bzr on Windows

2008-06-25 Thread Henrik Nordstrom
On tor, 2008-06-26 at 08:21 +0800, Adrian Chadd wrote: There isn't a bzr implementation for Windows? Its just python, isn't it? It runs on Windows, but it doesn't perform any line ending transformations, and Windows tools doesn't like UNIX line endings, just as UNIX tools doesn't like to see

Re: Squid, events, and file descriptors

2008-06-24 Thread Henrik Nordstrom
tis 2008-06-24 klockan 22:50 +0800 skrev Adrian Chadd: The question is - why is Squid not timing the client-facing filedescriptors out? Is there some pending reply which isn't being written back correctly? Good question. To answer that we need to look into in detail what is going on with the

Re: Last call for 2.7.STABLE3 and 3.0.STABLE7 patches

2008-06-24 Thread Henrik Nordstrom
On sön, 2008-06-22 at 08:21 +1000, Mark Nottingham wrote: I'm going to produce a new patch for 2376 soon (along the lines discussed in comment 6); if that could get in it would be very good. Also, I'd like to see the patch in 2378 get in. Both in. Regards Henrik signature.asc

2.7.STABLE3 available for test

2008-06-24 Thread Henrik Nordstrom
2.7.STABLE3 has been rolled and is available for test. Unless some problem is found it will be signed, linked and pushed out to the ftp mirrors tomorrow (later today...) http://www.squid-cache.org/Versions/v2/2.7/squid-2.7.STABLE3.tar.bz2 (and .tar.gz) Please test and report back any

Re: Next Squid get-together

2008-06-23 Thread Henrik Nordstrom
On mån, 2008-06-23 at 22:57 +1000, Mark Nottingham wrote: At this point, I think it's just Henrik, myself and possibly Kinkie. I'm happy to get together, but it may be better just to skip it until next time Seems it's only you and me, which is a bit too few. Kinkie was very unsure, and Guido

Re: Next Squid get-together

2008-06-23 Thread Henrik Nordstrom
On mån, 2008-06-23 at 20:50 +0200, Kinkie wrote: How about we try to do a meetup over IRC or skype or similar video-conferencing tool? Not the same as the real thing, but still better than nothing.. Sure. What we do every day on #squiddev, but without any fixed times or focused topics...

Re: Squid, events, and file descriptors

2008-06-23 Thread Henrik Nordstrom
On mån, 2008-06-23 at 12:18 +0100, Bradley Kite wrote: I am concerned that, for which ever reason, squid stops processing requests for a particular website, and then fails to detect when clients give up, incorrectly putting the FD into the half-closed state, leading to the situation where the

Re: Next Squid get-together

2008-06-23 Thread Henrik Nordstrom
On tis, 2008-06-24 at 14:20 +1200, Amos Jeffries wrote: If we do I think we should make it a weekend (for sleep-cycle reasons) bug/feature sprint to get 3.1 out. Those last few bits are itching my impatience. Sounds as a good idea, but depends on Alex availbility on weekends. For me weekend

Re: Next Squid get-together

2008-06-20 Thread Henrik Nordstrom
On lör, 2008-06-21 at 01:07 +1200, Amos Jeffries wrote: Thats where things were before discussion move on to another Eurpoean get-together. I was hoping someone had more details behind the scenes by now. There is no behind the scenes to report from.. Regards Henrik signature.asc

Last call for 2.7.STABLE3 and 3.0.STABLE7 patches

2008-06-20 Thread Henrik Nordstrom
This is a last call to speak up now if there is any pending patches you think should be included in the next bugfix release. Me and Amos will be releasing the next bugfix releases of 3.0 and 2.7 in a couple of days. It's also a good time to speak up if there is any open bug reports which deserves

<    1   2   3   4   5   6   7   8   9   10   >