Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Socket::SOMAXCONN #1385

Closed
lucasallan opened this Issue · 2 comments

3 participants

@lucasallan
Collaborator

ruby 1.9.3p448

>> require 'socket'
=> true
>> Socket::SOMAXCONN
=> 128

ruby 2.1.0dev

>> require 'socket'
=> true
>> Socket::SOMAXCONN
=> 128

jruby 1.7.9 (1.9.3p392)

>> require 'socket'
=> true
>> Socket::SOMAXCONN
NameError: uninitialized constant Socket::SOMAXCONN
    from org/jruby/RubyModule.java:2689:in `const_missing'
    from (irb):2:in `evaluate'
    from org/jruby/RubyKernel.java:1119:in `eval'
    from org/jruby/RubyKernel.java:1519:in `loop'
    from org/jruby/RubyKernel.java:1282:in `catch'
    from org/jruby/RubyKernel.java:1282:in `catch'
    from /Users/lucas/.rvm/rubies/jruby-1.7.9/bin/irb:13:in `(root)'
@headius
Owner

I added it on master but with a perhaps too-low value. We need to add it to jnr-constants (see jnr/jnr-constants#4) but for now I will hardcode to the OS X value of 128.

@headius headius closed this in 55f418f
@lucasallan
Collaborator

@headius Sounds good. I'll see if I can help with it.

@enebo enebo modified the milestone: JRuby 1.7.10, JRuby 1.7.11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.