mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-12 06:06:53 -05:00
store: Pass a socket type hint to 'getaddrinfo'.
* guix/store.scm (open-inet-socket): Pass hints in the 'getaddrinfo' call.
This commit is contained in:
parent
ace6cc12d3
commit
7ae97a4c3f
1 changed files with 3 additions and 1 deletions
|
@ -399,7 +399,9 @@ (define addresses
|
||||||
(if (number? port) (number->string port) port)
|
(if (number? port) (number->string port) port)
|
||||||
(if (number? port)
|
(if (number? port)
|
||||||
(logior AI_ADDRCONFIG AI_NUMERICSERV)
|
(logior AI_ADDRCONFIG AI_NUMERICSERV)
|
||||||
AI_ADDRCONFIG)))
|
AI_ADDRCONFIG)
|
||||||
|
0 ;any address family
|
||||||
|
SOCK_STREAM)) ;TCP only
|
||||||
|
|
||||||
(let loop ((addresses addresses))
|
(let loop ((addresses addresses))
|
||||||
(match addresses
|
(match addresses
|
||||||
|
|
Loading…
Reference in a new issue