summaryrefslogtreecommitdiff
path: root/distro
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2012-10-18 22:21:26 +0200
committerLudovic Courtès <ludo@gnu.org>2012-10-18 22:32:23 +0200
commitd14ecda913be98151f9c92f5f35e88cdb3457580 (patch)
treec0f1a952c98185711eabbdae59a26577a96d9390 /distro
parent1c3972daa823ae6f669f6668b236250eec6aa324 (diff)
downloadguix-patches-d14ecda913be98151f9c92f5f35e88cdb3457580.tar
guix-patches-d14ecda913be98151f9c92f5f35e88cdb3457580.tar.gz
http/ftp: Tweak to avoid depending on libc's NSS.
* guix/build/http.scm (open-connection-for-uri): New procedure. (http-fetch): Use it. Pass the result as a #:port argument to `http-get'. Add hack to modify the `set-port-encoding!' binding in (web response). * guix/ftp-client.scm (ftp-open): Add optional `port' parameter, defaulting to 21. When calling `getaddrinfo', convert PORT to a string and pass AI_NUMERICSERV when PORT is a number.
Diffstat (limited to 'distro')
0 files changed, 0 insertions, 0 deletions