[phobos] [D-Programming-Language/phobos] 4a496c: fix Issue 14938 - std.net.curl tests should use lo...

GitHub via phobos phobos at puremagic.com
Sun Aug 30 00:54:39 PDT 2015


  Branch: refs/heads/master
  Home:   https://github.com/D-Programming-Language/phobos
  Commit: 4a496c848c9ab5dff49ba4887900abd6acf7c160
      https://github.com/D-Programming-Language/phobos/commit/4a496c848c9ab5dff49ba4887900abd6acf7c160
  Author: Martin Nowak <code at dawg.eu>
  Date:   2015-08-24 (Mon, 24 Aug 2015)

  Changed paths:
    M std/net/curl.d

  Log Message:
  -----------
  fix Issue 14938 - std.net.curl tests should use localhost or stub any networking

- implement test server on second thread that can be
  fed with premade responses and records the requests
- rewrite tests
- fix upload which didn't work at all


  Commit: 463d24144dfed95d61582cf49dd6329426d12c77
      https://github.com/D-Programming-Language/phobos/commit/463d24144dfed95d61582cf49dd6329426d12c77
  Author: Martin Nowak <code at dawg.eu>
  Date:   2015-08-24 (Mon, 24 Aug 2015)

  Changed paths:
    M std/net/curl.d

  Log Message:
  -----------
  fix type for content length parameter

- curl expects a 64-bit curl_off_t type
- change method from size_t to ulong
- checked conversion using to!curl_off_t
- keep testing for magic size_t.max to not
  break code


  Commit: 3e09aa89eba9cb1b67f889cd305d1d58a9f3ea6c
      https://github.com/D-Programming-Language/phobos/commit/3e09aa89eba9cb1b67f889cd305d1d58a9f3ea6c
  Author: Martin Nowak <code at dawg.eu>
  Date:   2015-08-24 (Mon, 24 Aug 2015)

  Changed paths:
    M std/net/curl.d

  Log Message:
  -----------
  turn off verbose output in test


  Commit: ced236fb99acbd86bbd69c3f098322c395cba7c8
      https://github.com/D-Programming-Language/phobos/commit/ced236fb99acbd86bbd69c3f098322c395cba7c8
  Author: Martin Nowak <code at dawg.eu>
  Date:   2015-08-24 (Mon, 24 Aug 2015)

  Changed paths:
    M std/net/curl.d

  Log Message:
  -----------
  don't clean noprogress when dupping the curl handle

- fixes the issue that byLineAsync and byChunkAsync
  currently always show the default curl progressbar


  Commit: 9fe6ebceaf36966c15ac4fe0a5bb63fcc6e5fe53
      https://github.com/D-Programming-Language/phobos/commit/9fe6ebceaf36966c15ac4fe0a5bb63fcc6e5fe53
  Author: Martin Nowak <code at dawg.eu>
  Date:   2015-08-25 (Tue, 25 Aug 2015)

  Changed paths:
    M etc/c/curl.d
    M std/net/curl.d

  Log Message:
  -----------
  fix clearIfSupported implementation

- to clear an option like ssl_ctx that depends
  on the compile-time configuration of the used
  curl library

- update CurlError enum
  obsolete4 was reused as CURLE_NOT_BUILT_IN

- unknown_telnet_option was incorrectly named
  (doesn't have anything to do with telnet)


  Commit: ed97fd15faa69f02f33e74ed2213b53440516183
      https://github.com/D-Programming-Language/phobos/commit/ed97fd15faa69f02f33e74ed2213b53440516183
  Author: Dmitry Olshansky <dmitry.olsh at gmail.com>
  Date:   2015-08-30 (Sun, 30 Aug 2015)

  Changed paths:
    M etc/c/curl.d
    M std/net/curl.d

  Log Message:
  -----------
  Merge pull request #3576 from MartinNowak/fix14938

fix Issue 14938 - std.net.curl tests should use localhost or stub any networking


Compare: https://github.com/D-Programming-Language/phobos/compare/f0bba25acab4...ed97fd15faa6


More information about the phobos mailing list