Re: Contributions...

2010-05-13 Thread Poul-Henning Kamp
because we lack time. I there anything more I could do to help or should I rather just remain quiet and patient, which I will happily do? Please be patient :-) None of this stuff is lost or rejected, I just havn't gotten to it yet. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 p

Re: Memory barriers

2010-05-19 Thread Poul-Henning Kamp
In message 15639.1274170...@critter.freebsd.dk, Poul-Henning Kamp writes: In message 4bf24c0a.40...@schokola.de, Nils Goroll writes: http://varnish-cache.org/changeset/4796 Once you're at it, it would appear to me that adding differentiated macros for load/store/both (AMD64: lfence/sfence/mfence

2.1.3 (rev2) candidate patch available

2010-06-28 Thread Poul-Henning Kamp
I have updated the 2.1.3 candidate patch at http://phk.freebsd.dk/misc/_.2.1.3.patch Please help test it. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 p...@freebsd.org | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice

Re: Varnish Storage API

2010-07-14 Thread Poul-Henning Kamp
that be, that the author of Varnish said that it is by far the least hackish way to get something working reliably. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 p...@freebsd.org | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what

Re: req.hash not a string (when?)

2010-08-11 Thread Poul-Henning Kamp
In message aanlktin6vuioe8hbweu+bhkm4g8c5uoetbkqjskkm...@mail.gmail.com, T. Pascal writes: Just wondering when/if req.hash can be used like the above error (or, with the new log feature)? req.hash is not coming back as a readable variable, it is too expensive in storage. -- Poul-Henning Kamp

Re: Proposal/specs for backend conditional requests / aka GET If-Modified-Since (GET IMS))

2010-10-04 Thread Poul-Henning Kamp
to return graced content on backend failure. In order to not confuse the syntax more than necessary, we should probably introduce return (deliver_graced) both in vcl_miss{} and vcl_fetch{}. Comments ? -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 p...@freebsd.org | TCP/IP since

Re: Request for code review of varnish-cache.org ticket #780 (Read CRLF in fetch_chunked)

2010-10-18 Thread Poul-Henning Kamp
one char if (c == CR) Rx one char if (c != LF) accept fetch log error notice close connection to prevent reuse -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 p...@freebsd.org | TCP/IP since RFC

Re: [PATCH] fileread for the std VMOD

2010-11-19 Thread Poul-Henning Kamp
In message 8762vtx0tm@qurzaw.linpro.no, Tollef Fog Heen writes: ]] Poul-Henning Kamp | Please do. It was already set to pkglibdir, so I just adjusted that to pkglibdir/vmods and exposed that in the pkg-config file. I don't think we want to promote this to a configure option, people

Re: [PATCH] fileread for the std VMOD

2010-11-23 Thread Poul-Henning Kamp
: Variable 'filelist_update' (line 199, file ../../lib/libvmod_std/vmod _std.c) +could be declared as const +../../lib/libvmod_std/vmod_std.c 199 Info 830: Location cited in prior +message -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 p...@freebsd.org | TCP/IP since

Re: Elaborating on proposed vcl_stale() and vcl_refresh() // Proposal/specs for backend conditional requests / aka GET If-Modified-Since (GET IMS))

2011-01-08 Thread Poul-Henning Kamp
-Disposition: inline ___ varnish-dev mailing list varnish-dev@varnish-cache.org http://www.varnish-cache.org/lists/mailman/listinfo/varnish-dev --===4723512172216386742==-- -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 p

Re: Review for patch to add derived (calculated) values to the statistics counters reported by libvarnishapi

2011-01-21 Thread Poul-Henning Kamp
), ((ptr)-s_hdrbytes + (ptr)-s_bodybytes ...)) -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 p...@freebsd.org | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence

Re: Learning Varnish Source

2011-02-17 Thread Poul-Henning Kamp
... Poul-Henning -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 p...@freebsd.org | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence

Re: If-Modified-Since

