Project

General

Profile

This project is closed and read-only.

Actions

Backport #8267

closed

Please backport r40304 to avoid invalid SSL_shutdown()

Backport #8267: Please backport r40304 to avoid invalid SSL_shutdown()

Added by shugo (Shugo Maeda) over 13 years ago. Updated over 13 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)Actions

Updated by znz (Kazuhiro NISHIYAMA) over 13 years ago Actions #1 [ruby-dev:47266]

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

Updated by usa (Usaku NAKAMURA) over 13 years ago Actions #2

  • 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: PDF Atom