Project

General

Profile

Actions

Bug #755

closed

select in windows errantly accepts too many fd's

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

Status:
Closed
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 1 (0 open1 closed)

Related to Backport186 - Backport #670: select doesn't handle fd's > FD_SETSIZE very wellRejectedusa (Usaku NAKAMURA)Actions
Actions #1

Updated by rogerdpack (Roger Pack) over 15 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

Actions #2

Updated by matz (Yukihiro Matsumoto) over 15 years ago

  • Assignee set to usa (Usaku NAKAMURA)

=begin

=end

Actions #3

Updated by yugui (Yuki Sonoda) over 15 years ago

  • Target version set to 1.9.1 Release Candidate

=begin

=end

Actions #4

Updated by yugui (Yuki Sonoda) over 15 years ago

  • Due date set to 12/24/2008

=begin

=end

Actions #5

Updated by yugui (Yuki Sonoda) over 15 years ago

  • Target version changed from 1.9.1 Release Candidate to 1.9.2

=begin

=end

Actions #6

Updated by rogerdpack (Roger Pack) over 15 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

Actions #7

Updated by usa (Usaku NAKAMURA) over 15 years ago

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

=begin
Applied in changeset r21487.
=end

Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0Like0Like0Like0