2011-02-17 Thread Poul-Henning Kamp
a 304 response. Correct. It was good to see everybody at VUG, hope you're all doing well and getting hit often. %^) Yes, nothing like being able to use your hands to communicate with also :-) -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 p...@freebsd.org | TCP/IP since RFC

Re: If-Modified-Since

2011-02-24 Thread Poul-Henning Kamp
and conditional_timeout SHALL also be set to zero. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 p...@freebsd.org | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence

Re: If-Modified-Since

2011-02-24 Thread Poul-Henning Kamp
In message 4d662da4.3030...@uplex.de, Geoff Simmons writes: On 2/24/11 9:59 AM, Poul-Henning Kamp wrote: In message 4d6578ce.7070...@uplex.de, Geoff Simmons writes: @phk: If we also implicitly set obj.conditional_timeout = 0 when obj.ttl is set to 0, wouldn't existing VCL continue to do what

Re: If-Modified-Since

2011-02-24 Thread Poul-Henning Kamp
policies, where objects can linger for longer in the hope they are reused. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 p...@freebsd.org | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained

Re: If-Modified-Since

2011-02-24 Thread Poul-Henning Kamp
60 seconds, it will be removed. It is enough to say: set obj.ttl = 0s; set obj.conditional_timeout = 60s; obj.grace (and obj.conditional_timeout) are automatically zeroed when you zero obj.ttl -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 p...@freebsd.org | TCP

Re: Memory leak in trunk?

2011-03-11 Thread Poul-Henning Kamp
In message 4d7a1b77.1090...@yahoo.co.uk, Dmitry Panov writes: There is definitely a problem with the current trunk. is this with or without geoffs ims-patch ? -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 p...@freebsd.org | TCP/IP since RFC 956 FreeBSD committer | BSD

Re: Memory leak in trunk?

2011-03-11 Thread Poul-Henning Kamp
In message 4d7a1dc5.7030...@yahoo.co.uk, Dmitry Panov writes: Both. The patch doesn't make any difference. Ok, that makes it my department :-) Any indication what the leak depends on ? number of requests ? size of requests ? hit rate ? -- Poul-Henning Kamp | UNIX since Zilog Zeus

Re: [PATCH] Normalizing the Host: header

2011-03-11 Thread Poul-Henning Kamp
? Are there any other kinds of request normalization we should do ? And should we also normalize backend responses ? -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 p...@freebsd.org | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can

Re: Memory leak in trunk?

2011-03-12 Thread Poul-Henning Kamp
, Poul-Henning Kamp wrote: In message4d7a1dc5.7030...@yahoo.co.uk, Dmitry Panov writes: Both. The patch doesn't make any difference. Ok, that makes it my department :-) Any indication what the leak depends on ? number of requests ? size of requests ? hit rate ? -- Dmitry Panov

Re: IMS: grace keep

2011-03-13 Thread Poul-Henning Kamp
not totally disable IMS on an object. Which is more intuitive ? -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 p...@freebsd.org | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence

Re: [PATCH] Solaris: Test for SO_{RCV,SND}TIMEO needs NET_LIBS

2011-03-13 Thread Poul-Henning Kamp
In message 4d7cbc4c.2070...@schokola.de, Nils Goroll writes: All other tests fail sometimes, but not reproducibly, with an Assert error in TCP_blocking(), tcp.c line 184: Condition(TCP_Check(j)) not true.. Keep an eye on errno... -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 p

Re: IMS: grace keep

2011-03-13 Thread Poul-Henning Kamp
In message 4d7c9077.4020...@uplex.de, Geoff Simmons writes: So I think that with max(grace,keep), and default_keep == default_grace, we have the widest range of options and simplest defaults. Works for me. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 p...@freebsd.org | TCP

Re: [PATCH] Normalizing the Host: header

2011-03-14 Thread Poul-Henning Kamp
to think about this themselves. Obviously that is nor particularly practical either. What I'm looking for is the sensible middle ground... -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 p...@freebsd.org | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never

Re: Patch proposal: handling multiple Set-Cookie headers from backend

