Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
io.sysread can raise an EOFError #5
I've been experiencing random EOFError when connecting to sendgrid from my application from this line: http://github.com/rightscale/right_http_connection/blob/master/lib/net_fix.rb#L52. By default ruby (1.8.6) will raise the EORError: http://github.com/ruby/ruby/blob/ruby_1_8_6/lib/net/protocol.rb#L90.
I'm wondering if I would get the EOFError even without right_http_connection or if it was introduced by the larger socket read size? If the error was introduced by the larger read size what do you think the appropriate fix would be?