[#68478] Looking for MRI projects for Ruby Google Summer of Code 2015 — Tony Arcieri <bascule@...>

Hi ruby-core,

10 messages 2015/03/10

[ruby-core:68427] [Backport193 - Backport #10938] socket.for_fd works on 1.8 and not on 1.9

From: gustavo@...
Date: 2015-03-05 11:56:33 UTC
List: ruby-core #68427
Issue #10938 has been updated by Gustavo Homem.


Nobuyoshi,

What do you you mean fcgi should update?
Is that call deprecated? (dut it is still in the docs...)

----------------------------------------
Backport #10938: socket.for_fd works on 1.8 and not on 1.9 
https://bugs.ruby-lang.org/issues/10938#change-51774

* Author: Gustavo Homem
* Status: Third Party's Issue
* Priority: Low
* Assignee: 
----------------------------------------
Test code:

> #!/usr/bin/env ruby
>
>require 'socket'
>
>s=Socket.for_fd(STDIN.fileno)

Result on ruby 1.9

>`for_fd': not a socket file descriptor (ArgumentError)

Because of this the fcgi gem does not work. Therefore one can't install Redmine on a mod_fcgid server.




-- 
https://bugs.ruby-lang.org/

In This Thread

Prev Next