2011-03-22 Thread Poul-Henning Kamp
{ cookie.keep_only(This_cookie, That_cookie); } -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 p...@freebsd.org | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence

Re: When changing purge-ban in 3.0, should we also expose the VRT_ban_string functionality from VCL instead of relying on magic parsing the difference

2011-04-28 Thread Poul-Henning Kamp
-Henning Kamp | UNIX since Zilog Zeus 3.20 p...@freebsd.org | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence. ___ varnish-dev mailing list

Re: When changing purge-ban in 3.0, should we also expose the VRT_ban_string functionality from VCL instead of relying on magic parsing the difference

2011-04-29 Thread Poul-Henning Kamp
the slight silliness and inelegance of this, does it cause any real-world problems? I worry about quoting madness... -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 p...@freebsd.org | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice

Re: VCL compiler creates non-compileable code when calling functions that takes zero arguments (patch attached)

2011-05-16 Thread Poul-Henning Kamp
). This because it will always output a comma in preparation for the arguments. Attached is a patch to correct this and only supply the comma when it is needed. This should be fixed now. I didn't quite use your patch, because the fix makes the 'q' variable pointless. -- Poul-Henning Kamp | UNIX

Re: add vmod-std to the build

2011-05-30 Thread Poul-Henning Kamp
to nail down a stable API across releases for some of the most central bits in Varnish, and that would just be an empty illusion. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 p...@freebsd.org | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never

Re: Patch review for adding locking on the SHMFILE to prevent multiple varnish instances using the same -n argument

2011-06-14 Thread Poul-Henning Kamp
-dev@varnish-cache.org http://www.varnish-cache.org/lists/mailman/listinfo/varnish-dev --===8734530158992454258==-- -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 p...@freebsd.org | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute

Re: Proposed fix for #980

2011-08-17 Thread Poul-Henning Kamp
In message CANTn4cpDaV6=bstz1Uv12_zSDqghj3e_qsrnKc=VhTSy=8s...@mail.gmail.com , Martin Blix Grydeland writes: Find attached proposed fix for #980. Almost correct: The C-L and do_stream tests belong together. Committed in fixed form. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 p

Re: [PATCH] Lock panic buffer before mangling it

2011-08-19 Thread Poul-Henning Kamp
___ varnish-dev mailing list varnish-dev@varnish-cache.org https://www.varnish-cache.org/lists/mailman/listinfo/varnish-dev -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 p...@freebsd.org | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3

Re: gzip crash

2011-11-12 Thread Poul-Henning Kamp
. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 p...@freebsd.org | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence. ___ varnish-dev mailing

Re: Proposed restructuring of http_conn and where the data is stored

2011-11-22 Thread Poul-Henning Kamp
. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 p...@freebsd.org | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence. ___ varnish-dev

Varnish 3.1 becoming 4.0 instead (?)

2011-12-05 Thread Poul-Henning Kamp
per worker thread in wrk-nbusyobj, without locking, which will be good for low hit-rates. Stats counters will allow us to monitor the situation and improve this policy. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 p...@freebsd.org | TCP/IP since RFC 956

Re: name changes for the upcoming 4.0

2011-12-05 Thread Poul-Henning Kamp
' was more of a joke than a serious bid, but we simply couldn't come up with anything better at the time. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 p...@freebsd.org | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can

Re: name changes for the upcoming 4.0

2011-12-05 Thread Poul-Henning Kamp
in the phrase There, but for the grace of god, go I etc. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 p...@freebsd.org | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence

Re: [PATCH] Enable kqueue() support on OpenBSD.

2012-01-02 Thread Poul-Henning Kamp
-dev -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 p...@freebsd.org | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence. ___ varnish-dev

Re: Streaming and backend conditional requests

2012-01-14 Thread Poul-Henning Kamp
. It can, but the synth reply cannot be ESI parsed. I did consider the alternative, where you call synth() from vcl_recv{} and then go from there to vcl_fetch{}, in essense making synth{} a virtual backend. Would that be better ? -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 p

Re: Streaming and backend conditional requests

