[Mono-bugs] [Bug 45381][Blo] Changed - TcpListener.Pending improperly hangs

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Sat, 11 Oct 2003 11:17:52 -0400 (EDT)


Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by lar-mono@leavitt.us.

http://bugzilla.ximian.com/show_bug.cgi?id=45381

--- shadow/45381	2003-06-24 15:16:46.000000000 -0400
+++ shadow/45381.tmp.19856	2003-10-11 11:17:52.000000000 -0400
@@ -2,13 +2,13 @@
 Product: Mono/Class Libraries
 Version: unspecified
 OS: GNU/Linux [Other]
 OS Details: Gentoo Linux.  (2.4.20 kernel)
 Status: NEW   
 Resolution: 
-Severity: 
+Severity: Unknown
 Priority: Blocker
 Component: System
 AssignedTo: mono-bugs@ximian.com                            
 ReportedBy: nate@suppleye.com               
 QAContact: mono-bugs@ximian.com
 TargetMilestone: ---
@@ -114,6 +114,13 @@
   I believe that the bug is caused by TcpListener.Pending passing a value 
 of 1000 to Socket.Poll, which in turn passes this 1000 to Select_internal, 
 which I am assuming is improperly filling in the timeout structure to be 
 passed to select.  If a connection does come in before or during the 16 
 second call the TcpListener.Pending, the Pending call returns, as it 
 should.
+
+------- Additional Comments From lar-mono@leavitt.us  2003-10-11 11:17 -------
+Cannot reprocude with current CVS.  Visual inspection of socket-io.c
+shows the correct value should be passed into select.
+
+I would hoist the divide out of the loop, though.
+