1. 12 May, 2011 2 commits
    • Anthony Martin's avatar
      make: add nuke target for C commands and libs · fbb4be32
      Anthony Martin authored
      Also, clean *.out files for commands written in Go.
      
      R=golang-dev, rsc
      CC=golang-dev
      https://golang.org/cl/4535051
      fbb4be32
    • Brad Fitzpatrick's avatar
      http: fix two Transport gzip+persist crashes · fa23a700
      Brad Fitzpatrick authored
      There were a couple issues:
      
      -- HEAD requests were attempting to be ungzipped,
         despite having no content.  That was fixed in
         the previous patch version, but ultimately was
         fixed as a result of other refactoring:
      
      -- persist.go's ClientConn "lastbody" field was
         remembering the wrong body, since we were
         mucking with it later. Instead, ditch
         ClientConn's readRes func field and add a new
         method passing it in, so we can use a closure
         and do all our bodyEOFSignal + gunzip stuff
         in one place, simplifying a lot of code and
         not requiring messing with ClientConn's innards.
      
      -- closing the gzip reader didn't consume its
         contents.  if the caller wasn't done reading
         all the response body and ClientConn closed it
         (thinking it'd move past those bytes in the
         TCP stream), it actually wouldn't.  so introduce
         a new wrapper just for gzip reader to have its
         Close method do an ioutil.Discard on its body
         first, before the close.
      
      Fixes #1725
      Fixes #1804
      
      R=rsc, eivind
      CC=golang-dev
      https://golang.org/cl/4523058
      fa23a700
  2. 11 May, 2011 10 commits
  3. 10 May, 2011 4 commits
  4. 09 May, 2011 4 commits
  5. 08 May, 2011 6 commits
  6. 07 May, 2011 2 commits
  7. 06 May, 2011 5 commits
  8. 05 May, 2011 6 commits
  9. 04 May, 2011 1 commit