2012-01-14 Thread Poul-Henning Kamp
-Henning Kamp | UNIX since Zilog Zeus 3.20 p...@freebsd.org | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence. ___ varnish-dev mailing list

Re: name changes for the upcoming 4.0

2012-01-15 Thread Poul-Henning Kamp
that. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 p...@freebsd.org | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence. ___ varnish-dev mailing

Re: [PATCH] Drop old grace objects when we have a new object that matches the Vary

2012-01-17 Thread Poul-Henning Kamp
values for consistency. + if (vary1[2] || vary2[2]) + /* number of headers doesn't match */ + return 0; We should always put {...} around if-bodies, if they are more than one line, even if the second line is a comment. -- Poul-Henning Kamp | UNIX since Zilog

No more worker-thread workspace

2012-02-09 Thread Poul-Henning Kamp
. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 p...@freebsd.org | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence. ___ varnish-dev mailing list

Re: PATCH: add ip to std vmod

2012-03-21 Thread Poul-Henning Kamp
now. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 p...@freebsd.org | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence. ___ varnish-dev

Re: [PATCH] Fix Varnish build on OpenBSD

2012-04-27 Thread Poul-Henning Kamp
In message 20120426185723.ga9...@rox.home.comstyle.com, Brad Smith writes: Unlike the 3.0.2 release checking out the latest and greatest from Git doesn't fare well building on OpenBSD. The following diff fixes the build issues. Committed, thanks. -- Poul-Henning Kamp | UNIX since Zilog

Re: Patch set for aiding in vmod building against installed (and packaged) Varnish instances

2012-05-10 Thread Poul-Henning Kamp
here, but I notice that we (still!) have no docs at all for our install-strategy. I'm not looking for a big bulky thing, just a one-pager which says Varnish installs these files these places for theses reasons. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 p...@freebsd.org | TCP/IP

Re: [PATCH 1/2] Fix vmod_log (VRT_StringList returns end of string, not beginning)

2012-05-10 Thread Poul-Henning Kamp
___ varnish-dev mailing list varnish-dev@varnish-cache.org https://www.varnish-cache.org/lists/mailman/listinfo/varnish-dev -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 p...@freebsd.org | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute

Re: [PATCH] Improved hash director behavior

2012-05-10 Thread Poul-Henning Kamp
is beeing remapped and backends will perform better. Sorry about the delay. I have done it slightly differently in [master] 0352ea2... Feel free to yell at me if that is not good enough. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 p...@freebsd.org | TCP/IP since RFC 956

Re: deactivate obj updates

2012-05-10 Thread Poul-Henning Kamp
, -spersistent -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 p...@freebsd.org | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence

Re: Updated persistent patches

2012-06-06 Thread Poul-Henning Kamp
at that time. There is certainly no need to record the bantimes in the segment (0016), since they are already there in the ban-spec. non-mentioned patches are not reviewed. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 p...@freebsd.org | TCP/IP since RFC 956 FreeBSD committer

Re: fix timezone processing in libvarnish

2012-06-06 Thread Poul-Henning Kamp
at that, you are more than welcome. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 p...@freebsd.org | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence

Re: malloc storage memory leak?

2012-07-30 Thread Poul-Henning Kamp
, there is a storage hint: You can pick and choose which stevedore you want to prefer, not sure if it will do all you need in this case, but I think it would help. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 p...@freebsd.org | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3

Re: Dynamic backends

2012-08-06 Thread Poul-Henning Kamp
should probably just fail the request with 50x. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 p...@freebsd.org | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence

RFC: new vcl_lookup{} proposal

2012-09-17 Thread Poul-Henning Kamp
(req.backend, req.url)) { return (deliviver) } } sub vcl_fetch { if (beresp.status = 400) { saint.bad(bereq.backend, bereq.url); } } -- Poul-Henning Kamp | UNIX since Zilog

Re: [PATCH 01/13] Add a EXP_NukeLRU() function to nuke an entire LRU structure at a time.

