Drop Puma workaround.
This is considered as Puma issue which should be addressed in latest release: https://github.com/puma/puma/issues/2753
This commit is contained in:
parent
2da7a540e7
commit
a51a61214c
@ -1,16 +0,0 @@
|
|||||||
diff --git a/ext/openssl/ossl_ssl.c b/ext/openssl/ossl_ssl.c
|
|
||||||
index 3b425ca..40e748c 100644
|
|
||||||
--- a/ext/openssl/ossl_ssl.c
|
|
||||||
+++ b/ext/openssl/ossl_ssl.c
|
|
||||||
@@ -1870,6 +1870,11 @@ ossl_ssl_read_internal(int argc, VALUE *argv, VALUE self, int nonblock)
|
|
||||||
return str;
|
|
||||||
|
|
||||||
GetSSL(self, ssl);
|
|
||||||
+
|
|
||||||
+#ifdef SSL_OP_IGNORE_UNEXPECTED_EOF
|
|
||||||
+ SSL_set_options(ssl, SSL_OP_IGNORE_UNEXPECTED_EOF);
|
|
||||||
+#endif
|
|
||||||
+
|
|
||||||
io = rb_attr_get(self, id_i_io);
|
|
||||||
GetOpenFile(io, fptr);
|
|
||||||
if (ssl_started(ssl)) {
|
|
@ -250,9 +250,6 @@ Patch57: rubygems-3.3.1-Fix-compatibility-with-OpenSSL3.0.patch
|
|||||||
# Miscellaneous changes for OpenSSL 3.0 support.
|
# Miscellaneous changes for OpenSSL 3.0 support.
|
||||||
# https://github.com/ruby/openssl/pull/481
|
# https://github.com/ruby/openssl/pull/481
|
||||||
Patch58: ruby-3.1.0-Miscellaneous-changes-for-OpenSSL-3.0-support-part-2.patch
|
Patch58: ruby-3.1.0-Miscellaneous-changes-for-OpenSSL-3.0-support-part-2.patch
|
||||||
# Fix `TestPumaControlCli#test_control_ssl` testcase in Puma.
|
|
||||||
# https://github.com/ruby/openssl/pull/399#issuecomment-966239736
|
|
||||||
Patch59: ruby-3.1.0-SSL_read-EOF-handling.patch
|
|
||||||
|
|
||||||
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
|
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
|
||||||
Suggests: rubypick
|
Suggests: rubypick
|
||||||
@ -726,7 +723,6 @@ rm -rf ext/fiddle/libffi*
|
|||||||
%patch56 -p1
|
%patch56 -p1
|
||||||
%patch57 -p1
|
%patch57 -p1
|
||||||
%patch58 -p1
|
%patch58 -p1
|
||||||
%patch59 -p1
|
|
||||||
|
|
||||||
# Provide an example of usage of the tapset:
|
# Provide an example of usage of the tapset:
|
||||||
cp -a %{SOURCE3} .
|
cp -a %{SOURCE3} .
|
||||||
|
Loading…
Reference in New Issue
Block a user