Commits on Jul 28, 2010
  1. Tag 2.1.3

    git-svn-id: http://www.varnish-cache.org/svn/tags/varnish-2.1.3@5056 d4fa192b-c00b-0410-8231-f00ffab90ce4
    Tollef Fog Heen committed Jul 28, 2010
  2. Bump version number to 2.1.3

    git-svn-id: http://www.varnish-cache.org/svn/branches/2.1@5055 d4fa192b-c00b-0410-8231-f00ffab90ce4
    Tollef Fog Heen committed Jul 28, 2010
  3. Fix syntax error in XML file

    git-svn-id: http://www.varnish-cache.org/svn/branches/2.1@5054 d4fa192b-c00b-0410-8231-f00ffab90ce4
    Tollef Fog Heen committed Jul 28, 2010
  4. Merge r4986: Add a code coverage test for the classic hasher, now tha…

    …t critbit is the default
    
    git-svn-id: http://www.varnish-cache.org/svn/branches/2.1@5053 d4fa192b-c00b-0410-8231-f00ffab90ce4
    Tollef Fog Heen committed Jul 28, 2010
  5. Merge r4912: Revisit the memory barriers

    Try to catch some common platforms with inline assembler.
    
    I cannot possibly express the magnitude of this particular POSIX FAIL!
    
    
    
    git-svn-id: http://www.varnish-cache.org/svn/branches/2.1@5052 d4fa192b-c00b-0410-8231-f00ffab90ce4
    Tollef Fog Heen committed Jul 28, 2010
  6. Merge r4749: Avoid using tempnam(3)

    Don't use tempnam(3) it results in a bogus compile time warning,
    because we are not trying to create a file but a directory.
    
    
    
    git-svn-id: http://www.varnish-cache.org/svn/branches/2.1@5051 d4fa192b-c00b-0410-8231-f00ffab90ce4
    Tollef Fog Heen committed Jul 28, 2010
  7. Merge r5048: Make Expect 100-continue test case-insensitive

    Candidate for merging into 2.1 branch
    
    
    git-svn-id: http://www.varnish-cache.org/svn/branches/2.1@5050 d4fa192b-c00b-0410-8231-f00ffab90ce4
    Tollef Fog Heen committed Jul 28, 2010
  8. Document changes for 2.1.3

    git-svn-id: http://www.varnish-cache.org/svn/branches/2.1@5049 d4fa192b-c00b-0410-8231-f00ffab90ce4
    Tollef Fog Heen committed Jul 28, 2010