2012-10-09 Thread Poul-Henning Kamp
; + VSC_C_main-n_lru_nuked++; + } -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 p...@freebsd.org | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence

Re: [PATCH] Implement std.rfcdate

2012-10-11 Thread Poul-Henning Kamp
In message 20121011035912.cc6531acb4464292dde9d...@lodoss.net, Federico G. S chwindt writes: I'm not sure I understand what you are trying to do here, and I wonder if you're not doing it backwards ? Wouldn't a DOUBLE std.unixtime(TIME) make more sense ? -- Poul-Henning Kamp

Re: [PATCH] Implement std.rfcdate

2012-10-11 Thread Poul-Henning Kamp
In message cajv_h0alpdossrvptqorcdqxtg0nh_hcvseygio3jqb1wug...@mail.gmail.com , Federico Schwindt writes: On Thu, Oct 11, 2012 at 9:24 AM, Poul-Henning Kamp p...@phk.freebsd.dk wrote: In message 20121011035912.cc6531acb4464292dde9d...@lodoss.net, Federico G. S chwindt writes: I'm not sure I

Re: [PATCH] Implement std.rfcdate

2012-10-11 Thread Poul-Henning Kamp
it gets a proper type. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 p...@freebsd.org | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence

Re: [PATCH] Implement std.rfcdate

2012-10-11 Thread Poul-Henning Kamp
In message 76841.1349946...@critter.freebsd.dk, Poul-Henning Kamp writes: Can you try this patch ? (NB: copypasted, you probably need to apply by hand...) (PS: and place open a ticket for this bug) diff --git a/lib/libvcl/vcc_expr.c b/lib/libvcl/vcc_expr.c index 72c26a9..5223392

Re: [PATCH 02/10] Add a BAN_Shutdown() routine that is called before STV_Close(), and makes sure that the ban lists will not change until we exit.

2012-10-22 Thread Poul-Henning Kamp
flag in cache_ban.c which indicates that a shutdown is in progress, set it in the BAN_Shutdown() function. When this flag is set, all attempts to add bans should fail before trying to grab the mutex. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 p...@freebsd.org | TCP/IP since

Re: [PATCH] Don't assert that privileges exist which have been introduced later than Solaris 10 FCS.

2012-10-29 Thread Poul-Henning Kamp
In message 508ebaf5.2020...@schokola.de, Nils Goroll writes: Niels, can't we find some way to assert that we get the privs which are supported ? I'm sort of paranoid about silent priv-sep issues, because they have a tendency to become security exploits... -- Poul-Henning Kamp

Re: [PATCH] tailored assertions for priv_addset and setppriv

2012-10-30 Thread Poul-Henning Kamp
think that is a good idea. Warnings tend to become it always says that... -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 p...@freebsd.org | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained

Re: varnish 2.1.5 on ia64

2012-11-05 Thread Poul-Henning Kamp
list. The varnish-dev list is for varnish development topics. With all due respect: I don't think we positively know at this point if varnish works on ia64, so I think this could be a valid -dev issue. (See my other reply) -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 p...@freebsd.org

Re: varnish 2.1.5 on ia64

2012-11-05 Thread Poul-Henning Kamp
about any of the other options there) -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 p...@freebsd.org | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence

Re: varnish 2.1.5 on ia64

2012-11-05 Thread Poul-Henning Kamp
, it's not important for what we're trying to do. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 p...@freebsd.org | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence

Re: varnish 2.1.5 on ia64

2012-11-05 Thread Poul-Henning Kamp
AS ##--- Ok, now we're getting somewhere Can you check that the bin/varnishd/default.vcl file does not look like that in the first line ? -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 p...@freebsd.org | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe

Re: varnish 2.1.5 on ia64

2012-11-07 Thread Poul-Henning Kamp
is a bit tight for me right now. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 p...@freebsd.org | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence

Re: [PATCH 01/15] Start the thread pools as the last init item before the main loop.

