Hi there,
According to IO#readpartial documentation, this method "reads at most maxlen bytes from the I/O stream", but HTTP::Response::Body#readpartial is returning more bytes than expected.
HTTP.get('http://www.rubydoc.info/github/httprb/http').body.readpartial(10).length
oj calls this method within C code and this misbehavior leads to Segmentation fault.
Thank you!