Bug #1662 [ruby-core:23938]

1.8.6 + windows + udp socket + ctrl +c -> hang

Added by Roger Pack 273 days ago. Updated 119 days ago.

Status :Rejected Start :06/20/2009
Priority :Normal Due date :
Assigned to :- % Done :

0%

Category :-
Target version :-
ruby -v :

ruby 1.8.6 (2009-03-31 patchlevel 368) [i386-mingw32]


Description

This code

require 'socket'
addr = ['', 33333]  # host, port
UDPSock = UDPSocket.new
UDPSock.bind(addr[0], addr[1])
data, addr = UDPSock.recvfrom(1024)

when run in windows [run it, then hit ctrl+c]
results in a hang, at least for one version of ruby.

History

06/22/2009 07:43 PM - Roger Pack

The good news is this works well in 1.9 [but not 1.8].  I'd probably consider it a low priority, just thought I'd report it for awareness [as in I don't really care if this bug ever gets fixed or not].

11/21/2009 08:22 AM - Roger Pack

  • Status changed from Open to Rejected
I don't know if this will be easily possible in 1.8. Marking as closed.

Also available in: Atom PDF