Skip to content

Make Socket IO behave like MRI in JRuby 9k #2448

@haberbyte

Description

@haberbyte

There is an issue with the pow webserver that only occurs with JRuby (basecamp/pow#14).

It is caused in the nack rack server in the following spot: https://github.com/josh/nack/blob/master/lib/nack/server.rb#L142

With JRuby i get:

IOError: Socket is not connected
org/jruby/ext/socket/RubyBasicSocket.java:423:in `close_read'

Here the link to RubyBasicSocket.java:

I'm not sure what shutdownInternal(context, 0); really does and why it fails.

But i would love to see this fixed and i'm willing to help (if i am able to).
It would be great if JRuby 9k can address this.

What further information to debug this issue can i provide?

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions