From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on dcvr.yhbt.net X-Spam-Level: X-Spam-Status: No, score=-2.6 required=3.0 tests=AWL,BAYES_00, DKIM_ADSP_CUSTOM_MED,FORGED_GMAIL_RCVD,FREEMAIL_FORGED_FROMDOMAIN, FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, RCVD_IN_DNSWL_MED,SPF_HELO_NONE,SPF_PASS,UNPARSEABLE_RELAY shortcircuit=no autolearn=no autolearn_force=no version=3.4.2 Received: from neon.ruby-lang.org (neon.ruby-lang.org [221.186.184.75]) by dcvr.yhbt.net (Postfix) with ESMTP id 0BB6D1F55B for ; Sun, 31 May 2020 16:17:16 +0000 (UTC) Received: from neon.ruby-lang.org (localhost [IPv6:::1]) by neon.ruby-lang.org (Postfix) with ESMTP id E86EB1209D2; Mon, 1 Jun 2020 01:16:45 +0900 (JST) Received: from xtrwkhkc.outbound-mail.sendgrid.net (xtrwkhkc.outbound-mail.sendgrid.net [167.89.16.28]) by neon.ruby-lang.org (Postfix) with ESMTPS id 8BB8812097C for ; Mon, 1 Jun 2020 01:16:44 +0900 (JST) Received: by filterdrecv-p3iad2-8ddf98858-7qsdm with SMTP id filterdrecv-p3iad2-8ddf98858-7qsdm-19-5ED3D883-1A 2020-05-31 16:17:07.246803604 +0000 UTC m=+5756981.929061153 Received: from herokuapp.com (unknown) by ismtpd0020p1iad2.sendgrid.net (SG) with ESMTP id GdoQMxg2QvKgu3oFKddNog for ; Sun, 31 May 2020 16:17:07.182 +0000 (UTC) Date: Sun, 31 May 2020 16:17:07 +0000 (UTC) From: eregontp@gmail.com Message-ID: References: Mime-Version: 1.0 X-Redmine-MailingListIntegration-Message-Ids: 74395 X-Redmine-Project: ruby-master X-Redmine-Issue-Tracker: Bug X-Redmine-Issue-Id: 16925 X-Redmine-Issue-Author: Eregon X-Redmine-Sender: Eregon X-Mailer: Redmine X-Redmine-Host: bugs.ruby-lang.org X-Redmine-Site: Ruby Issue Tracking System X-Auto-Response-Suppress: All Auto-Submitted: auto-generated X-SG-EID: =?us-ascii?Q?KippOI8ZHtTweq7XfQzW93937kJ4QNWwSBuHnaMEcr0kkjKFIVMaWvRz0i=2Fx2f?= =?us-ascii?Q?QpuEapQdclaEya1yWKPtYt6D8hUZpJPft2QcQ8J?= =?us-ascii?Q?BvirXymlGwvktbjhiRf5Nz4PJaxM2urvhDa5u5z?= =?us-ascii?Q?66S2IUzWyKPViF40YCgIvhpZL6S3aZh3ud=2FsZbt?= =?us-ascii?Q?T=2FPPTuWOWZoApu5GaIu1IHFaJ1hzSZN0D1UhKbm?= =?us-ascii?Q?B2KU9dUMJR3wsYwic=3D?= To: ruby-core@ruby-lang.org X-ML-Name: ruby-core X-Mail-Count: 98601 Subject: [ruby-core:98601] [Ruby master Bug#16925] Backport request: net/http raises in ensure and replaces the original error X-BeenThere: ruby-core@ruby-lang.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: Ruby developers List-Id: Ruby developers List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: ruby-core-bounces@ruby-lang.org Sender: "ruby-core" Issue #16925 has been updated by Eregon (Benoit Daloze). Note that it's OK to backport just the fix in lib/net/http/response.rb Non-master Ruby versions tests against latest ruby/spec, and I'll just change the [ruby_version_is guard](https://github.com/ruby/ruby/pull/3164/files#diff-e0a90a29096d4eef6ff550142937ab10R80) just after the backport happens. ---------------------------------------- Bug #16925: Backport request: net/http raises in ensure and replaces the original error https://bugs.ruby-lang.org/issues/16925#change-85917 * Author: Eregon (Benoit Daloze) * Status: Closed * Priority: Normal * Backport: 2.5: REQUIRED, 2.6: REQUIRED, 2.7: REQUIRED ---------------------------------------- Could we backport https://github.com/ruby/ruby/pull/3164, part of [Bug #13882] ? (Details in https://bugs.ruby-lang.org/issues/13882#note-6) I think it would be worthwhile. -- https://bugs.ruby-lang.org/