Project

General

Profile

Bug #755

select in windows errantly accepts too many fd's

Added by rogerdpack (Roger Pack) almost 11 years ago. Updated over 8 years ago.

Status:
Closed
Priority:
Normal
Target version:
ruby -v:
Backport:
[ruby-core:19946]

Description

=begin
see the example for windows at
http://redmine.ruby-lang.org/issues/show/670

http://redmine.ruby-lang.org/issues/show/721
is also related.
Thanks!
-=R
=end


Files

allow_larger_selects.diff (353 Bytes) allow_larger_selects.diff rogerdpack (Roger Pack), 12/27/2008 03:27 AM

Related issues

Related to Backport186 - Backport #670: select doesn't handle fd's > FD_SETSIZE very wellRejectedActions

History

#1

Updated by rogerdpack (Roger Pack) almost 11 years ago

=begin
Note also that if you (re) set FD_SETSIZE=2048 after including winsock.h you can fit far more sockets in an FD_SET [in fact, it might fix the problem reported, as long as link against msvcrt6 sonce msvcrt seems to not allow more than 512 descriptors open at a time, anyway].
-=R
=end

#2

Updated by matz (Yukihiro Matsumoto) almost 11 years ago

  • Assignee set to usa (Usaku NAKAMURA)

=begin

=end

#3

Updated by yugui (Yuki Sonoda) almost 11 years ago

  • Target version set to 1.9.1 Release Candidate

=begin

=end

#4

Updated by yugui (Yuki Sonoda) over 10 years ago

  • Due date set to 12/24/2008

=begin

=end

#5

Updated by yugui (Yuki Sonoda) over 10 years ago

  • Target version changed from 1.9.1 Release Candidate to 1.9.2

=begin

=end

#6

Updated by rogerdpack (Roger Pack) over 10 years ago

=begin
This patch seems to fix it. Could also be applied to the 1.8.x branch to fix the same thing.
-=r
=end

#7

Updated by usa (Usaku NAKAMURA) over 10 years ago

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

=begin
Applied in changeset r21487.
=end

Also available in: Atom PDF