1. 08 May, 2015 1 commit
  2. 29 Apr, 2015 1 commit
    • Robert Stepanek's avatar
      webdav: Add PROPPATCH support to in-memory property system. · a8c61998
      Robert Stepanek authored
      This CL adds support to store arbitrary WebDAV properties in the
      in-memory property system reference implementation. It covers the
      the majority of property related litmus test cases. However, this CL
      does not add support for COPY/MOVE/DELETE requests to the PropSystem
      interface or implementation; memory occupied by dead properties of
      affected resources will not be released. I propose to first agree on
      how to store and lock dead properties in this CL and add support for
      COPY/MOVE/DELETE in a follow-up change.
      
      Before: Coverage of litmus 'props' test suite
      16 tests were skipped, 14 tests run. 10 passed, 4 failed. 71.4%
      
      After: Coverage of litmus 'props' test suite
      0  tests were skipped, 30 tests run. 28 passed, 2 failed. 93.3%
      
      Change-Id: Ie9af665fc588332ed30c7de256f47f8405078db3
      Reviewed-on: https://go-review.googlesource.com/9374Reviewed-by: 's avatarNigel Tao <nigeltao@golang.org>
      a8c61998
  3. 24 Apr, 2015 1 commit
  4. 23 Apr, 2015 1 commit
  5. 22 Apr, 2015 1 commit
  6. 20 Apr, 2015 1 commit
    • Robert Stepanek's avatar
      webdav: Add XML and HTTP handler support for PROPPATCH. · 169f4226
      Robert Stepanek authored
      This change adds support to parse and handle PROPPATCH requests. It adds the
      Patch method to the PropSystem interface. In order to keep this CL small,
      it does not add support to set "dead" DAV properties. Instead, any patched
      property is reported with HTTP status code 403 Forbidden. Once this CL is
      accepted, I will submit a CL to store dead DAV properties in-memory. The
      litmus test coverage of the 'props' test suite remains as-is:
      
      16 tests were skipped, 14 tests run. 10 passed, 4 failed. 71.4%
      
      Change-Id: I14a25464e94b3316c16976f79b4457bf646d0d24
      Reviewed-on: https://go-review.googlesource.com/8937Reviewed-by: 's avatarNigel Tao <nigeltao@golang.org>
      169f4226
  7. 09 Apr, 2015 1 commit
    • Robert Stepanek's avatar
      webdav: add support for (custom) ETags and Content-Type. · 84ba27dd
      Robert Stepanek authored
      This change adds ETag headers to GET/HEAD/POST and PUT responses. It does
      not update the existing If-header request handling. The ETag header and
      DAV property value can be overriden by implementing a custom property
      system. A similar scheme is provided for Content-Type.
      
      This CL makes net/webdav pass three more litmus ‘locks’ test cases
      successfully.
      
      Before: Summary for `locks': of 30 tests run: 27 passed, 3 failed. 90.0%
      After:  Summary for `locks': of 34 tests run: 30 passed, 4 failed. 88.2%
      
      Change-Id: I5102b9ac18d20844deaaa630b62cc3611b3f0740
      Reviewed-on: https://go-review.googlesource.com/4903Reviewed-by: 's avatarNigel Tao <nigeltao@golang.org>
      84ba27dd
  8. 03 Apr, 2015 1 commit
  9. 20 Mar, 2015 3 commits
  10. 18 Mar, 2015 1 commit
  11. 15 Mar, 2015 2 commits
  12. 14 Mar, 2015 3 commits
  13. 04 Mar, 2015 1 commit
  14. 03 Mar, 2015 1 commit
  15. 20 Feb, 2015 1 commit
  16. 18 Feb, 2015 1 commit
  17. 12 Feb, 2015 1 commit
    • Bryan C. Mills's avatar
      net/context: Don't leak goroutines in Done example. · 59b0df9b
      Bryan C. Mills authored
      The current example leaks the DoSomethingSlow goroutine for an
      arbitrarily long time.  In a real server, that can lead to an
      out-of-memory failure during events such as network outages; a
      more careful version of that example would be too long for a
      simple package doc.
      
      Fortunately, there are other short, common patterns using Done
      that don't leak and don't require a lot of explanation.  Let's
      use one of those instead.
      
      Change-Id: I0ad0c6121d06b757a397e0e71be9e01ccfd75f77
      Reviewed-on: https://go-review.googlesource.com/4490Reviewed-by: 's avatarAndrew Gerrand <adg@golang.org>
      59b0df9b
  18. 10 Feb, 2015 3 commits
  19. 09 Feb, 2015 1 commit
  20. 06 Feb, 2015 4 commits
  21. 04 Feb, 2015 4 commits
  22. 02 Feb, 2015 2 commits
  23. 01 Feb, 2015 1 commit
  24. 30 Jan, 2015 3 commits