You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- refs curl#10622, do not try to determine the remote address of
a listen socket. There is none.
- Update remote address of an accepted socket by getpeername()
if available.
- do not try to determine the remote address of a listen socket. There
is none.
- Update remote address of an accepted socket by getpeername() if
available.
Reported-by: Harry Sintonen
Fixes#10622Closes#10642
bch
pushed a commit
to bch/curl
that referenced
this issue
Jul 19, 2023
- do not try to determine the remote address of a listen socket. There
is none.
- Update remote address of an accepted socket by getpeername() if
available.
Reported-by: Harry Sintonen
Fixescurl#10622Closescurl#10642
I did this
curl -v --ftp-port "-" ftp://ftp.funet.fi
In output I see a bogus error:
The error is due to
set_remote_ip()
call inCurl_conn_tcp_listen_set()
with unsetctx->addr.sa_addr
. Seecurl/lib/cf-socket.c
Line 1816 in cf3e6ce
I expected the following
No superfluous errors being reported.
curl/libcurl version
curl 7.88.1 (aarch64-apple-darwin22.3.0) libcurl/7.88.1 OpenSSL/3.0.8 zlib/1.2.13 brotli/1.0.9 zstd/1.5.4 libidn2/2.3.4 libpsl/0.21.2 (+libidn2/2.3.4) nghttp2/1.52.0
Release-Date: 2023-02-20
Protocols: dict file ftp ftps gopher gophers http https imap imaps mqtt pop3 pop3s rtsp smb smbs smtp smtps telnet tftp
Features: alt-svc AsynchDNS brotli HSTS HTTP2 HTTPS-proxy IDN IPv6 Largefile libz NTLM NTLM_WB PSL SSL threadsafe TLS-SRP UnixSockets zstd
operating system
Darwin computername.local 22.3.0 Darwin Kernel Version 22.3.0: Mon Jan 30 20:38:37 PST 2023; root:xnu-8792.81.3~2/RELEASE_ARM64_T6000 arm64
The text was updated successfully, but these errors were encountered: