Re: Kerberos build failures in HEAD

2009-09-14 Thread Alex Rousskov
On Sun, 13 Sep 2009, Henrik Nordstrom wrote: s?n 2009-09-13 klockan 21:30 +0200 skrev Henrik Nordstrom: seems to build fine for me on CentOS 5.2.. but maybe something in the test builds are triggering it.. A full test is running.. Found.. it fails when used in combination with --enable-ssl.

Re: Kerberos build failures in HEAD

2009-09-14 Thread Henrik Nordstrom
mån 2009-09-14 klockan 14:53 +1200 skrev Amos Jeffries: Proposed fix: Have src/ssl_support.h include et/com_err.h in an extern C wrapping before OpenSSL includes... So... does it actually require the extern-C ? com_err.h yes. It's a C header with no built-in C++ shielding, which means any

compute swap_file_sz before packing it

2009-09-14 Thread Alex Rousskov
Hello, A few weeks ago, I stumbled upon swap entry size calculation and store dir selection bug. I found more problems with the related code. One of them is discussed in this email. Apparently, we are packing StoreEntry.swap_file_sz into the stored entry header before we compute its

R: R: R: R: R: Squid 3 build errors on Visual Studio - problem still present

2009-09-14 Thread Guido Serassio
Hi Henrik, Can you produce a preprocessed source? That's the output of just the preprocessor, not actual compilarion, comparable to gcc -E option. Easier to identify what the compiler actually saw that way... Done. Sorry for the delay, but I'm very busy (as usual ...) I have placed the

Re: Kerberos build failures in HEAD

2009-09-14 Thread Amos Jeffries
Alex Rousskov wrote: On Sun, 13 Sep 2009, Henrik Nordstrom wrote: s?n 2009-09-13 klockan 21:30 +0200 skrev Henrik Nordstrom: seems to build fine for me on CentOS 5.2.. but maybe something in the test builds are triggering it.. A full test is running.. Found.. it fails when used in

clientNatLookup: NAT lookup failed: ioctl(SIOCGNATL)

2009-09-14 Thread Paul Khadra
Dear All, 2009/09/14 15:30:32| clientNatLookup: NAT lookup failed: ioctl(SIOCGNATL) The above message is appearing every minute in the cache.log I have searched the forums and I did not get any information . My server is under test and I am afraid to put it into production. Below are the

Re: Squid-smp : Please discuss

2009-09-14 Thread Henrik Nordstrom
mån 2009-09-14 klockan 22:43 +1200 skrev Amos Jeffries: on epoll ( select ) implementations in squid. It is found that epoll is polling all the descriptors processing them one by one. There is an important FD used by http port which is always busy, but has to wait for other descriptors

Re: clientNatLookup: NAT lookup failed: ioctl(SIOCGNATL)

2009-09-14 Thread Henrik Nordstrom
mån 2009-09-14 klockan 06:02 -0700 skrev Paul Khadra: Dear All, 2009/09/14 15:30:32| clientNatLookup: NAT lookup failed: ioctl(SIOCGNATL) The above message is appearing every minute in the cache.log Which means Squid and your NAT kernel do not talk properly to each other, making the original

Re: compute swap_file_sz before packing it

2009-09-14 Thread Henrik Nordstrom
mån 2009-09-14 klockan 02:04 -0600 skrev Alex Rousskov: Apparently, we are packing StoreEntry.swap_file_sz into the stored entry header before we compute its value. This happens because to compute swap_file_sz, we need to know swap_hdr_sz, the size of the stored entry header. To compute

Re: Squid-smp : Please discuss

2009-09-14 Thread Alex Rousskov
On Mon, 14 Sep 2009, Amos Jeffries wrote: I think we should take this on-list so the others with more detailed knowledge can give advice in case I have my facts wrong about AsyncCalls... I am afraid this discussion focuses on a small part of a much bigger problem so finalizing the design

Re: R: R: R: R: R: Squid 3 build errors on Visual Studio - problem still present

2009-09-14 Thread Henrik Nordstrom
mån 2009-09-14 klockan 11:27 +0200 skrev Guido Serassio: Done. Sorry for the delay, but I'm very busy (as usual ...) I have placed the preprocessed source of two failing files (IpIntercept.cc and QosConfig.cc) here: http://www.acmeconsulting.it/libip.zip Odd... std::string::npos is

Re: compute swap_file_sz before packing it

2009-09-14 Thread Robert Collins
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Just a small meta point: The new function you're adding looks like it should be a method to me. - -Rob -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

