1. 23 Sep, 2007 10 commits
  2. 12 Sep, 2007 6 commits
  3. 29 Aug, 2007 1 commit
    • Dag Erling Smørgrav's avatar
      Merged revisions 1913-1916,1920-1928 via svnmerge from · 96f9b0c8
      Dag Erling Smørgrav authored
      svn+ssh://projects.linpro.no/svn/varnish/trunk/varnish-cache
      
      ........
        r1913 | phk | 2007-08-21 11:23:31 +0200 (Tue, 21 Aug 2007) | 9 lines
        
        Make sure wrk->used is always set when we park on an object, we might be
        unlucky multiple times in which case the responsibility falls back to
        cnt_lookup().
        
        Fixes 144.
      ........
        r1915 | des | 2007-08-21 17:36:59 +0200 (Tue, 21 Aug 2007) | 2 lines
        
        Try to make this comment a little more visible.
      ........
        r1916 | des | 2007-08-21 17:37:17 +0200 (Tue, 21 Aug 2007) | 2 lines
        
        Synchronize with bin/varnishd/mgt_vcc.c.
      ........
        r1925 | des | 2007-08-29 17:21:59 +0200 (Wed, 29 Aug 2007) | 2 lines
        
        Improve readability.
      ........
        r1926 | des | 2007-08-29 17:23:52 +0200 (Wed, 29 Aug 2007) | 1 line
        
        Tabify
      ........
        r1927 | des | 2007-08-29 17:24:42 +0200 (Wed, 29 Aug 2007) | 2 lines
        
        Add missing files.
      ........
        r1928 | des | 2007-08-29 17:25:58 +0200 (Wed, 29 Aug 2007) | 2 lines
        
        Readability
      ........
      
      
      git-svn-id: http://www.varnish-cache.org/svn/branches/1.1@1929 d4fa192b-c00b-0410-8231-f00ffab90ce4
      96f9b0c8
  4. 20 Aug, 2007 11 commits
  5. 19 Aug, 2007 2 commits
  6. 16 Aug, 2007 1 commit
  7. 13 Aug, 2007 1 commit
  8. 10 Aug, 2007 3 commits
  9. 09 Aug, 2007 2 commits
    • Dag Erling Smørgrav's avatar
      Merged revisions 1819 via svnmerge from · 506e1ffd
      Dag Erling Smørgrav authored
      svn+ssh://projects.linpro.no/svn/varnish/trunk/varnish-cache
      
      ........
        r1819 | des | 2007-08-09 16:58:56 +0200 (Thu, 09 Aug 2007) | 2 lines
        
        Explain the meaning of obj.valid and obj.cacheable.
      ........
      
      
      git-svn-id: http://www.varnish-cache.org/svn/branches/1.1@1820 d4fa192b-c00b-0410-8231-f00ffab90ce4
      506e1ffd
    • Dag Erling Smørgrav's avatar
      Merged revisions... · 032e6e84
      Dag Erling Smørgrav authored
      Merged revisions 1743-1744,1746-1749,1755-1775,1777,1779-1793,1795,1797-1798,1800-1808,1810-1815,1817 via svnmerge from 
      svn+ssh://projects.linpro.no/svn/varnish/trunk/varnish-cache
      
      ........
        r1743 | ssm | 2007-07-20 14:43:54 +0200 (Fri, 20 Jul 2007) | 1 line
        
        Split debian package into varnish, libvarnish and libvarnish-dev
      ........
        r1748 | des | 2007-07-24 15:51:58 +0200 (Tue, 24 Jul 2007) | 2 lines
        
        Correct a comment
      ........
        r1749 | des | 2007-07-24 15:52:40 +0200 (Tue, 24 Jul 2007) | 2 lines
        
        Use strlen() directly.
      ........
        r1761 | cecilihf | 2007-07-25 10:39:10 +0200 (Wed, 25 Jul 2007) | 9 lines
        
        Implemented http purge with regexp. Example vcl usage:
        sub vcl_recv {
        	if (req.request == "REPURGE") {
        		purge(req.url);
        		error 404 "Purged";
        	}
        }
      ........
        r1762 | cecilihf | 2007-07-25 10:53:16 +0200 (Wed, 25 Jul 2007) | 2 lines
        
        Updated man page
      ........
        r1765 | cecilihf | 2007-07-25 13:09:06 +0200 (Wed, 25 Jul 2007) | 2 lines
        
        Use purge in function names instead of repurge and move VRT_purge to cache_vrt.c.
      ........
        r1766 | cecilihf | 2007-07-25 13:10:59 +0200 (Wed, 25 Jul 2007) | 2 lines
        
        Style...
      ........
        r1780 | des | 2007-07-28 12:03:29 +0200 (Sat, 28 Jul 2007) | 5 lines
        
        Reverse the logic for sp->wantbody: assume it is always wanted unless
        req.request is "HEAD".  This is what broke the RePurge test case.
        
        Ideally, sp->wantbody would be controllable by VCL.
      ........
        r1783 | des | 2007-07-30 10:03:42 +0200 (Mon, 30 Jul 2007) | 4 lines
        
        Avoid referencing <sys/cdefs.h> and __{BEGIN,END}_DECLS.
        
        Based on Theo Schlossnagle's Solaris portability patch.
      ........
        r1784 | des | 2007-07-30 11:49:05 +0200 (Mon, 30 Jul 2007) | 2 lines
        
        Avoid using non-portable <err.h>.
      ........
        r1785 | des | 2007-07-30 15:50:16 +0200 (Mon, 30 Jul 2007) | 3 lines
        
        Use mktime() rather than the unportable timegm().  The downside is that we're
        at the mercy of the TZ environment variable.
      ........
        r1786 | des | 2007-07-30 15:54:48 +0200 (Mon, 30 Jul 2007) | 2 lines
        
        Explicitly set TZ to GMT.
      ........
        r1787 | des | 2007-07-30 16:16:23 +0200 (Mon, 30 Jul 2007) | 4 lines
        
        Use fcntl(2)-style locks instead of non-portable flock(2)-style locks.
        
        Based on Theo Schlossnagle's Solaris portability patch.
      ........
        r1788 | des | 2007-07-30 16:19:45 +0200 (Mon, 30 Jul 2007) | 2 lines
        
        pid_t is not necessarily compatible with int.
      ........
        r1789 | des | 2007-07-30 16:22:00 +0200 (Mon, 30 Jul 2007) | 2 lines
        
        Bogons in previous commit.  Pass me the pointy hat...
      ........
        r1790 | des | 2007-07-30 16:31:16 +0200 (Mon, 30 Jul 2007) | 3 lines
        
        I accidentally committed the wrong patch in r1787; this corrects the logic
        used to determine which lock type (shared or exclusive) to use.
      ........
        r1791 | des | 2007-07-30 16:39:03 +0200 (Mon, 30 Jul 2007) | 2 lines
        
        Note that MAX_IOVS is intentionally not equal to IOV_MAX.
      ........
        r1792 | des | 2007-07-31 08:06:28 +0200 (Tue, 31 Jul 2007) | 2 lines
        
        Fine-tune the vhost example.
      ........
        r1793 | des | 2007-08-03 20:46:43 +0200 (Fri, 03 Aug 2007) | 2 lines
        
        Synchronize these two files.
      ........
        r1795 | phk | 2007-08-05 21:37:44 +0200 (Sun, 05 Aug 2007) | 9 lines
        
        Synchronize the paramters after we call their accessor functions rather
        than when we don't find one.
        
        This makes changing runtime paramters work again, without the need to
        ask for a nonexistent parameter to trigger the update.
        
        Ticket: 136
      ........
        r1797 | phk | 2007-08-05 22:17:49 +0200 (Sun, 05 Aug 2007) | 4 lines
        
        Make the nonexistence of "nobody" and "nogroup" users and groups nonfatal
        
        Ticket: 140
      ........
        r1798 | phk | 2007-08-05 22:26:09 +0200 (Sun, 05 Aug 2007) | 5 lines
        
        We need the math library on some systems.
        
        Ticket 138
      ........
        r1800 | phk | 2007-08-05 22:57:20 +0200 (Sun, 05 Aug 2007) | 2 lines
        
        Add a missing return: we always return after detecting the first error.
      ........
        r1801 | phk | 2007-08-05 22:57:32 +0200 (Sun, 05 Aug 2007) | 2 lines
        
        vrt.h is not needed here.
      ........
        r1802 | phk | 2007-08-05 23:06:41 +0200 (Sun, 05 Aug 2007) | 2 lines
        
        Add comment to remind myself.
      ........
        r1803 | phk | 2007-08-06 10:07:18 +0200 (Mon, 06 Aug 2007) | 14 lines
        
        Have the VCL compiler provide a hint about the worst case number of
        operations on the req.hash variable.
        
        It is only a hint, because it merely counts how many times the parser
        saw something being added to the req.hash variable.  If the operation
        was in a subroutine which was called multiple times, the hint will not
        reflect the number of actual operations.
        
        For now we will deal with that at runtime, at the expense of a
        failed transaction every time we run short.  If this becomes an issue,
        an extensive topological analysis of the VCL program can give us
        a definitive count.
      ........
        r1804 | phk | 2007-08-06 11:19:20 +0200 (Mon, 06 Aug 2007) | 3 lines
        
        Add piecemal crc32 function back, we will need it for the scatter/gather
        hash string.
      ........
        r1805 | phk | 2007-08-06 11:25:20 +0200 (Mon, 06 Aug 2007) | 13 lines
        
        Rewrite the req.hash implmentation:
        
        Instead of assembling the entire hash-string in the workspace, use
        a scatter gather approach, hinted by the VCL compiler.
        
        This eliminates the workspace reservation which prevented regsub() from
        working in vcl_hash, and reduces the size of the necessary workspace a
        fair bit as well, at the cost of a little bit of complexity in the
        hash implmentations.
        
        Closes ticket 137 and possibly 141
      ........
        r1806 | phk | 2007-08-06 11:28:44 +0200 (Mon, 06 Aug 2007) | 4 lines
        
        Forgot an assert.
        
        WS_Return() is now unused, comment it out.
      ........
        r1807 | phk | 2007-08-07 08:55:52 +0200 (Tue, 07 Aug 2007) | 4 lines
        
        When vcl_miss() take error action, remember to discard backend request.
        
        Ticket: 139
      ........
        r1808 | phk | 2007-08-07 09:23:10 +0200 (Tue, 07 Aug 2007) | 3 lines
        
        Implement "error" action in vcl_fetch() and vcl_deliver()
      ........
        r1810 | phk | 2007-08-08 10:49:11 +0200 (Wed, 08 Aug 2007) | 5 lines
        
        Elminiate a spurious message when sigchild looses a race to popen(2).
        
        This fixed #143
      ........
        r1811 | des | 2007-08-08 12:01:50 +0200 (Wed, 08 Aug 2007) | 3 lines
        
        Remove FreeBSD workaround; the FreeBSD ports tree has had working autotools
        for two weeks now.  Also fix inconsistent indentation.
      ........
        r1817 | des | 2007-08-09 13:19:20 +0200 (Thu, 09 Aug 2007) | 2 lines
        
        Rename libcompat to libvarnishcompat, and make it dynamic.
      ........
      
      
      git-svn-id: http://www.varnish-cache.org/svn/branches/1.1@1818 d4fa192b-c00b-0410-8231-f00ffab90ce4
      032e6e84
  10. 26 Jul, 2007 1 commit
    • Dag Erling Smørgrav's avatar
      Merged revisions 1745-1747,1750-1760,1763-1764,1767-1776 via svnmerge from · 50c558c2
      Dag Erling Smørgrav authored
      svn+ssh://projects.linpro.no/svn/varnish/trunk/varnish-cache
      
      ........
        r1745 | des | 2007-07-24 13:39:55 +0200 (Tue, 24 Jul 2007) | 2 lines
        
        Implement VRT_r_obj_status(), without which obj.status can't be read.
      ........
        r1750 | des | 2007-07-24 15:54:20 +0200 (Tue, 24 Jul 2007) | 3 lines
        
        Always generate a Connection: header, in case the client makes an incorrect
        assumption about which is the default.
      ........
        r1751 | des | 2007-07-24 15:56:44 +0200 (Tue, 24 Jul 2007) | 3 lines
        
        RES_BuildHttp() must be called before RES_WriteObj() to prepare the response
        headers.  This fixes #128.
      ........
        r1752 | des | 2007-07-24 16:02:20 +0200 (Tue, 24 Jul 2007) | 2 lines
        
        #131: Honor DESTDIR when creating the state directory.
      ........
        r1753 | des | 2007-07-24 16:10:28 +0200 (Tue, 24 Jul 2007) | 2 lines
        
        #130: false is spelles FALSE in curses-land.
      ........
        r1754 | des | 2007-07-24 16:25:54 +0200 (Tue, 24 Jul 2007) | 6 lines
        
        Instead of incorrectly assuming that a pthread_t can be meaningfully cast
        to an unsigned int (which triggered warnings on some 64-bit platforms) and
        printed with %08lx, incorrectly assume that it can be meaningfully cast to
        a void * and printed with %p.  While still incorrect in general terms, the
        latter turns out to be correct on the specific systems that we care about.
      ........
        r1776 | des | 2007-07-26 15:53:41 +0200 (Thu, 26 Jul 2007) | 2 lines
        
        Add change log for 1.1.1 + various prop fixes
      ........
      
      
      git-svn-id: http://www.varnish-cache.org/svn/branches/1.1@1777 d4fa192b-c00b-0410-8231-f00ffab90ce4
      50c558c2
  11. 20 Jul, 2007 2 commits