Project

General

Profile

Actions

Bug #14840

closed

`warning: constant Net::ProtoServerError is deprecated` only via net/http

Added by znz (Kazuhiro NISHIYAMA) almost 6 years ago. Updated almost 6 years ago.

Status:
Closed
Target version:
ruby -v:
ruby 2.6.0dev (2018-06-10 trunk 63619) [x86_64-linux]
[ruby-dev:50563]

Description

When ruby loads net/protocol via net/http, Net::ProtoServerError is deprecated.
But via net/smtp, etc, it does not warn.
Is this intentional?

% ruby -r net/http -e 'Net::ProtoServerError'
-e:1: warning: constant Net::ProtoServerError is deprecated
% ruby -r net/smtp -e 'Net::ProtoServerError'

Updated by znz (Kazuhiro NISHIYAMA) almost 6 years ago

  • Status changed from Assigned to Closed

Resolved at r63661

Actions

Also available in: Atom PDF

Like0
Like0