diff options
author | Kazuki Yamaguchi <k@rhe.jp> | 2018-10-22 10:26:33 +0900 |
---|---|---|
committer | Kazuki Yamaguchi <k@rhe.jp> | 2020-08-12 20:26:03 +0900 |
commit | 2e700c80bfab1b2668174a207588301cbfbdcd3d (patch) | |
tree | 4e79cd44c341b12bd7dc81171638f15fa8a6a74f /tool | |
parent | ad24cc35e8819041195401c09d73d6c71898ec73 (diff) | |
download | ruby-openssl-ky/ssl-macos-send-eprototype.tar.gz |
ssl: retry write on EPROTOTYPE on macOSky/ssl-macos-send-eprototype
Errno::EPROTOTYPE is not supposed to be raised by SSLSocket#write.
However, on macOS, send(2) which is called via SSL_write() can
occasionally return EPROTOTYPE. Retry SSL_write() so that we get a
proper error, just as ext/socket does.
Reference: https://bugs.ruby-lang.org/issues/14713
Reference: https://github.com/ruby/openssl/issues/227
Diffstat (limited to 'tool')
0 files changed, 0 insertions, 0 deletions