2012-11-12 Thread Poul-Henning Kamp
in spirit, but I think it is wrong in practice: We want to start the pools as early as we can so they can create their minimum complement of threads. The right thing to do is probably to introduce and raise a flag when when are in business. -- Poul-Henning Kamp | UNIX since Zilog Zeus

Re: [PATCH 02/15] Add a BAN_Shutdown() routine that is called before STV_Close(), and makes sure that the ban lists will not change until we exit.

2012-11-12 Thread Poul-Henning Kamp
.vtc so it should probably be done in its own commit. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 p...@freebsd.org | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence

Re: [PATCH 04/15] Add defines for ban header sizes and offsets, and use them

2012-11-12 Thread Poul-Henning Kamp
now, but I think there is a substantial change here which needs to be salvaged still ? -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 p...@freebsd.org | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately

Re: PATCH: Add a least-connection director

2012-11-19 Thread Poul-Henning Kamp
thing is the (Always!) move... rule, which ensures that a single backend never gets to service the full load. Emperically, chosing A as round(min(2, log2(n_backends))) works pretty well. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 p...@freebsd.org | TCP/IP since RFC 956

away mon 2012-11-26

2012-11-25 Thread Poul-Henning Kamp
I won't be online for the bug-wash tomorrow due to a meeting. Apologies for the late notice. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 p...@freebsd.org | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately

Re: [PATCH] Get rid of ban_url/ban.url

2012-11-26 Thread Poul-Henning Kamp
In message 20121126082805.gc31...@err.no, Tollef Fog Heen writes: It hasn't really been marked as deprecated well, we removed it from the on-line help... -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 p...@freebsd.org | TCP/IP since RFC 956 FreeBSD committer

Re: RFC: new vcl_lookup{} proposal

2012-12-10 Thread Poul-Henning Kamp
the generated VCL and run raw. Would this work ? -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 p...@freebsd.org | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence

Re: varnishtest improvement for VMOD developers

2013-01-15 Thread Poul-Henning Kamp
don't know if it is useful for varnish core because varnish usually don't care about requests body (POST), but it is useful for me as a VMOD developer. Send patch :-) -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 p...@freebsd.org | TCP/IP since RFC 956 FreeBSD committer

Re: Varnish on a pi

2013-01-24 Thread Poul-Henning Kamp
have not had time to track it down. -enable-diagnostics may possibly change the -O and -g flags to the compiler, which could change the code generation enough to obscure the issue. Any kind of further information you can find, is more than welcome... -- Poul-Henning Kamp | UNIX since Zilog

Re: [PATCH] remove invalid assertion in vws_thread()

2013-01-24 Thread Poul-Henning Kamp
--090507030006090308070204-- -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 p...@freebsd.org | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence

Re: [PATCH 2/2] On return from waitinglist, do a poll() on the socket to see if the client has closed the connection and gone away. If so, release the session early.

2013-02-14 Thread Poul-Henning Kamp
(). -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 p...@freebsd.org | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence. ___ varnish-dev mailing

Re: [PATCH 1/2] Turn on SO_KEEPALIVE on all TCP connections.

2013-02-15 Thread Poul-Henning Kamp
OK -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 p...@freebsd.org | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence. ___ varnish-dev

Re: full disclosure reports

2013-03-06 Thread Poul-Henning Kamp
prioritization, but under present circumstances, your input in this respect is just one of many, I get to try to balance them all, and in this particular case you loose: These are not security problems. I've argued many times: And I've said many times: Please send patches. -- Poul-Henning Kamp

Re: [PATCH 5/8] Return 503 when Vary-headers references header names more than 127 (out limit) characters long.

2013-03-19 Thread Poul-Henning Kamp
examples of non-insane uses of headers longer than 127 characters ? Poul-Henning -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 p...@freebsd.org | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained

V4 VCL roadmappery...

2013-03-20 Thread Poul-Henning Kamp
on, but they must still be able to run on req::thread for pass. The operation starts in a few minutes... -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 p...@freebsd.org | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately

Re: V4 VCL roadmappery...

