Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Tag: varnish-2.1.5
Commits on Jan 24, 2011
  1. @KristianLyng
  2. @KristianLyng

    Changes for 2.1.5

    KristianLyng authored
  3. @KristianLyng

    Fix copy/paste blunder in Changes XML for 2.1.4

    KristianLyng authored
    Also removed the $Id$, which was both incorrect and now obsolete.
Commits on Jan 18, 2011
  1. @KristianLyng

    2.1: Prepare for 2.1.5

    KristianLyng authored
    - Bump version numbers to 2.1.5
    - Redhat: Don't rebuild doc-stuff (it's done at make dist-time)
    - Redhat: Include the varnish_reload_vcl script in extra dist
    
    git-svn-id: http://www.varnish-cache.org/svn/branches/2.1@5761 d4fa192b-c00b-0410-8231-f00ffab90ce4
Commits on Nov 30, 2010
  1. Merge r5593: spelling

    Tollef Fog Heen authored
    git-svn-id: http://www.varnish-cache.org/svn/branches/2.1@5638 d4fa192b-c00b-0410-8231-f00ffab90ce4
  2. Merge r5583: Fix problem with expiry thread slacking off.

    Tollef Fog Heen authored
    The expiry thread caches its "now" timestamp and if there was a lot of
    work to do, this timestamp could get behind times, and send the thread
    to sleep, despite being behind on work.
    
    Fix this, by updating the timestamp whenever we run out of work.
    
    Add a parameter ("expiry_sleep") to control how long time the thread
    will sleep so this can be tuned down on high-load servers.
    
    Inspired by:    sky
    
    
    
    git-svn-id: http://www.varnish-cache.org/svn/branches/2.1@5637 d4fa192b-c00b-0410-8231-f00ffab90ce4
  3. Merge r5582: Add a binheap function to shuffle an item into correct l…

    Tollef Fog Heen authored
    …ocation after a change of key value.
    
    Contrary to the previous comment in cache_expire.c, this process is
    guaranteed to work because the shuffle will always terminate either
    in the root position or in the bottom row.
    
    Use this function when we adjust ttl on an object.
    
    
    
    git-svn-id: http://www.varnish-cache.org/svn/branches/2.1@5636 d4fa192b-c00b-0410-8231-f00ffab90ce4
  4. Merge r5591: Comment that zero is magic.

    Tollef Fog Heen authored
    git-svn-id: http://www.varnish-cache.org/svn/branches/2.1@5635 d4fa192b-c00b-0410-8231-f00ffab90ce4
  5. Merge r5590: Add CLI version to banner

    Tollef Fog Heen authored
    Advertise the CLI protocol version in the banner and start with
    version 1.0 to mark support for here-documents.
    
    
    git-svn-id: http://www.varnish-cache.org/svn/branches/2.1@5634 d4fa192b-c00b-0410-8231-f00ffab90ce4
  6. Merge r5589: Restrict heredocs

    Tollef Fog Heen authored
    Do not allow here-documents for unauthenticated CLI sessions to
    prevent them from becoming an out of memory DoS.
    
    
    
    git-svn-id: http://www.varnish-cache.org/svn/branches/2.1@5633 d4fa192b-c00b-0410-8231-f00ffab90ce4
  7. Merge r5588: Add a new feature to the CLI syntax: Bourne-shell like "…

    Tollef Fog Heen authored
    …here" documents.
    
    The last argument to any CLI command can use this feature.
    
    Typical example:
    
            vcl.inline vcl_new << 42
            backend foo {...}
            sub vcl_recv {...}
            42
    
    The advantage is that no escaping is needed, as long as the magic
    marker, in this case "42" does not match any line anywhere in the 
    lines that make up the argument.
    
    Arguments encoded this way are not subject to the "cli_buffer"
    parameters size limitation.
    
    
    
    git-svn-id: http://www.varnish-cache.org/svn/branches/2.1@5632 d4fa192b-c00b-0410-8231-f00ffab90ce4
  8. Merge r5580: Remove call to VSS_parse() in VSS_open()

    Tollef Fog Heen authored
    Remove call to VSS_parse() in VSS_open(), as VSS_parse() is called in
    VSS_resolve() anyway.
    
    Fixes: #817
    
    
    
    git-svn-id: http://www.varnish-cache.org/svn/branches/2.1@5631 d4fa192b-c00b-0410-8231-f00ffab90ce4
  9. Merge r5577: Documentation updates (ESI, hitrate)

    Tollef Fog Heen authored
    Split up the hitrate chapter into four and added a introduction to
    ESI. ESI needs a bit of work wrt params and operational factors.
    
    
    
    git-svn-id: http://www.varnish-cache.org/svn/branches/2.1@5630 d4fa192b-c00b-0410-8231-f00ffab90ce4
  10. Merge r5576: Documentation updates (ESI, hitrate)

    Tollef Fog Heen authored
    Split up the hitrate chapter into four and added a
    introduction to ESI. ESI needs a bit of work wrt params and
    operational factors.
    
    
    
    git-svn-id: http://www.varnish-cache.org/svn/branches/2.1@5629 d4fa192b-c00b-0410-8231-f00ffab90ce4
  11. Merge r5545: If there are several grace-able objects, pick the least …

    Tollef Fog Heen authored
    …expired one.
    
    Suggested by:   Vincent Wells
    
    
    
    git-svn-id: http://www.varnish-cache.org/svn/branches/2.1@5628 d4fa192b-c00b-0410-8231-f00ffab90ce4
  12. Merge r5532: Make new-purge not touch busy objects

    Tollef Fog Heen authored
    "new-purge" cannot and should not touch busy objects, as they are not
    subject to refcounting.
    
    Fixes: #812
    
    
    
    git-svn-id: http://www.varnish-cache.org/svn/branches/2.1@5627 d4fa192b-c00b-0410-8231-f00ffab90ce4
  13. Merge r5531: Merge multi-line Cache-Control and Vary header fields

    Tollef Fog Heen authored
    One of the silly overgeneralizations in RFC2616, is that headers which
    contain comma-separated lists, can be spread over multiple header
    lines.
    
    There is no way of knowing if this rule applies to any header not
    in RFC2616, short of chasing down the relevant standards document,
    if any, for the particular header.
     
    Considering the fact that HTTP header lines have no natural
    limitation on length AND that RFC2616 already specifies a mechanism
    for header-continuation, this doesn't add any value, at all.
     
    It is hardly a surprise that nobody used this either, so until now,
    we have ignored this silly stuff and just used the first header we
    found.
     
    But now Chromium, of all things, seems to find it necessary to
    spread its Cache-Control across two lines, and we get to deal
    with this crap.
     
    Add a function for stitching multiple header lines into one, and
    call it on Cache-Control in requests to deal with Chromiums issues.
    
    Since we have it, call it preemptively on Cache-Control and Vary
    in backend responses, since the C-code examines these fields.
    
    XXX: At some point, add VCL support for collecting specific headers
    this way.
    
    Fixes: #686
    
    
    
    git-svn-id: http://www.varnish-cache.org/svn/branches/2.1@5626 d4fa192b-c00b-0410-8231-f00ffab90ce4
  14. Merge r5530: Don't supress Cache-Control headers in pass responses.

    Tollef Fog Heen authored
    git-svn-id: http://www.varnish-cache.org/svn/branches/2.1@5625 d4fa192b-c00b-0410-8231-f00ffab90ce4
  15. Merge r5524, r5525: Require -d, -b, -f, -S or -T when starting varnishd

    Tollef Fog Heen authored
    Don't allow silent failure when neither of the following options are
    specified:  -d, -b, -f, -S or -T
    
    In human terms, this means that it is legal to start varnishd without
    a Vcl or backend, but only if you have a CLI channel of some kind.
    
    
    
    git-svn-id: http://www.varnish-cache.org/svn/branches/2.1@5624 d4fa192b-c00b-0410-8231-f00ffab90ce4
  16. Merge r5518: documented return, restart, reordered some docs for read…

    Tollef Fog Heen authored
    …ability and elaborated on saint and grace mode
    
    git-svn-id: http://www.varnish-cache.org/svn/branches/2.1@5623 d4fa192b-c00b-0410-8231-f00ffab90ce4
  17. Merge r5514: typofix

    Tollef Fog Heen authored
    git-svn-id: http://www.varnish-cache.org/svn/branches/2.1@5622 d4fa192b-c00b-0410-8231-f00ffab90ce4
  18. Merge r5513: remove debug output

    Tollef Fog Heen authored
    git-svn-id: http://www.varnish-cache.org/svn/branches/2.1@5621 d4fa192b-c00b-0410-8231-f00ffab90ce4
  19. Merge r5512: updated specfile so it builds trunk again

    Tollef Fog Heen authored
    git-svn-id: http://www.varnish-cache.org/svn/branches/2.1@5620 d4fa192b-c00b-0410-8231-f00ffab90ce4
  20. Merge r5511: make secret file optional in varnish_reload_vcl

    Tollef Fog Heen authored
    git-svn-id: http://www.varnish-cache.org/svn/branches/2.1@5619 d4fa192b-c00b-0410-8231-f00ffab90ce4
  21. Merge r5509: redhat init script now use varnish_reload_vcl if configu…

    Tollef Fog Heen authored
    …red so in sysconfig
    
    git-svn-id: http://www.varnish-cache.org/svn/branches/2.1@5618 d4fa192b-c00b-0410-8231-f00ffab90ce4
  22. Merge r5508: added more or less redhat specific script loads a new vc…

    Tollef Fog Heen authored
    …l based on sysconfig defaults
    
    git-svn-id: http://www.varnish-cache.org/svn/branches/2.1@5617 d4fa192b-c00b-0410-8231-f00ffab90ce4
  23. Merge r5506: Do not filter out Content-Range headers in pass.

    Tollef Fog Heen authored
    Fixes: #789
    
    
    
    git-svn-id: http://www.varnish-cache.org/svn/branches/2.1@5616 d4fa192b-c00b-0410-8231-f00ffab90ce4
