1. 28 Jan, 2013 5 commits
  2. 27 Jan, 2013 1 commit
    • Ian Lance Taylor's avatar
      runtime: use new CNT_MASK in lfstack · e65c0a82
      Ian Lance Taylor authored
      This is for SPARC64, a 64-bit processor that uses all 64-bits
      of virtual addresses.  The idea is to use the low order 3 bits
      to at least get a small ABA counter.  That should work since
      pointers are aligned.  The idea is for SPARC64 to set CNT_MASK
      == 7, PTR_BITS == 0, PTR_MASK == 0xffffffffffffff8.
      
      Also add uintptr casts to avoid GCC warnings.  The gccgo
      runtime code is compiled with GCC, and GCC warns when casting
      between a pointer and a type of a different size.
      
      R=dvyukov
      CC=golang-dev
      https://golang.org/cl/7225043
      e65c0a82
  3. 26 Jan, 2013 3 commits
  4. 25 Jan, 2013 2 commits
    • Brad Fitzpatrick's avatar
      CONTRIBUTORS: add Carl Shapiro's golang.org address · 5a49acc7
      Brad Fitzpatrick authored
      R=golang-dev, dsymonds
      CC=golang-dev
      https://golang.org/cl/7220046
      5a49acc7
    • John Graham-Cumming's avatar
      net/http: fix Content-Length/Transfer-Encoding on HEAD requests · 3c77b896
      John Graham-Cumming authored
      net/http currently assumes that the response to a HEAD request
          will always have a Content-Length header. This is incorrect.
      
      RFC2616 says: "The HEAD method is identical to GET except that
      the server MUST NOT return a message-body in the response. The
      metainformation contained in the HTTP headers in response to a
      HEAD request SHOULD be identical to the information sent in
      response to a GET request. This method can be used for
      obtaining metainformation about the entity implied by the
      request without transferring the entity-body itself. This
      method is often used for testing hypertext links for validity,
      accessibility, and recent modification."
      
      This means that three cases are possible: a Content-Length
      header, a Transfer-Encoding header or neither. In the wild the
      following sites exhibit these behaviours (curl -I):
      
      HEAD on http://www.google.co.uk/ has Transfer-Encoding: chunked
      HEAD on http://www.bbc.co.uk/    has Content-Length: 45247
      HEAD on http://edition.cnn.com/  has neither header
      
      This patch does not remove the ErrMissingContentLength error
      for compatibility reasons, but it is no longer used.
      
      R=golang-dev, bradfitz
      CC=golang-dev
      https://golang.org/cl/7182045
      3c77b896
  5. 24 Jan, 2013 9 commits
  6. 23 Jan, 2013 14 commits
  7. 22 Jan, 2013 6 commits