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.
Files
Updated by normalperson (Eric Wong) about 7 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 git@justinli.net
Updated by normalperson (Eric Wong) about 7 years ago
Thanks, committed as r64823
Actions