• Dag Erling Smørgrav's avatar
    Merged revisions 1967-1968,1970,1984,1986-1989,1992-1993,1995-1998 via svnmerge from · 7d034f34
    Dag Erling Smørgrav authored
    svn+ssh://projects.linpro.no/svn/varnish/trunk/varnish-cache
    
    ........
      r1967 | phk | 2007-09-20 10:44:59 +0200 (Thu, 20 Sep 2007) | 2 lines
      
      Add a http_GetProto() function
    ........
      r1968 | phk | 2007-09-20 10:46:25 +0200 (Thu, 20 Sep 2007) | 8 lines
      
      After we moved pass to use the same code as fetch, we have run into
      a unnecessary connection timeout wait when the returned object does
      not have a body.
      
      Rework the "does this response have a body" logic to be more in line
      with the RFC.
    ........
      r1970 | phk | 2007-09-20 12:44:18 +0200 (Thu, 20 Sep 2007) | 4 lines
      
      Fix a brain-o in my last commit.  "cls" is a flag for closing the fd,
      not for generating Content-Length: header.
    ........
      r1997 | phk | 2007-09-23 15:46:43 +0200 (Sun, 23 Sep 2007) | 6 lines
      
      Fix another cornercase that fell out as part of the pass->fetch rewrite:
      
      If we pass a HEAD request, we should not rewrite it to GET and not expect
      a body either.
    ........
      r1998 | des | 2007-09-23 16:19:42 +0200 (Sun, 23 Sep 2007) | 2 lines
      
      Reverse the logic in r1997 from !is_get to is_head.
    ........
    
    
    git-svn-id: http://www.varnish-cache.org/svn/branches/1.1@1999 d4fa192b-c00b-0410-8231-f00ffab90ce4
    7d034f34
cache_http.c 22.3 KB