[openssl/openssl] 0ef3e1: Force Nonstop to use fcntl(F_GETFL) in BIO_sock_nbio
Neil Horman
noreply at github.com
Tue Nov 14 06:46:19 UTC 2023
Branch: refs/heads/openssl-3.2
Home: https://github.com/openssl/openssl
Commit: 0ef3e1305db3f77bb0b0702c9b45bb39d165f28a
https://github.com/openssl/openssl/commit/0ef3e1305db3f77bb0b0702c9b45bb39d165f28a
Author: Neil Horman <nhorman at openssl.org>
Date: 2023-11-14 (Tue, 14 Nov 2023)
Changed paths:
M crypto/bio/bio_sock.c
Log Message:
-----------
Force Nonstop to use fcntl(F_GETFL) in BIO_sock_nbio
In tracking down a hang, we found that nonstop platforms were falling
into the if #ifdef FIONBIO clause in the implementation of
BIO_sock_nbio. While the platform defines this macro, sockets set with
this continued to operate in blocking mode. Given that the platform
also support O_NONBLOCK, adjust the ifdef to have the nonstop platform
use that method to ensure that sockets enter blocking mode
Related-To #22588
Reviewed-by: Paul Dale <pauli at openssl.org>
Reviewed-by: Tim Hudson <tjh at openssl.org>
(Merged from https://github.com/openssl/openssl/pull/22696)
(cherry picked from commit f63e1b48ac893dd6110452e70ed08f191547cd89)
More information about the openssl-commits
mailing list