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
lucasallan opened this issue Jan 8, 2014 · 2 comments
Closed

Socket::SOMAXCONN #1385

lucasallan opened this issue Jan 8, 2014 · 2 comments
Milestone

Comments

@lucasallan
Copy link
Member

@lucasallan lucasallan 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
Copy link
Member

@headius 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.

Loading

@headius headius closed this in 55f418f Jan 8, 2014
@lucasallan
Copy link
Member Author

@lucasallan lucasallan commented Jan 8, 2014

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

Loading

@enebo enebo added this to the JRuby 1.7.10 milestone Feb 24, 2014
@enebo enebo removed this from the JRuby 1.7.11 milestone Feb 24, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
3 participants