Permalink
Switch branches/tags
Commits on May 14, 2013
  1. Fix ancient bug in the 2.1 doctree

    Per Buer committed May 14, 2013
    Fixes #1302
Commits on Nov 11, 2011
  1. Fix missing time in beresp.ttl statement.

    gsandie committed with Tollef Fog Heen Nov 11, 2011
Commits on Apr 13, 2011
  1. Merge branch '2.1' of ssh://git.varnish-cache.org/git/varnish-cache i…

    Tollef Fog Heen committed Apr 13, 2011
    …nto 2.1
  2. Fix formatting of broken Authorization headers in varnishncsa

    Tollef Fog Heen committed Apr 13, 2011
    varnishncsa would format an authorization headers like
    
      Authorization: Basic
    
    as
    
    127.0.0.1 -  […]
    
    rather than
    
    127.0.0.1 - - […]
    
    Fixes #868
  3. Fix formatting of broken Authorization headers in varnishncsa

    Tollef Fog Heen committed Apr 13, 2011
    varnishncsa would format an authorization headers like
    
      Authorization: Basic
    
    as
    
    127.0.0.1 -  […]
    
    rather than
    
    127.0.0.1 - - […]
  4. Fix memory leak on repeated headers

    Tollef Fog Heen committed Apr 13, 2011
    If there was more than one of the User-Agent, Referer, Authorization,
    X-Forwarded-For or Host header in a request, varnishncsa would leak
    some memory.  We now just use the last value.
Commits on Mar 3, 2011
  1. Fix typo in example

    Tollef Fog Heen committed Mar 3, 2011
  2. clarifications (again)

    bruberg committed with Bjoern Ruberg Mar 3, 2011
  3. nicer definitions

    bruberg committed with Bjoern Ruberg Mar 3, 2011
  4. glossary typo

    bruberg committed with Bjoern Ruberg Mar 3, 2011
Commits on Mar 1, 2011
  1. typos

    Bjoern Ruberg committed Mar 1, 2011
  2. fix typos and link

    Bjoern Ruberg committed Mar 1, 2011
  3. fix typos and link

    Bjoern Ruberg committed Mar 1, 2011
Commits on Feb 28, 2011
Commits on Feb 25, 2011
  1. Generate sphinx's conf.py to embed version number

    Tollef Fog Heen committed Feb 25, 2011
    The sphinx configuration includes the version number, so generate the
    configuration.
Commits on Jan 24, 2011
  1. Changes for 2.1.5

    KristianLyng committed Jan 24, 2011
  2. Fix copy/paste blunder in Changes XML for 2.1.4

    KristianLyng committed Jan 24, 2011
    Also removed the $Id$, which was both incorrect and now obsolete.
Commits on Jan 18, 2011
  1. 2.1: Prepare for 2.1.5

    KristianLyng committed Jan 18, 2011
    - 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 committed Nov 30, 2010
    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 committed Nov 30, 2010
    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 committed Nov 30, 2010
    …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 committed Nov 30, 2010
    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 committed Nov 30, 2010
    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 committed Nov 30, 2010
    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 committed Nov 30, 2010
    …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 committed Nov 30, 2010
    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 committed Nov 30, 2010
    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 committed Nov 30, 2010
    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 committed Nov 30, 2010
    …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 committed Nov 30, 2010
    "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 committed Nov 30, 2010
    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 committed Nov 30, 2010
    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 committed Nov 30, 2010
    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 committed Nov 30, 2010
    …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