All submissions to this site are governed by the Second Life Viewer Contribution Agreement. By submitting patches and other information using this site, you acknowledge that you have read, understood, and agreed to those terms.

Review Board 1.6.11

Welcome to the Second Life Viewer Code Review tool.
See the documentation on our wiki for how to use this site.

Make sure to set SO_NONBLOCK on sockets whose timeouts are also set to 0.

Review Request #325 - Created June 7, 2011 and submitted

Stone Linden Reviewers
storm-1446 oz.linden, Monty.Linden, kellylinden
None viewer-development
Make sure to set SO_NONBLOCK, otherwise on Windows the sockets won't actually be non-blocking. See http://dev.ariel-networks.com/apr/apr-tutorial/html/apr-tutorial-13.html#ss13.4
My viewer works normally on Mac. Mostly this change applies to Windows, given the chart for 0 timeouts without SO_NONBLOCK.
Review request changed
Updated (June 27, 2011, 12:39 p.m.)
Attach to a bug.
Ship it!
Posted (June 28, 2011, 3:39 a.m.)

   

  
Ship it!
Posted (June 30, 2011, 10:32 a.m.)
Builds and runs on Linux.  I enabled the io.cpp test after applying the patch and it runs successfully with no failed tests.