From: git@... Date: 2018-09-22T15:31:51+00:00 Subject: [ruby-core:89126] [Ruby trunk Bug#15146] [PATCH] webrick: raise EOFError in parse when read line is nil Issue #15146 has been reported by pushrax (Justin Li). ---------------------------------------- Bug #15146: [PATCH] webrick: raise EOFError in parse when read line is nil https://bugs.ruby-lang.org/issues/15146 * Author: pushrax (Justin Li) * Status: Open * Priority: Normal * Assignee: * Target version: * ruby -v: * Backport: 2.3: UNKNOWN, 2.4: UNKNOWN, 2.5: UNKNOWN ---------------------------------------- If the IO object being read during parse returned `nil` from `gets`, a NoMethodError would be raised calling `bytesize` on `nil`. Instead, an `EOFError` should be returned. This bug has been present since r14260. https://github.com/ruby/ruby/pull/1960 ---Files-------------------------------- 0001-webrick-raise-EOFError-in-parse-when-read-line-is-ni.patch (1.58 KB) -- https://bugs.ruby-lang.org/ Unsubscribe: