1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/lib/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
..
acl.rb
drb.rb Fix some DRb issues (#2552) 2019-10-14 14:20:32 +09:00
eq.rb
extserv.rb lib/*: Prefer require_relative over require. 2018-11-02 17:52:33 +00:00
extservm.rb lib/*: Prefer require_relative over require. 2018-11-02 17:52:33 +00:00
gw.rb Fix up r65505 [ci skip] 2018-11-05 07:01:49 +00:00
invokemethod.rb
observer.rb
ssl.rb drb: fix tests on Debian sid/unstable with OpenSSL 1.1.1a 2018-12-03 04:51:13 +00:00
timeridconv.rb lib/*: Prefer require_relative over require. 2018-11-02 17:52:33 +00:00
unix.rb lib/*: Prefer require_relative over require. 2018-11-02 17:52:33 +00:00
weakidconv.rb * remove trailing spaces. 2019-05-04 19:29:14 +09:00