Permalink
Commits on Aug 11, 2006
  1. This is what was released as varnish-0.9.1.

    git-svn-id: http://www.varnish-cache.org/svn/tags/varnish-0.9.1@806 d4fa192b-c00b-0410-8231-f00ffab90ce4
    dag-erling committed Aug 11, 2006
  2. Merge from trunk and bump version to 0.9.1.

    git-svn-id: http://www.varnish-cache.org/svn/branches/0.9/varnish-cache@805 d4fa192b-c00b-0410-8231-f00ffab90ce4
    dag-erling committed Aug 11, 2006
Commits on Aug 10, 2006
  1. Regenerate

    git-svn-id: http://www.varnish-cache.org/svn/branches/0.9/varnish-cache@787 d4fa192b-c00b-0410-8231-f00ffab90ce4
    dag-erling committed Aug 10, 2006
  2. Fork 0.9.

    git-svn-id: http://www.varnish-cache.org/svn/branches/0.9/varnish-cache@786 d4fa192b-c00b-0410-8231-f00ffab90ce4
    dag-erling committed Aug 10, 2006
  3. Rewrite pass_chunked().

    git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@785 d4fa192b-c00b-0410-8231-f00ffab90ce4
    dag-erling committed Aug 10, 2006
  4. Got the requesttime right this time.

    I am noticing free()'s that are freeing empty variables/pointers. Have to find where is happens.
    Also noticing IP adresses not set correctly.
    
    Still load of debugcode.
    
    
    git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@784 d4fa192b-c00b-0410-8231-f00ffab90ce4
    andersb73 committed Aug 10, 2006
  5. Updated to work with new inner workings (ReqStart, ReqEnd, sbuf repla…

    …cement etc).
    
    Code now compiles.
    
    
    git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@783 d4fa192b-c00b-0410-8231-f00ffab90ce4
    andersb73 committed Aug 10, 2006
  6. Added some more meat to the program. Loads of debug code still on.

    Next step is to add the correct time. It's a bit tricky, and I haven't gotten it right just yet.
    
    
    
    git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@781 d4fa192b-c00b-0410-8231-f00ffab90ce4
    andersb73 committed Aug 10, 2006
Commits on Aug 9, 2006
  1. Add an epoll()-based acceptor for Linux 2.6. Simple empirical tests i…

    …ndicate
    
    that epoll() performs significantly better than poll() (less CPU usage).
    
    git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@780 d4fa192b-c00b-0410-8231-f00ffab90ce4
    dag-erling committed Aug 9, 2006
  2. Add support for using separate backends for separate virtual hosts:

     - remove the obj.backend variable, which is not connected to anything.
     - define a req.backend variable and implement l/r functions for it
     - complete / correct support for setting / comparing backend values
    
    git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@778 d4fa192b-c00b-0410-8231-f00ffab90ce4
    dag-erling committed Aug 9, 2006
  3. Cosmetic: redefine HTTP_HDR_* as an enum and rename MAX_HTTP_HDRS to

    HTTP_HDR_MAX.
    
    git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@777 d4fa192b-c00b-0410-8231-f00ffab90ce4
    dag-erling committed Aug 9, 2006
  4. Rewrite open_tcp(): use only one listening socket. Try for a combined

    IPv6 / IPv4 socket; if IPv6 is not available, fall back to an IPv4 socket.
    
    git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@776 d4fa192b-c00b-0410-8231-f00ffab90ce4
    dag-erling committed Aug 9, 2006
Commits on Aug 8, 2006
  1. While FreeBSD defaults to MAP_SHARED, Linux requires either MAP_SHARE…

    …D or
    
    MAP_PRIVATE to be specified.  Do so.
    
    git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@775 d4fa192b-c00b-0410-8231-f00ffab90ce4
    dag-erling committed Aug 8, 2006
  2. Add a setproctitle() stub to libcompat.

    git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@773 d4fa192b-c00b-0410-8231-f00ffab90ce4
    dag-erling committed Aug 8, 2006
  3. #include "compat/srandomdev.h" for srandomdev()

    git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@772 d4fa192b-c00b-0410-8231-f00ffab90ce4
    dag-erling committed Aug 8, 2006
  4. Expand keywords.

    git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@771 d4fa192b-c00b-0410-8231-f00ffab90ce4
    dag-erling committed Aug 8, 2006
  5. #include <sys/vfs.h> for fstatfs if it is available.

    git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@770 d4fa192b-c00b-0410-8231-f00ffab90ce4
    dag-erling committed Aug 8, 2006
  6. Now that we define _GNU_SOURCE, the asprintf() / vasprintf() hack is no

    longer required.
    
    git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@769 d4fa192b-c00b-0410-8231-f00ffab90ce4
    dag-erling committed Aug 8, 2006
  7. Defining _GNU_SOURCE gives us native asprintf() and strptime() on glibc

    systems, and has no effect on FreeBSD.
    
    git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@768 d4fa192b-c00b-0410-8231-f00ffab90ce4
    dag-erling committed Aug 8, 2006
  8. The correct header for poll() is <poll.h>, not <sys/poll.h> like the …

    …Linux
    
    man page says (poll() is an XSI extension in SUSv[23])
    
    git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@765 d4fa192b-c00b-0410-8231-f00ffab90ce4
    dag-erling committed Aug 8, 2006
  9. #include "libvarnish.h" for varnish_version().

    git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@763 d4fa192b-c00b-0410-8231-f00ffab90ce4
    dag-erling committed Aug 8, 2006
  10. Add back sendfile support (under #ifdef HAVE_SENDFILE) but don't engage

    it for small objects on the suspicion that it has highish setup cost.
    
    
    git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@762 d4fa192b-c00b-0410-8231-f00ffab90ce4
    bsdphk committed Aug 8, 2006
  11. Split compat.h into one header per function to avoid issues with e.g.…

    … the
    
    vasprintf() prototype needing <stdarg.h> even when it isn't used.
    
    git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@761 d4fa192b-c00b-0410-8231-f00ffab90ce4
    dag-erling committed Aug 8, 2006
  12. varnish{ncsa,stat} also need librt.

    git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@760 d4fa192b-c00b-0410-8231-f00ffab90ce4
    dag-erling committed Aug 8, 2006
  13. Attempt to detect the availability of RSA's MD5 implementation, and the

    need to link against libmd to get it.
    Attempt to detect the need for linking against librt to get clock_gettime().
    
    git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@759 d4fa192b-c00b-0410-8231-f00ffab90ce4
    dag-erling committed Aug 8, 2006
  14. Fix braino

    git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@758 d4fa192b-c00b-0410-8231-f00ffab90ce4
    bsdphk committed Aug 8, 2006
  15. Default to 4096 buckets and 256 mutexes

    git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@757 d4fa192b-c00b-0410-8231-f00ffab90ce4
    bsdphk committed Aug 8, 2006
  16. Use crc32 hash by default, MD5 is a compile time option

    git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@756 d4fa192b-c00b-0410-8231-f00ffab90ce4
    bsdphk committed Aug 8, 2006
  17. lbv_assert never returns

    git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@755 d4fa192b-c00b-0410-8231-f00ffab90ce4
    bsdphk committed Aug 8, 2006