Revision: 40651
          http://brlcad.svn.sourceforge.net/brlcad/?rev=40651&view=rev
Author:   davidloman
Date:     2010-09-22 19:07:33 +0000 (Wed, 22 Sep 2010)

Log Message:
-----------
Forgot to check/set maxFD upon accept of new connection.

Modified Paths:
--------------
    rt^3/trunk/src/libNet/PortalManager.cxx

Modified: rt^3/trunk/src/libNet/PortalManager.cxx
===================================================================
--- rt^3/trunk/src/libNet/PortalManager.cxx     2010-09-22 18:49:45 UTC (rev 
40650)
+++ rt^3/trunk/src/libNet/PortalManager.cxx     2010-09-22 19:07:33 UTC (rev 
40651)
@@ -108,6 +108,9 @@
                                                int newFD = 
newPortal->pkgClient->getFileDescriptor();
                                                
this->fdPortalMap->insert(newFD, newPortal);
                                                this->portalsLock->unlock();
+                                               if (newFD > fdmax) {
+                                                       fdmax = newFD;
+                                               }
                                        }
 
                                        //else we are plain reading.


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits

Reply via email to