ruby/test/drb
Jeremy Evans d0ed935d5b Fix some DRb issues (#2552)
* Handle BasicObject in drb

Also fix a bug in rescue clause of any_to_s because sprintf
does not handle the %l modifier.

Fixes [Bug #7833]

* Do not send a reply to the client if there is a connection error

This allows for normal TCP shutdown (fin-ack-fin-ack instead of
fin-ack-push-rst).

Patch from pierre@mouraf.org (Pierre-Alexandre Meyer).

Fixes [Bug #2339]

* Detect fork and do not reuse forked connections in drb

This associates each DRbConn with a pid, and if the pid changes,
it closes any DRbConns in the pool with a pid that no longer
matches.  This fixes DRb servers from sending messages intended
for one client to another client after forking.

Fixes [Bug #2718]
Fixes [Bug #14471]
2019-10-14 14:20:32 +09:00
..
drbtest.rb Fix some DRb issues (#2552) 2019-10-14 14:20:32 +09:00
ignore_test_drb.rb Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
test_acl.rb Fix r60271 2017-10-21 14:22:04 +00:00
test_drb.rb Run background threads while testing drb 2018-10-20 13:14:02 +00:00
test_drbobject.rb ignore test_RangeError 2019-05-04 23:32:13 +09:00
test_drbssl.rb Revert "Revert "Revert "Skip BUGs on Solaris""" 2019-09-01 23:27:44 +09:00
test_drbunix.rb Run background threads while testing drb 2018-10-20 13:14:02 +00:00
ut_array.rb Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
ut_array_drbssl.rb openssl: adapt OpenSSL::PKey to OpenSSL 1.1.0 opaque structs 2016-06-05 15:00:47 +00:00
ut_array_drbunix.rb Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
ut_drb.rb Fix some DRb issues (#2552) 2019-10-14 14:20:32 +09:00
ut_drb_drbssl.rb openssl: adapt OpenSSL::PKey to OpenSSL 1.1.0 opaque structs 2016-06-05 15:00:47 +00:00
ut_drb_drbunix.rb Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
ut_eq.rb Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
ut_large.rb additional math operations 2016-01-31 03:34:21 +00:00
ut_port.rb Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
ut_safe1.rb Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
ut_timerholder.rb use finalizer trick instead of thread. 2016-05-22 11:03:43 +00:00