Bug#908918: connect(): Resource temporarily unavailable
Package: tsocks
Version: 1.8beta5+ds1-1
Severity: normal
Dear Maintainer,
The libtsocks' connect() function may return with EWOULDBLOCK error if the socket is non-blocking and a connection attempt is in progress. However, the manual page for connect() says that EALREADY is to be returned in that case. Please change the connect() function to return EALREADY instead of EWOULDBLOCK.
-- System Information:
Debian Release: 9.2
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 4.9.0-5-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8), LANGUAGE=en_US:en (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages tsocks depends on:
ii libc6 2.24-11+deb9u3
tsocks recommends no packages.
tsocks suggests no packages.
-- Configuration Files:
/etc/tsocks.conf changed [not included]
-- no debconf information
Reply to: