Re: [squid-dev] [squid-announce] RFC: Squid ESI processor changes

2018-01-23 Thread pascal.bruls
a) did not set it -Original Message- From: squid-announce [mailto:squid-announce-boun...@lists.squid-cache.org] On Behalf Of Amos Jeffries Sent: Thursday, 18 January 2018 16:17 To: squid-annou...@lists.squid-cache.org Subject: [squid-announce] RFC: Squid ESI processor changes The Squid

Re: [squid-dev] RFC: Squid ESI processor changes

2018-01-22 Thread Amos Jeffries
On 23/01/18 03:10, Adam Majer wrote: > On 01/18/2018 04:16 PM, Amos Jeffries wrote: >> The Squid team are planning to remove the Custom XML parser used for ESI >> processing from the next Squid version. > > For next squid version, do you mean 5.x? next 4.x release? or s

Re: [squid-dev] RFC: Squid ESI processor changes

2018-01-22 Thread Adam Majer
On 01/18/2018 04:16 PM, Amos Jeffries wrote: > The Squid team are planning to remove the Custom XML parser used for ESI > processing from the next Squid version. For next squid version, do you mean 5.x? next 4.x release? or stable 3.5.x release? proposed new default? libxml2?

Re: [squid-dev] [squid-announce] RFC: Squid ESI processor changes

2018-01-18 Thread Martin Bayreuther
) Regards Maba Am 18.01.2018 um 16:16 schrieb Amos Jeffries: The Squid team are planning to remove the Custom XML parser used for ESI processing from the next Squid version. At first this seemed like a simple removal if unused functionality. However during review of the changes it turns out

[squid-dev] squid 3.4.14, compile without ESI

2015-10-07 Thread Massimo . Sala
with these "minimal build" the compilation is successfull : --build=x86_64-linux-gnu --prefix=/usr --includedir=${prefix}/include --mandir=${prefix}/share/man --infodir=${prefix}/share/info --sysconfdir=/etc --localstatedir=/var --libexecdir=${prefix}/lib/squid3 --srcdir=.

Re: [squid-dev] squid 3.4.14, compile without ESI

2015-10-06 Thread Kinkie
Hi Massimo, what arguments are you using for ./configure? $ ./configure --help|fgrep -i esi --enable-esiEnable ESI for accelerators. Benefits from expat or libxml2. Enabling ESI will cause squid reverse proxies to be capable

[squid-dev] squid 3.4.14, compile without ESI

2015-10-06 Thread Massimo . Sala
can I disable ESI ? [ environment : debian 8.2, linux 3.16 64 bit ] best regards, Massimo OPT="--build=x86_64-linux-gnu --prefix=/usr --includedir=${prefix}/include --mandir=${prefix}/share/man --infodir=${prefix}/share/info --sysconfdir=/etc" OPT="$OPT --localstatedir=/var --libe

Re: Should we remove ESI?

2013-06-20 Thread Amos Jeffries
configuration variables 3- fully integrate libTrie into squid's build system. Unless Robert knows otherwise, squid is the only user of this library.. I cannot tell what libTrie does: The README file is empty and the commit message only implies that it is an ESI component. AFAICT, only ESI uses it today

Re: Should we remove ESI?

2013-06-11 Thread Kinkie
libTrie does: The README file is empty and the commit message only implies that it is an ESI component. AFAICT, only ESI uses it today. From what I understand (Robert, can you come to the rescue?) libTrie is a very optimized key- and prefix- lookup engine, trading memory useage for speed. It would

Re: Should we remove ESI?

2013-06-11 Thread Eliezer Croitoru
of this library.. I cannot tell what libTrie does: The README file is empty and the commit message only implies that it is an ESI component. AFAICT, only ESI uses it today. From what I understand (Robert, can you come to the rescue?) libTrie is a very optimized key- and prefix- lookup engine, trading

Re: Should we remove ESI?

2013-06-11 Thread Robert Collins
for speed. It would be great to use in the Http parser to look up header keys, for instance. It is a generic trie implementation, it is very good at some forms of lookup, and it's used in ESI yes; I had planned to try it in the HTTP parser, but ETIME. I do not know much about ESI, but IMHO, if somebody

Re: Should we remove ESI?

2013-06-11 Thread Amos Jeffries
. It would be great to use in the Http parser to look up header keys, for instance. It is a generic trie implementation, it is very good at some forms of lookup, and it's used in ESI yes; I had planned to try it in the HTTP parser, but ETIME. I do not know much about ESI, but IMHO, if somebody has

Re: Should we remove ESI?

2013-06-11 Thread Alex Rousskov
of this library.. I cannot tell what libTrie does: The README file is empty and the commit message only implies that it is an ESI component. AFAICT, only ESI uses it today. From what I understand (Robert, can you come to the rescue?) libTrie is a very optimized key- and prefix- lookup engine

