mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-30 23:53:32 +01:00
note a bug in our tor_socketpair implementation
can somebody fix this or create a flyspray entry for it? svn:r4483
This commit is contained in:
parent
e64b016b55
commit
09e87f452d
@ -291,6 +291,10 @@ set_socket_nonblocking(int socket)
|
|||||||
* stack is down). And even if it succeeds, the socket pair will not
|
* stack is down). And even if it succeeds, the socket pair will not
|
||||||
* be able to read while localhost is down later (the socket pair may
|
* be able to read while localhost is down later (the socket pair may
|
||||||
* even close, depending on OS-specific timeouts).
|
* even close, depending on OS-specific timeouts).
|
||||||
|
*
|
||||||
|
* XXX Bug: this function assumes errno is how you report errors, but
|
||||||
|
* that isn't the case for Windows, which is where it's most likely
|
||||||
|
* to be called.
|
||||||
**/
|
**/
|
||||||
int
|
int
|
||||||
tor_socketpair(int family, int type, int protocol, int fd[2])
|
tor_socketpair(int family, int type, int protocol, int fd[2])
|
||||||
|
Loading…
Reference in New Issue
Block a user