An error occurred fetching the project authors.
  1. 30 Jul, 2012 1 commit
  2. 03 Jul, 2012 1 commit
  3. 02 Jul, 2012 1 commit
  4. 04 Jun, 2012 1 commit
  5. 29 May, 2012 1 commit
  6. 23 May, 2012 1 commit
  7. 22 May, 2012 3 commits
  8. 25 Apr, 2012 1 commit
    • Gustavo Niemeyer's avatar
      net/http: revert 97d027b3aa68 · 733b51d9
      Gustavo Niemeyer authored
      Revert the following change set:
      
              changeset:   13018:97d027b3aa68
              user:        Gustavo Niemeyer <gustavo@niemeyer.net>
              date:        Mon Apr 23 22:00:16 2012 -0300
              summary:     net/http: allow clients to disable keep-alive
      
      This broke a test on Windows 64 and somebody else
      will have to check.
      
      R=golang-dev, r
      CC=golang-dev
      https://golang.org/cl/6112054
      733b51d9
  9. 24 Apr, 2012 1 commit
  10. 22 Feb, 2012 1 commit
  11. 06 Feb, 2012 1 commit
  12. 19 Jan, 2012 2 commits
    • Brad Fitzpatrick's avatar
      net/http: log handler panic before closing HTTP connection · bb7eca17
      Brad Fitzpatrick authored
      Fix originally from rogpeppe in 5414048 but was rolled
      back due to test breakage.
      
      This CL makes the test more robust to order of operations.
      
      Fixes #2480 again.
      
      R=golang-dev, gri
      CC=golang-dev
      https://golang.org/cl/5536072
      bb7eca17
    • Brad Fitzpatrick's avatar
      net: change SetTimeout to SetDeadline · b71883e9
      Brad Fitzpatrick authored
      Previously, a timeout (in int64 nanoseconds) applied to a granularity
      even smaller than one operation:  a 100 byte read with a 1 second timeout
      could take 100 seconds, if the bytes all arrived on the network 1 second
      apart.  This was confusing.
      
      Rather than making the timeout granularity be per-Read/Write,
      this CL makes callers set an absolute deadline (in time.Time)
      after which operations will fail.  This makes it possible to
      set deadlines at higher levels, without knowing exactly how
      many read/write operations will happen in e.g. reading an HTTP
      request.
      
      Fixes #2723
      
      R=r, rsc, dave
      CC=golang-dev
      https://golang.org/cl/5555048
      b71883e9
  13. 17 Jan, 2012 1 commit
    • Gustavo Niemeyer's avatar
      net/url: cleaned up URL interface (v2) · dafd9f0b
      Gustavo Niemeyer authored
      Duplicated fields from URL were dropped so that its behavior
      is simple and expected when being stringified and when being
      operated by packages like http. Most of the preserved fields
      are in unencoded form, except for RawQuery which continues to
      exist and be more easily handled via url.Query().
      
      The RawUserinfo field was also replaced since it wasn't practical
      to use and had limitations when operating with empty usernames
      and passwords which are allowed by the RFC. In its place the
      Userinfo type was introduced and made accessible through the
      url.User and url.UserPassword functions.
      
      What was previous built as:
      
              url.URL{RawUserinfo: url.EncodeUserinfo("user", ""), ...}
      
      Is now built as:
      
              url.URL{User: url.User("user"), ...}
      
      R=rsc, bradfitz, gustavo
      CC=golang-dev
      https://golang.org/cl/5498076
      dafd9f0b
  14. 20 Dec, 2011 1 commit
  15. 12 Dec, 2011 1 commit
  16. 08 Dec, 2011 1 commit
  17. 30 Nov, 2011 1 commit
  18. 14 Nov, 2011 1 commit
    • Russ Cox's avatar
      syscall: use error · c017a829
      Russ Cox authored
      - syscall (not os) now defines the Errno type.
      - the low-level assembly functions Syscall, Syscall6, and so on
        return Errno, not uintptr
      - syscall wrappers all return error, not uintptr.
      
      R=golang-dev, mikioh.mikioh, r, alex.brainman
      CC=golang-dev
      https://golang.org/cl/5372080
      c017a829
  19. 09 Nov, 2011 1 commit
  20. 08 Nov, 2011 1 commit
  21. 03 Nov, 2011 3 commits
  22. 02 Nov, 2011 1 commit
  23. 18 Oct, 2011 2 commits
  24. 15 Oct, 2011 1 commit
    • Brad Fitzpatrick's avatar
      http: DoS protection: cap non-Handler Request.Body reads · 5079129d
      Brad Fitzpatrick authored
      Previously, if an http.Handler didn't fully consume a
      Request.Body before returning and the request and the response
      from the handler indicated no reason to close the connection,
      the server would read an unbounded amount of the request's
      unread body to advance past the request message to find the
      next request's header. That was a potential DoS.
      
      With this CL there's a threshold under which we read
      (currently 256KB) in order to keep the connection in
      keep-alive mode, but once we hit that, we instead
      switch into a "Connection: close" response and don't
      read the request body.
      
      Fixes #2093 (along with number of earlier CLs)
      
      R=golang-dev, dsymonds
      CC=golang-dev
      https://golang.org/cl/5268043
      5079129d
  25. 13 Oct, 2011 1 commit
  26. 10 Oct, 2011 1 commit
  27. 28 Sep, 2011 1 commit
  28. 21 Sep, 2011 1 commit
  29. 20 Sep, 2011 1 commit
  30. 25 Aug, 2011 1 commit
  31. 24 Aug, 2011 1 commit
  32. 23 Aug, 2011 1 commit
    • Brad Fitzpatrick's avatar
      http: add MaxBytesReader to limit request body size · f0ef4f47
      Brad Fitzpatrick authored
      This adds http.MaxBytesReader, similar to io.LimitReader,
      but specific to http, and for preventing a class of DoS
      attacks.
      
      This also makes the 10MB ParseForm limit optional (if
      not already set by a MaxBytesReader), documents it,
      and also adds "PUT" as a valid verb for parsing forms
      in the request body.
      
      Improves issue 2093 (DoS protection)
      Fixes #2165 (PUT form parsing)
      
      R=golang-dev, adg
      CC=golang-dev
      https://golang.org/cl/4921049
      f0ef4f47
  33. 17 Aug, 2011 1 commit
    • Rob Pike's avatar
      url: new package · 1d8f822c
      Rob Pike authored
      This is just moving the URL code from package http into its own package,
      which has been planned for a while.
      Besides clarity, this also breaks a nascent dependency cycle the new template
      package was about to introduce.
      
      Add a gofix module, url, and use it to generate changes outside http and url.
      
      Sadness about the churn, gladness about some of the naming improvements.
      
      R=dsymonds, bradfitz, rsc, gustavo, r
      CC=golang-dev
      https://golang.org/cl/4893043
      1d8f822c
  34. 09 Aug, 2011 1 commit