A connection to link local address requires the scope ID to be set (e.g. 4 in https://[fe80::abcd:1234:abcd:1234%4]) in the struct sockaddr_in6. However, the symbol HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID is not defined in the curl-sys crate, and the scope_id field is always set to 0.
A connection to link local address requires the scope ID to be set (e.g. 4 in https://[fe80::abcd:1234:abcd:1234%4]) in the
struct sockaddr_in6
. However, the symbolHAVE_SOCKADDR_IN6_SIN6_SCOPE_ID
is not defined in thecurl-sys
crate, and thescope_id
field is always set to 0.See
cf-socket.c
->socket_open(..)
: