Project

General

Profile

Actions

Backport #8267

closed

Please backport r40304 to avoid invalid SSL_shutdown()

Added by shugo (Shugo Maeda) about 11 years ago. Updated almost 11 years ago.

Status:
Closed
[ruby-dev:47264]

Description

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


Related issues 1 (0 open1 closed)

Related to Backport200 - Backport #8240: SSLSocket breaks other connections or files on GCClosednagachika (Tomoyuki Chikanaga)04/09/2013Actions

Updated by znz (Kazuhiro NISHIYAMA) about 11 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)
Actions #2

Updated by usa (Usaku NAKAMURA) almost 11 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!
Actions

Also available in: Atom PDF

Like0
Like0Like0