Commits on Nov 29, 2010
  1. Merge r5505: Change how we do If-Modified-Since on objects without a …

    Tollef Fog Heen authored
    …Last-Modified header.
    
    Until now, we have not allowed IMS on objects without LM header but
    after due consideration of our role as web-server, that restriction is
    found too hard: Varnish will, by definition, not find and object which
    is not valid, so we can trust the time we put it into the cache to be
    the LM date.
    
    But we can not synthesize a LM header based on this, as this would
    allow down-stream client-side caches to make unwarranted decisions
    (see RFC2616 13.3.4 p88)
    
    Fixes: #795
    
    
    
    git-svn-id: http://www.varnish-cache.org/svn/branches/2.1@5613 d4fa192b-c00b-0410-8231-f00ffab90ce4
  2. Merge r5504: Varnishtest: add ${date} macro

    Tollef Fog Heen authored
    Add a magic ${date} macro, which inserts a RFC2616 format timestamp
    of the present time.
    
    
    
    git-svn-id: http://www.varnish-cache.org/svn/branches/2.1@5612 d4fa192b-c00b-0410-8231-f00ffab90ce4
  3. Merge r5503: Make pass with content-length work again

    Tollef Fog Heen authored
    We have to check the magic status before other length indications,
    otherwise we cannot pass a 304 with a Content-Length.
    
    (RFC2616 p33 4.4)
    
    Fixes: #806
    
    
    
    git-svn-id: http://www.varnish-cache.org/svn/branches/2.1@5611 d4fa192b-c00b-0410-8231-f00ffab90ce4
  4. Merge r5502: 204 is a magic status code, use 205

    Tollef Fog Heen authored
    git-svn-id: http://www.varnish-cache.org/svn/branches/2.1@5610 d4fa192b-c00b-0410-8231-f00ffab90ce4
  5. Merge r5501: redhat/fedora initscript: Default-Start and Default-Stop…

    Tollef Fog Heen authored
    … for lsb compliance. The defaults are empty.
    
    git-svn-id: http://www.varnish-cache.org/svn/branches/2.1@5609 d4fa192b-c00b-0410-8231-f00ffab90ce4
  6. Merge r5500: redhat/fedora initscript: Default-Start and Default-Stop…

    Tollef Fog Heen authored
    … for lsb compliance. The defaults are empty.
    
    git-svn-id: http://www.varnish-cache.org/svn/branches/2.1@5608 d4fa192b-c00b-0410-8231-f00ffab90ce4
  7. Merge r5499: Added a missing echo from the init script. Console no lo…

    Tollef Fog Heen authored
    …nger hides failure output.
    
    git-svn-id: http://www.varnish-cache.org/svn/branches/2.1@5607 d4fa192b-c00b-0410-8231-f00ffab90ce4
  8. Merge r5496: Remove documentation of no longer existant -L option.

    Tollef Fog Heen authored
    Fixes: #804
    
    
    
    git-svn-id: http://www.varnish-cache.org/svn/branches/2.1@5606 d4fa192b-c00b-0410-8231-f00ffab90ce4
Something went wrong with that request. Please try again.