From: merch-redmine@... Date: 2019-08-08T23:01:27+00:00 Subject: [ruby-core:94208] [Ruby master Bug#8039] DRB/dRuby server throws an exception when probed on its port Issue #8039 has been updated by jeremyevans0 (Jeremy Evans). File drb-sockopt-8039.patch added This bug is still present in the master branch. I've updated drbrain's patch to apply to the master branch, including adding some additional exceptions to rescue. ---------------------------------------- Bug #8039: DRB/dRuby server throws an exception when probed on its port https://bugs.ruby-lang.org/issues/8039#change-80503 * Author: kimptoc (Chris Kimpton) * Status: Assigned * Priority: Normal * Assignee: seki (Masatoshi Seki) * Target version: * ruby -v: 1.9.3-p392 and jruby 1.7.3 * Backport: ---------------------------------------- I am not sure if this is a bug or a feature ... When I use nmap to probe the port that the DRB server is listening on, it throws an exception. Should the server be more resilient to this and/or have an option to restart itself automatically? Or is the last code sample I give the suggested usage. See this stackoverflow issue for sample code and little more info - http://stackoverflow.com/questions/15256619/druby-server-crashes-when-probed-on-the-port-its-listening-on?noredirect=1#comment21525295_15256619 Thanks, Chris ---Files-------------------------------- drb.socket_shutdown_fix.patch (1.03 KB) drb-sockopt-8039.patch (1.57 KB) -- https://bugs.ruby-lang.org/ Unsubscribe: