Project

General

Profile

Actions

Bug #1662

closed

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

Added by rogerdpack (Roger Pack) almost 15 years ago. Updated almost 13 years ago.

Status:
Rejected
Assignee:
-
Target version:
-
ruby -v:
ruby 1.8.6 (2009-03-31 patchlevel 368) [i386-mingw32]
[ruby-core:23938]

Description

=begin
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.
=end

Actions #1

Updated by rogerdpack (Roger Pack) almost 15 years ago

=begin
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].
=end

Actions #2

Updated by rogerdpack (Roger Pack) over 14 years ago

  • Status changed from Open to Rejected

=begin
I don't know if this will be easily possible in 1.8. Marking as closed.
=end

Actions

Also available in: Atom PDF

Like0
Like0Like0