Re: Should we remove ESI?

2013-06-11 Thread Kinkie
libTrie into squid's build system. Unless Robert knows otherwise, squid is the only user of this library.. I cannot tell what libTrie does: The README file is empty and the commit message only implies that it is an ESI component. AFAICT, only ESI uses it today. From what I understand (Robert

Re: Should we remove ESI?

2013-06-10 Thread Alex Rousskov
that it is an ESI component. AFAICT, only ESI uses it today. I do not know much about ESI, but IMHO, if somebody has cycles to work on this, it would be best to spend them removing ESI (together with libtTrie) from Squid sources while converting ESI into an eCAP adapter. This will be a big step forward towards

Re: [PATCH] Key header support in ESI responses and old ESI Vary bug, fixed.

2013-03-21 Thread Amos Jeffries
New patch attached resolving most of the issues identified below. On 21/03/2013 6:12 p.m., Alex Rousskov wrote: On 03/20/2013 09:34 PM, Amos Jeffries wrote: The attached patch adds the Key: header on Squid generated ESI responses so that any receiving clients which support the new header

Re: [PATCH] Key header support in ESI responses and old ESI Vary bug, fixed.

2013-03-21 Thread Alex Rousskov
On 03/21/2013 08:20 AM, Amos Jeffries wrote: On 21/03/2013 6:12 p.m., Alex Rousskov wrote: On 03/20/2013 09:34 PM, Amos Jeffries wrote: The attached patch adds the Key: header on Squid generated ESI responses so that any receiving clients which support the new header are able to use

[PATCH] Key header support in ESI responses and old ESI Vary bug, fixed.

2013-03-20 Thread Amos Jeffries
The Key: header being proposed for standardization replaces and extends the Vary header to provide more fine-grained variant selection by caches. The attached patch adds the Key: header on Squid generated ESI responses so that any receiving clients which support the new header are able to use

Re: [PATCH] Key header support in ESI responses and old ESI Vary bug, fixed.

2013-03-20 Thread Alex Rousskov
On 03/20/2013 09:34 PM, Amos Jeffries wrote: The attached patch adds the Key: header on Squid generated ESI responses so that any receiving clients which support the new header are able to use it for handling our pages. I do not understand how a receiving client can actually use the Key

Default behavior for --enable-esi?

2012-12-26 Thread Kinkie
Hi all, What is in your opinion the right behavior wrt ESI in configure, default-maybe (enabled if all dependencies are present) or default-disable? The latter is what is curerntly in, but I'm concerned it may be due to a bug in configure.ac. Thanks -- /kinkie

Re: Default behavior for --enable-esi?

2012-12-26 Thread Amos Jeffries
On 27/12/2012 2:07 a.m., Kinkie wrote: Hi all, What is in your opinion the right behavior wrt ESI in configure, default-maybe (enabled if all dependencies are present) or default-disable? The latter is what is curerntly in, but I'm concerned it may be due to a bug in configure.ac. Thanks

Re: Default behavior for --enable-esi?

2012-12-26 Thread Henrik Nordström
tor 2012-12-27 klockan 13:38 +1300 skrev Amos Jeffries: IIRC it is still off because it is not wanted by many installations and adds a large footprint to the binary. The more useful surrogate-capabilities sub-component is auto-enabled on reverse-proxy traffic regardless of ESI. Plus still

Re: Question regarding ESI Implementation

2011-09-30 Thread Jan Algermissen
On Sep 29, 2011, at 9:42 AM, Robert Collins wrote: On Thu, Sep 29, 2011 at 10:37 AM, Jan Algermissen jan.algermis...@nordsc.com wrote: Hi, I am thinking about trying out some ideas building upon ESI 1.0 and would like to extend the ESI implementation of Squid. For personal use right now

Re: Question regarding ESI Implementation

2011-09-30 Thread Robert Collins
). Ah, I did not yet know Squid had an async programming model. Even better. The current ESI Implementation is non-blocking, too? Yup, for sure. -Rob

Re: Question regarding ESI Implementation

2011-09-29 Thread Robert Collins
On Thu, Sep 29, 2011 at 10:37 AM, Jan Algermissen jan.algermis...@nordsc.com wrote: Hi, I am thinking about trying out some ideas building upon ESI 1.0 and would like to extend the ESI implementation of Squid. For personal use right now, but if turns out to be valuable I am happy to share

Question regarding ESI Implementation

2011-09-28 Thread Jan Algermissen
Hi, I am thinking about trying out some ideas building upon ESI 1.0 and would like to extend the ESI implementation of Squid. For personal use right now, but if turns out to be valuable I am happy to share it. I downloaded the source yesterday and took a short look at the ESI parts

Re: ESI auto-enable

