Actions
Bug #15146
closed[PATCH] webrick: raise EOFError in parse when read line is nil
Bug #15146:
[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
Actions