Bug 10554 – Remove size restriction from std.socket.SocketSet
Status
RESOLVED
Resolution
FIXED
Severity
enhancement
Priority
P2
Component
phobos
Product
D
Version
D2
Platform
All
OS
All
Creation time
2013-07-06T03:35:00Z
Last change time
2014-02-12T19:42:01Z
Keywords
pull
Assigned to
nobody
Creator
dlang-bugzilla
Comments
Comment #0 by dlang-bugzilla — 2013-07-06T03:35:24Z
The fd_set type is declared on all structures to allow the user to create an instance with an arbitrary size. This should allow SocketSet to keep its own copy of a fd_set data which is resized as needed.
https://github.com/D-Programming-Language/phobos/pull/1393
Comment #1 by nyphbl8d — 2013-11-18T09:07:50Z
The mentioned pull request also fixes the bug in SocketSet.add where the max values are incorrectly checked with < instead of <=.