Project

General

Profile

Backport #8267

Please backport r40304 to avoid invalid SSL_shutdown()

Added by shugo (Shugo Maeda) over 6 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Normal
[ruby-dev:47264]

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 GCClosed04/09/2013Actions

Associated revisions

Revision 5db522e5
Added by usa (Usaku NAKAMURA) over 6 years 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!

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@40717 b2dd03c8-39d4-4d8f-98ff-823fe69b080e

Revision 40717
Added by usa (Usaku NAKAMURA) over 6 years 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

Updated by znz (Kazuhiro NISHIYAMA) over 6 years 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 usa (Usaku NAKAMURA) over 6 years 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