1. 05 Oct, 2017 2 commits
    • Timo Teräs's avatar
      libfetch: remove unwanted code conditionals · 531fea4c
      Timo Teräs authored
    • Timo Teräs's avatar
      import libfetch-2.38 from NetBSD · 9dc6278c
      Timo Teräs authored
      libfetch comes (at least) in netbsd and freebsd flavors which
      differing functionality. Alpine and Arch package netbsd one,
      but it's not widely packaged across other distributions.
      We need NetBSD version as it does not use funopen(3) which is not
      supported in musl, and supports connection pooling.
      FreeBSD seems to be the orignal and better maintained version
      with support for SSL CAs, client certificate authentication,
      proxy authentication, and improved http redirect handling.
      So this imports NetBSD version, and future commits will pick up
      the needed improvements from FreeBSD tree.
      Incidentally, this also fixes #7857 and likes for good.