[openssl/openssl] f63e1b: 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/master
Home: https://github.com/openssl/openssl
Commit: f63e1b48ac893dd6110452e70ed08f191547cd89
https://github.com/openssl/openssl/commit/f63e1b48ac893dd6110452e70ed08f191547cd89
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)
More information about the openssl-commits
mailing list