Commits on Jul 13, 2010
  1. Merge r5016: Add "log" command to VCL

    This allows logging to varnishlog with the VCL_Log tag.
    
    
    
    git-svn-id: http://www.varnish-cache.org/svn/branches/2.1@5047 d4fa192b-c00b-0410-8231-f00ffab90ce4
    Tollef Fog Heen committed Jul 13, 2010
  2. Merge r4859-r4861: Make the critbit "Y" a independently allocated struct

    r4859:
    Make the critbit "Y" a independently allocated struct, rather than
    using the objhead as carrier for it.
    
    The time difference between objhead freeing and Y freeing is very
    significant on systems with rolling URLS (ie: "article=%d") resulting
    in far too many objheads being stuck on the cooling list.
    
    r4860:
    Also cool off objheaders
    
    r4861:
    Add a single write memory barrier, to be absolutely 100% sure that
    the tree is sane at all points.
    
    
    
    git-svn-id: http://www.varnish-cache.org/svn/branches/2.1@5046 d4fa192b-c00b-0410-8231-f00ffab90ce4
    Tollef Fog Heen committed Jul 13, 2010
  3. Merge r4646: Turn the binary heap into a "B-heap"

    Reduces the number of pagefaults by roughly a factor 9.
    
    
    
    git-svn-id: http://www.varnish-cache.org/svn/branches/2.1@5045 d4fa192b-c00b-0410-8231-f00ffab90ce4
    Tollef Fog Heen committed Jul 13, 2010
  4. Merge r4979: Emit a Length record on fetches from the backend.

    git-svn-id: http://www.varnish-cache.org/svn/branches/2.1@5044 d4fa192b-c00b-0410-8231-f00ffab90ce4
    Tollef Fog Heen committed Jul 13, 2010
  5. Merge r4864: Clarify a debug message

    git-svn-id: http://www.varnish-cache.org/svn/branches/2.1@5043 d4fa192b-c00b-0410-8231-f00ffab90ce4
    Tollef Fog Heen committed Jul 13, 2010
  6. Merge r4823: Fix a minor confusion.

    git-svn-id: http://www.varnish-cache.org/svn/branches/2.1@5042 d4fa192b-c00b-0410-8231-f00ffab90ce4
    Tollef Fog Heen committed Jul 13, 2010
  7. Merge r4968: Destroy directors before their embedded backends.

    git-svn-id: http://www.varnish-cache.org/svn/branches/2.1@5041 d4fa192b-c00b-0410-8231-f00ffab90ce4
    Tollef Fog Heen committed Jul 13, 2010
  8. Merge r4967: Fix a problem in director teardown at vcl.discard time

    We didn't create/destroy directors and backends in a consistent order,
    and in some case we even destroyed directors more than once.
    
    Always destroy in opposite order of creation (which follows VCL
    source order).
    
    Turn the bottom element of the array into (only) an indication
    of which backend/director is the default.
    
    Fixes:  #722
    
    
    
    git-svn-id: http://www.varnish-cache.org/svn/branches/2.1@5040 d4fa192b-c00b-0410-8231-f00ffab90ce4
    Tollef Fog Heen committed Jul 13, 2010
  9. Merge r4971: Use ExpectErr() instead of Expect

    this gives us compiler error messages rather than panics.
    
    
    
    git-svn-id: http://www.varnish-cache.org/svn/branches/2.1@5039 d4fa192b-c00b-0410-8231-f00ffab90ce4
    Tollef Fog Heen committed Jul 13, 2010
  10. Merge r4783: Update URLs and email addresses

    git-svn-id: http://www.varnish-cache.org/svn/branches/2.1@5038 d4fa192b-c00b-0410-8231-f00ffab90ce4
    Tollef Fog Heen committed Jul 13, 2010
  11. Merge half of r4842: List vmb.h

    git-svn-id: http://www.varnish-cache.org/svn/branches/2.1@5037 d4fa192b-c00b-0410-8231-f00ffab90ce4
    Tollef Fog Heen committed Jul 13, 2010
  12. Merge r4868: Handle RST leading to EINVAL on Solaris

    Attempt an even more comprehensive fix for a bug in Solaris:
    If the remote end RST's a TCP connection, all socket related syscalls
    seems to return EINVAL.
    
    
    
    git-svn-id: http://www.varnish-cache.org/svn/branches/2.1@5036 d4fa192b-c00b-0410-8231-f00ffab90ce4
    Tollef Fog Heen committed Jul 13, 2010
