Actions
Bug #15146
closed[PATCH] webrick: raise EOFError in parse when read line is nil
Description
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
Updated by normalperson (Eric Wong) over 6 years ago
- Status changed from Open to Closed
Applied in changeset trunk|r64823.
webrick: raise EOFError in parse when read line is nil
[Bug #15146]
From: Justin Li [email protected]
Updated by normalperson (Eric Wong) over 6 years ago
https://bugs.ruby-lang.org/issues/15146
Thanks, committed as r64823
Actions
Like0
Like0Like0