diff options
author | Ludovic Courtès <ludo@gnu.org> | 2012-12-17 00:27:00 +0100 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2012-12-17 00:27:00 +0100 |
commit | b9d724982d01899ca09b02f889e7207e06a43803 (patch) | |
tree | 2e4303260e92a8b1683939c39ef0c8552d261498 /libguile/simpos.c | |
parent | 21982d68ab11580cbe35dee2f98334e09545fd93 (diff) | |
download | guile-b9d724982d01899ca09b02f889e7207e06a43803.tar.gz |
web: Correctly detect "No route to host" conditions.
* module/web/client.scm (open-socket-for-uri): Delete addrinfos
with the same address. Always open SOCK_STREAM/IPPROTO_IP sockets.
Fix the error handler's condition to determine what to do.
Reported by Nikita Karetnikov <nikita.karetnikov@gmail.com> at
<http://lists.gnu.org/archive/html/bug-guix/2012-12/msg00150.html>.
Diffstat (limited to 'libguile/simpos.c')
0 files changed, 0 insertions, 0 deletions