Minix doesn't support getsockopt on UDP sockets or send/recv on TCP
sockets.
This commit is contained in:
@@ -440,6 +440,13 @@ static bool verifyconnect(curl_socket_t sockfd, int *error)
|
||||
SET_SOCKERRNO(0);
|
||||
err = 0;
|
||||
}
|
||||
#endif
|
||||
#ifdef __minix
|
||||
/* Minix 3.1.x doesn't support getsockopt on UDP sockets */
|
||||
if (EBADIOCTL == err) {
|
||||
SET_SOCKERRNO(0);
|
||||
err = 0;
|
||||
}
|
||||
#endif
|
||||
if ((0 == err) || (EISCONN == err))
|
||||
/* we are connected, awesome! */
|
||||
|
||||
Reference in New Issue
Block a user