Commits on Jul 6, 2010
  1. Merge r4743, r4744, r4745: ESI panic when element spans malloc

    segments
    
    r4973: Use WSP instead of VSL for ordering and performance
    
    r4974: Minor nitpicking
    
    r4975: Fix a bug when ESI elements span storage elements, which only
    the tightfisted -smalloc would trigger.
    
    Fixes: #719
    
    
    
    
    git-svn-id: http://www.varnish-cache.org/svn/branches/2.1@5030 d4fa192b-c00b-0410-8231-f00ffab90ce4
    Tollef Fog Heen committed Jul 6, 2010
  2. Merge r4989: Fix a problem with accounting of ESI transactions

    In particular make the Length header match the actual composite object
    sent to the client.
    
    
    
    git-svn-id: http://www.varnish-cache.org/svn/branches/2.1@5029 d4fa192b-c00b-0410-8231-f00ffab90ce4
    Tollef Fog Heen committed Jul 6, 2010
  3. Merge r4980: Emit Length for client side right before ReqEnd, to summ…

    …arize ESI transactions correctly.
    
    Only emit Length and ReqEnd if we have an XID.
    
    Fixes: #709
    Fixes: #720
    
    
    
    git-svn-id: http://www.varnish-cache.org/svn/branches/2.1@5028 d4fa192b-c00b-0410-8231-f00ffab90ce4
    Tollef Fog Heen committed Jul 6, 2010
  4. Merge r4981: Typo in -X matching in varnishapi

    Fixes: #681
    
    
    
    git-svn-id: http://www.varnish-cache.org/svn/branches/2.1@5027 d4fa192b-c00b-0410-8231-f00ffab90ce4
    Tollef Fog Heen committed Jul 6, 2010
  5. Merge r4867: Don't bog our webserver down when somebodys backend croaks.

    git-svn-id: http://www.varnish-cache.org/svn/branches/2.1@5026 d4fa192b-c00b-0410-8231-f00ffab90ce4
    Tollef Fog Heen committed Jul 6, 2010
  6. Merge r4866: Make bytes=-100 work

    I have no idea how I overlooked that a "bytes=-100" range was from the
    end of the object, but I did.
    
    Fixes #704.
    
    Reported by:    Luc Saillard
    
    
    
    git-svn-id: http://www.varnish-cache.org/svn/branches/2.1@5025 d4fa192b-c00b-0410-8231-f00ffab90ce4
    Tollef Fog Heen committed Jul 6, 2010
  7. Merge r4865: Fix an off-by-one bug, when requested range exceeds avai…

    …lable data.
    
    Submitted by:   Luc Saillard
    
    
    
    git-svn-id: http://www.varnish-cache.org/svn/branches/2.1@5024 d4fa192b-c00b-0410-8231-f00ffab90ce4
    Tollef Fog Heen committed Jul 6, 2010
  8. Merge r4829: Allow TAB in the 3rd field of the first line of HTTP req…

    …uests and responses.
    
    Fixes: #700
    
    
    
    git-svn-id: http://www.varnish-cache.org/svn/branches/2.1@5023 d4fa192b-c00b-0410-8231-f00ffab90ce4
    Tollef Fog Heen committed Jul 6, 2010
  9. Merge r4977: Check __FreeBSD_version for memory barrier definition

    git-svn-id: http://www.varnish-cache.org/svn/branches/2.1@5022 d4fa192b-c00b-0410-8231-f00ffab90ce4
    Tollef Fog Heen committed Jul 6, 2010
  10. Merge r4818: Face the music and do memory barriers sensibly.

    This really belongs in POSIX pthreads :-(
    
    
    
    git-svn-id: http://www.varnish-cache.org/svn/branches/2.1@5021 d4fa192b-c00b-0410-8231-f00ffab90ce4
    Tollef Fog Heen committed Jul 6, 2010
Commits on May 5, 2010
  1. Bump version number in configure.ac

    git-svn-id: http://www.varnish-cache.org/svn/branches/2.1@4772 d4fa192b-c00b-0410-8231-f00ffab90ce4
    Tollef Fog Heen committed May 5, 2010
  2. Update spec file to 2.1.2

    git-svn-id: http://www.varnish-cache.org/svn/branches/2.1@4771 d4fa192b-c00b-0410-8231-f00ffab90ce4
    Tollef Fog Heen committed May 5, 2010
  3. Merge r4750: Add -storage spec to varnishtest

    Introduce a -storage spec, and default it -sfile,<workdir>,10m to
    avoid mapping more VM than a 32bit machine can cope with, if /tmp is
    huge.
    
    
    git-svn-id: http://www.varnish-cache.org/svn/branches/2.1@4770 d4fa192b-c00b-0410-8231-f00ffab90ce4
    Tollef Fog Heen committed May 5, 2010
  4. Document 2.1.2 changes

    git-svn-id: http://www.varnish-cache.org/svn/branches/2.1@4766 d4fa192b-c00b-0410-8231-f00ffab90ce4
    Tollef Fog Heen committed May 5, 2010
  5. Merge r4762: Assert that we have an object, in case people use inline…

    …-C to access obj.http.*
    
    git-svn-id: http://www.varnish-cache.org/svn/branches/2.1@4764 d4fa192b-c00b-0410-8231-f00ffab90ce4
    Tollef Fog Heen committed May 5, 2010