[PATCH] Log additional header for the navigation from BlackBarry Device

2009-09-14 Thread devzero2000
I hope this tiny patch can be useful also for other user, so i put here for review and possible merge if you like. Thanks in advance Elia ~~~ This patch permit to log the additional Header used by BlackBarry and to remove these via http_headers squid.conf directive. For example

Build failed in Hudson: 2.HEAD-i386-OpenBSD-4.5 #7

2009-09-14 Thread noc
See http://build.squid-cache.org/job/2.HEAD-i386-OpenBSD-4.5/7/changes Changes: [squidadm] Synchronized with cvs.squid-cache.org -- Started by upstream project 2.HEAD-amd64-CentOS-5.3 build number 10 Building remotely on vobsd $ computing changelog +

Re: clientNatLookup: NAT lookup failed: ioctl(SIOCGNATL)

2009-09-14 Thread Amos Jeffries
On Mon, 14 Sep 2009 23:32:33 +0200, Henrik Nordstrom hen...@henriknordstrom.net wrote: mån 2009-09-14 klockan 06:02 -0700 skrev Paul Khadra: Dear All, 2009/09/14 15:30:32| clientNatLookup: NAT lookup failed: ioctl(SIOCGNATL) The above message is appearing every minute in the cache.log

Re: Squid-smp : Please discuss

2009-09-14 Thread Amos Jeffries
On Mon, 14 Sep 2009 16:14:12 -0600 (MDT), Alex Rousskov rouss...@measurement-factory.com wrote: On Mon, 14 Sep 2009, Amos Jeffries wrote: I think we should take this on-list so the others with more detailed knowledge can give advice in case I have my facts wrong about AsyncCalls... I am

Re: Squid-smp : Please discuss

2009-09-14 Thread Kinkie
I think we should take this on-list so the others with more detailed knowledge can give advice in case I have my facts wrong about AsyncCalls... I am afraid this discussion focuses on a small part of a much bigger problem so finalizing the design decisions here may be counter productive

Re: Squid-smp : Please discuss

2009-09-14 Thread Robert Collins
On Tue, 2009-09-15 at 14:27 +1200, Amos Jeffries wrote: RefCounting done properly forms a lock on certain read-only types like Config. Though we are currently handling that for Config by leaking the memory out every gap. SquidString is not thread-safe. But StringNG with its separate

Why does Squid-2 return HTTP_PROXY_AUTHENTICATION_REQUIRED on http_access DENY?

2009-09-14 Thread Adrian Chadd
G'day. This question is aimed mostly at Henrik, who I recall replying to a similar question years ago but without explaining why. Why does Squid-2 return HTTP_PROXY_AUTHENTICATION_REQUIRED on a denied ACL? The particular bit in src/client_side.c: int require_auth = (answer ==

Re: Squid-smp : Please discuss

2009-09-14 Thread Sachin Malave
On Tue, Sep 15, 2009 at 1:18 AM, Adrian Chadd adr...@squid-cache.org wrote: Guys, Please look at what other multi-CPU network applications do, how they work and don't work well, before continuing this kind of discussion. Everything that has been discussed has already been done to death

Re: Squid-smp : Please discuss

2009-09-14 Thread Adrian Chadd
Guys, Please look at what other multi-CPU network applications do, how they work and don't work well, before continuing this kind of discussion. Everything that has been discussed has already been done to death elsewhere. Please don't re-invent the wheel, badly. Adrian 2009/9/15 Robert

Re: Squid-smp : Please discuss

2009-09-14 Thread Sachin Malave
On Tue, Sep 15, 2009 at 1:38 AM, Adrian Chadd adr...@squid-cache.org wrote: 2009/9/15 Sachin Malave sachinmal...@gmail.com: On Tue, Sep 15, 2009 at 1:18 AM, Adrian Chadd adr...@squid-cache.org wrote: Guys, Please look at what other multi-CPU network applications do, how they work and don't

Re: Why does Squid-2 return HTTP_PROXY_AUTHENTICATION_REQUIRED on http_access DENY?

2009-09-14 Thread Robert Collins
On Tue, 2009-09-15 at 15:22 +1000, Adrian Chadd wrote: G'day. This question is aimed mostly at Henrik, who I recall replying to a similar question years ago but without explaining why. Why does Squid-2 return HTTP_PROXY_AUTHENTICATION_REQUIRED on a denied ACL? The particular bit in