Actions
Backport #10938
closedsocket.for_fd works on 1.8 and not on 1.9
Status:
Third Party's Issue
Assignee:
-
Description
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.
Updated by ghomem (Gustavo Homem) over 9 years ago
Updated by nobu (Nobuyoshi Nakada) over 9 years ago
- Status changed from Open to Third Party's Issue
- Priority changed from 5 to 3
fcgi should update.
Updated by ghomem (Gustavo Homem) over 9 years ago
Nobuyoshi,
What do you you mean fcgi should update?
Is that call deprecated? (but it is still in the docs...)
Is there something wrong with the test code:
s=Socket.for_fd(STDIN.fileno)
?
Actions
Like0
Like0Like0Like0