Backport #8267

Please backport r40304 to avoid invalid SSL_shutdown()

Added by Shugo Maeda about 1 year ago. Updated 11 months ago.

[ruby-dev:47264]
Status:Closed
Priority:Normal
Assignee:Usaku NAKAMURA

Description

Please backport r40304 to avoid invalid SSL_shutdown().
See #8240 for details.


Related issues

Related to Backport200 - Backport #8240: SSLSocket breaks other connections or files on GC Closed 04/09/2013

Associated revisions

Revision 40717
Added by Usaku NAKAMURA 12 months ago

merge revision(s) 40304: [Backport #8267]

* ext/openssl/ossl_ssl.c: Correct shutdown behavior w.r.t GC.

* test/openssl/test_ssl.rb: Add tests to verify correct behavior.
[Bug #8240] Patch provided by Shugo Maeda. Thanks!

History

#1 Updated by Kazuhiro NISHIYAMA about 1 year ago

  • Subject changed from Please backport r40304 to avoid invalid SSH_shutdown() to Please backport r40304 to avoid invalid SSL_shutdown()
  • Description updated (diff)

#2 Updated by Usaku NAKAMURA 11 months ago

  • Status changed from Assigned to Closed
  • % Done changed from 0 to 100

This issue was solved with changeset r40717.
Shugo, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.


merge revision(s) 40304: [Backport #8267]

* ext/openssl/ossl_ssl.c: Correct shutdown behavior w.r.t GC.

* test/openssl/test_ssl.rb: Add tests to verify correct behavior.
[Bug #8240] Patch provided by Shugo Maeda. Thanks!

Also available in: Atom PDF