Project

General

Profile

Actions

Bug #3052

closed

DRb::start_service fails to detect used port

Added by orem (Chris Schlaeger) over 12 years ago. Updated over 9 years ago.

Status:
Rejected
Priority:
Normal
Assignee:
-
Target version:
ruby -v:
ruby 1.9.2dev (2010-01-27 trunk 26434) [x86_64-linux]
Backport:
[ruby-core:29128]

Description

=begin
When I call DRb.start_service('druby://localhost:1234') and port 1234 is already in use, I silently end up with a broken DRb service. start_service should detect that the port is already in use and raise an exception.

I've attached a small test case. Starting it once works fine. But keeping it running and starting it again from another shell should fail. It does not.
=end


Files

drb_port_busy_bug.rb (131 Bytes) drb_port_busy_bug.rb orem (Chris Schlaeger), 03/30/2010 04:08 PM
Actions

Also available in: Atom PDF