Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Socket::SOMAXCONN #1385

Closed
sh286 opened this Issue Jan 8, 2014 · 2 comments

Comments

Projects
None yet
3 participants
@sh286
Copy link
Member

sh286 commented Jan 8, 2014

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

This comment has been minimized.

Copy link
Member

headius commented Jan 8, 2014

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 Jan 8, 2014

@sh286

This comment has been minimized.

Copy link
Member Author

sh286 commented Jan 8, 2014

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

@enebo enebo modified the milestones: JRuby 1.7.10, JRuby 1.7.11 Feb 24, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.