2013-03-20 Thread Poul-Henning Kamp
because they simple don't work for me. However: I'm open to suggestions and consensus -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 p...@freebsd.org | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately

Re: libvmod-dns (super alpha)

2013-04-02 Thread Poul-Henning Kamp
VMOD in the varnish releases. I don't have much concrete feedback though, I hope others can weigh in with that... -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 p...@freebsd.org | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what

Re: V4 VCL roadmappery...

2013-04-07 Thread Poul-Henning Kamp
possible) -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 p...@freebsd.org | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence. ___ varnish-dev

Re: V4 VCL roadmappery...

2013-04-08 Thread Poul-Henning Kamp
In message 02e01ef8-1131-4357-b2cd-594434f0e...@crucially.net, Artur Bergman writes: If I end up in error and want to return the stale object, how would I do = that? Do a restart. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 p...@freebsd.org | TCP/IP since RFC 956 FreeBSD

Re: Make reason-phrase optional?

2013-05-15 Thread Poul-Henning Kamp
a consensus and send me a patch... -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 p...@freebsd.org | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence

Re: Varnish as a redirector for a millions URLs

2013-05-23 Thread Poul-Henning Kamp
=# - /# or is it a database lookup to figure out the mapping ? -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 p...@freebsd.org | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence

Synthetic objects

2013-06-27 Thread Poul-Henning Kamp
^Hhope that people will restrain themselves -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 p...@freebsd.org | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence

Re: Synthetic objects

2013-07-03 Thread Poul-Henning Kamp
-Henning Kamp | UNIX since Zilog Zeus 3.20 p...@freebsd.org | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence. ___ varnish-dev mailing list varnish

Re: Synthetic objects

2013-07-03 Thread Poul-Henning Kamp
-off synthetic response to a single client. That object cannot and will not be cached. vcl_backend_synth{} on the other hand, will allow you to create objects which _can_ be cached, although by default the will probably not be. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 p

Re: Synthetic objects

2013-07-03 Thread Poul-Henning Kamp
of 100K is not unheard of, with inline images and such. Hand the devil a finger... :-) I'll add it to the list -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 p...@freebsd.org | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can

Re: [PATCH] Implement std.ip() to simplify ACL checking in VCL

2013-08-04 Thread Poul-Henning Kamp
a STRING parameter as suggested by Tollef. Not sure if this is still required. VCL_IP is the right type. I can't remember if VCC has code to type-convert a STRING to IP, but if not, that should be added. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 p...@freebsd.org | TCP/IP

Re: HSH_Private

2013-09-12 Thread Poul-Henning Kamp
and EXP, but it will take more code, since they don't traverse the list today. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 p...@freebsd.org | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained

Re: HSH_Private expire superseded

2013-09-14 Thread Poul-Henning Kamp
In message 5233a227.9070...@schokola.de, Nils Goroll writes: On 09/13/13 09:43 AM, Poul-Henning Kamp wrote: For the time being: This does not change the fact that the exp thread will still need to lock the objhead list, right? In the case were somebody else nukes an object (de-dup, length

Re: [PATCH] Option to choose another root tmp-directory in varnishtest make check

2013-10-01 Thread Poul-Henning Kamp
) != NULL) + tmp = strdup(getenv(TMPDIR)); + else + tmp = strdup(/tmp); -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 p...@freebsd.org | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can

Re: [PATCH] Add the VSL tag BereqEnd

2013-10-23 Thread Poul-Henning Kamp
as I know, there is no way to wait on a socket until all queued data has been sent (or even ACKed). -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 p...@freebsd.org | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately

Re: More on the HAProxy proxy protocol

2013-11-11 Thread Poul-Henning Kamp
tempted to make client.identity a STRING, rather than an IP, to make it clear to people that running it through an ACL is a bad idea. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 p...@freebsd.org | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never

Re: varnishtest documentation

2013-12-21 Thread Poul-Henning Kamp
the client tells it to, but it can also be used synchronize multiple clients or servers running in parallel. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 p...@freebsd.org | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can

  1   2   3   4   5   >