Project

General

Profile

Backport #9545

backport r45066 (inf loop on recvmsg/sendmsg)

Added by normalperson (Eric Wong) over 5 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
[ruby-core:60920]

Description

Trivial fix committed as r45066
I hit this using dtas http://dtas.80x24.org/
This seems to affect all 1.9.3, 2.0 and 2.1
(do I need to file separate ticket for each version?)


Related issues

Related to Ruby trunk - Bug #9550: backport r45066Closed02/22/2014Actions

Associated revisions

Revision d439b3b1
Added by naruse (Yui NARUSE) over 5 years ago

merge revision(s) 45066: [Backport #9545] [Backport #9550]

    * ext/socket/ancdata.c (bsock_sendmsg_internal): only retry on error
      (bsock_recvmsg_internal): ditto

    * test/socket/test_unix.rb: test above for infinite loop

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_1@45120 b2dd03c8-39d4-4d8f-98ff-823fe69b080e

Revision 45120
Added by naruse (Yui NARUSE) over 5 years ago

merge revision(s) 45066: [Backport #9545] [Backport #9550]

* ext/socket/ancdata.c (bsock_sendmsg_internal): only retry on error
  (bsock_recvmsg_internal): ditto

* test/socket/test_unix.rb: test above for infinite loop

History

Updated by naruse (Yui NARUSE) over 5 years ago

  • Related to Bug #9550: backport r45066 added

Updated by naruse (Yui NARUSE) over 5 years ago

see https://bugs.ruby-lang.org/projects/ruby/wiki/HowToRequestBackport for the way to request backport.

In this case, make a ticket on ruby-trunk and fill backport custom field is the best way.
usa did it.

Updated by naruse (Yui NARUSE) over 5 years ago

  • Status changed from Open to Closed
  • % Done changed from 0 to 100

Applied in changeset r45120.


merge revision(s) 45066: [Backport #9545] [Backport #9550]

* ext/socket/ancdata.c (bsock_sendmsg_internal): only retry on error
  (bsock_recvmsg_internal): ditto

* test/socket/test_unix.rb: test above for infinite loop

Also available in: Atom PDF