Home GnuPG

Implement timeout in assuan_sock_connect_byname.

Description

Implement timeout in assuan_sock_connect_byname.

* src/assuan-socket.c (socks5_connect): Add new argument TIMEOUT in
milliseconds.
(_assuan_sock_connect): Follow the change.
(_assuan_sock_connect_byname): Fourth argument is now TIMEOUT.
(assuan_sock_connect_byname): Likewise.
  • GnuPG-bug-id: T3302
  • Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>

Details

Provenance
gniibeAuthored on May 8 2023, 4:14 AM
Parents
rA3d8195ebc5e3: build: Update gpg-error.m4.
Branches
Unknown
Tags
Unknown
Tasks
T3302: Allow non-blocking connect with Tor