2009-09-28 Thread Henrik Nordstrom
Amos, in response to your IRC question: with these ESI changes are you confident enough that we can now auto-enable ESI for 3.1.0.14? Answer: Not until the autoconf foo stuff for the parsers have settled in trunc. A default build of 3.1 should not strictly require libxml2 and expat and should

Re: [MERGE] SourceLayout: esi, take 1

2009-03-18 Thread Amos Jeffries
Amos Jeffries has voted approve. Status is now: Approved Comment: Not having tested. But changes are minimal. For details, see: http://bundlebuggy.aaronbentley.com/project/squid/request/%3C49C00843.7040005%40measurement-factory.com%3E Project: Squid

[MERGE] SourceLayout: esi, take 1

2009-03-17 Thread Alex Rousskov
SourceLayout: esi/, take 1 Moved src/ESI* files into src/esi/. Renamed ESI source files from ESIFoo.{cc,cci,h} to Foo.{cc,cci,h}. Replaced implicit constructor-based Parser registration with an explicit call to Esi::Init() which knows of all ESI parsers. Added Esi::Clean counterpart. Made

Re: [MERGE] SourceLayout: esi, take 1

2009-03-17 Thread Bundle Buggy
Bundle Buggy has detected this merge request. For details, see: http://bundlebuggy.aaronbentley.com/project/squid/request/%3C49C00843.7040005%40measurement-factory.com%3E Project: Squid

Re: SourceLayout and adaptation/esi

2009-02-18 Thread Amos Jeffries
the wiki page if my changes (based on that consensus) are approved. src/adaptation/ src/adaptation/icap src/adaptation/ecap Do ESI files belong to adaptation/esi even though they do not use common adaptation interfaces or even the same vectoring points? It feels like we should leave ESI

SourceLayout and adaptation/esi

2009-02-17 Thread Alex Rousskov
changes (based on that consensus) are approved. src/adaptation/ src/adaptation/icap src/adaptation/ecap Do ESI files belong to adaptation/esi even though they do not use common adaptation interfaces or even the same vectoring points? It feels like we should leave ESI out of adaptation

Re: 3.0: linker error with --disable-optimizations and --enable-esi

2009-01-26 Thread Amos Jeffries
Thomas-Martin Seck wrote: Hi, I noticed that squid-3 does not seem to like --enable-esi in conjunction with --disable-optimizations. A build where both options are defined fails as follows; builds where either option is defined work. (This is 3.0.STABLE12 on FreeBSD 7, first observed on amd64

3.0: linker error with --disable-optimizations and --enable-esi

2009-01-24 Thread Thomas-Martin Seck
Hi, I noticed that squid-3 does not seem to like --enable-esi in conjunction with --disable-optimizations. A build where both options are defined fails as follows; builds where either option is defined work. (This is 3.0.STABLE12 on FreeBSD 7, first observed on amd64 by the FreeBSD ports

Regarding ESI

2008-10-07 Thread Paras Fadte
Hi , I have following query. In the following function in ESICustomParser.cc I have passed the reference of ESIVarstate . This works fine. bool ESICustomParser::parse(char const *dataToParse, size_t const lengthOfData, bool const endOfStream,ESIVarState *var) . But when I try to pass the

Re: Regarding ESI

2008-08-29 Thread Paras Fadte
Thanks Amos. On Thu, Aug 28, 2008 at 5:14 PM, Amos Jeffries [EMAIL PROTECTED] wrote: Paras Fadte wrote: Hi, Can anybody please tell me from the below link what type is parserState ? It is just below the ParserState class .( it has a comment - /* todo factor this off somewhere else;

Re: Regarding ESI

2008-08-28 Thread Amos Jeffries
Paras Fadte wrote: Hi, Can anybody please tell me from the below link what type is parserState ? It is just below the ParserState class .( it has a comment - /* todo factor this off somewhere else; */ ) http://squid.treenet.co.nz/Doc/Code/ESIContext_8h-source.dyn Sorry for the

Re: ESI help

2008-04-17 Thread Alex Rousskov
On Thu, 2008-04-17 at 11:00 +0530, Paras Fadte wrote: ESI seems to be very buggy which comes by default with squid for example see my following post which I had sent over a month ago to which nobody responded. Is there a bug report for that specific question? I recall seeing somebody (Henrik

Re: ESI help

2008-04-17 Thread Paras Fadte
be simple. -Paras On Thu, Apr 17, 2008 at 12:07 PM, Alex Rousskov [EMAIL PROTECTED] wrote: On Thu, 2008-04-17 at 11:00 +0530, Paras Fadte wrote: ESI seems to be very buggy which comes by default with squid for example see my following post which I had sent over a month ago to which nobody

Re: ESI help

2008-04-16 Thread Alex Rousskov
On Thu, 2008-04-17 at 09:38 +0530, Paras Fadte wrote: Also can I get any help regarding development of ESI in squid? I have not seen much ESI activity for a long while so I would not expect much help. What exactly are you interested in when it comes to ESI development? Thanks, Alex.

ESI on Solaris

2007-11-15 Thread Duane Wessels
On Sat, 10 Nov 2007, Randall DuCharme wrote: Ok this is strange. It looks like it's trying to compile ESI specific support in yet I've not done --enable-esi. In autoconf.h #define ESI 0 is present. I've removed the -Werror flag for now so the multiple inclusion warning shouldn't

Re: ESI on Solaris

2007-11-15 Thread Amos Jeffries
and likely to be chosen by some other project or operating system that uses an ESI acronym. Seems slightly messier, but I see your point, and it will do. Amos

Re: ESI on Solaris

2007-11-15 Thread Duane Wessels
and likely to be chosen by some other project or operating system that uses an ESI acronym.

esi invalidation protocol

2007-01-30 Thread Jodok Batlogg
hi, it's me again :) i'm wondering if (parts of) the ESI invalidation protocol (http:// www.esi.org/invalidation_protocol_1-0.html) are implemented in squid3? browsing cvs / greping the code didn't reveal a lot information. thanks jodok -- Lovely Systems, Partner phone: +43 5572 908060

esi support / building squid3

2007-01-29 Thread Jodok Batlogg
hi, as mentioned earlier i'm working on squid3/esi support for zope3. yay! i got my first template assembled a few hours ago, but soon i ran across http://www.squid-cache.org/bugs/show_bug.cgi?id=1566 (i've been running squid-3.0.PRE5) now i'm trying to get CVS head running, but i fail

squid3 / esi

2007-01-28 Thread Jodok Batlogg
hi there, i'm jodok from lovely systems - an austrian company developing zope3 applications. we need some ESI support to scale portals of our customers and would like to give squid3 a try. during this week we're sitting on a hut in the austrian alps (http:// www.lovelysystems.com/snowsprint

Re: ESI

2005-03-16 Thread Joe Cooper
anything about it at the moment, but I suspect it would be reasonably easy to add a selector at configure time to choose the library with a default to libxml2, since it seems the best supported at this time (but I could be wrong--again, I'm not terribly familiar with ESI or the Squid

Re: Squid3 ESI and Libxml2

2004-07-12 Thread Joachim Bauch
Hi, Robert Collins wrote: Cool. I don't recall the libxml2 push api being present when I wrote the esi code. I think it was introduced somewhere in the 2.5.x or 2.6.x releases, but I don't know exactly... please file a bug in bugzilla with the patch as per our developer guidelines. It's filed

Squid3 ESI and Libxml2

2004-07-06 Thread Joachim Bauch
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, my name is Joachim Bauch and I'd like to contribute to Squid3, especially in the area of ESI and -depending on spare time- help with some porting to Windows. I already startet to implement a patch against the current CVS HEAD of Squid3 that uses

Re: Squid 3 and ESI

2004-03-26 Thread Henrik Nordstrom
On Fri, 26 Mar 2004, Pascal Peregrina wrote: Hi, I would like to know what you think about adding a enable/disable ESI directive either in squid.conf or a command line switch... Maybe.. depends on how much of the data flow ESI needs to touch.. Regards Henrik

ESI and statistics

2003-11-17 Thread Brian Akins
Every ESI include seems to increment client.http_requests. Is there any reliable way to get how many actual client requests squid has processed not including ESI sub-requests?

Squid3 with esi: ESI subrequest failed transfer

2003-10-24 Thread Dino
We are trying squid 3 as a reverse proxy with ESI. This is the error in the log when I try to visitate an ESI page on my CachePeer: ESI subrequest failed transfer This message is reported 3 times, because our esi page import 3 php pages. We have a cache peer on the same host of squid

Re: ESI test

2003-08-27 Thread Brian Akins
On Wed, 2003-08-27 at 14:30, Henrik Nordstrom wrote: On Wednesday 27 August 2003 16.12, Brian Akins wrote: esi:include src=www.cnn.com/index.html onerror=continue / Is it intentional that the URL is relative? I suspect you want http://www.cnn.com/index.html there... Regards Henrik

Fwd: Question about Squid ESI implementation

2003-03-09 Thread Henrik Nordstrom
-- Forwarded Message -- Subject: Question about Squid ESI implementation Date: Sat, 8 Mar 2003 13:11:16 -0700 From: Vincent, Merlin [EMAIL PROTECTED] To: [EMAIL PROTECTED] Hello - I'm a graduate student at the University of Colorado, and I am working on a thesis that explores

ESI

2003-03-09 Thread Robert Collins
Well, a week late, but it's done. I've merged the ESI code into HEAD. I haven't (as yet) followed Henriks lead and moved the surrogate-id logic into a per-peer struct, but I don't regress any of the accelerator logic either. Enjoy. Cheers, Rob -- GPG key available at: http