May 10, 2007

Graceful close bug...

It seems that the latest changes to the socket server framework have managed to flush out a graceful shutdown bug that's been floating around since day 0.

There's this whole, complex, way of determining how a socket is shutdown and this whole clever thing that lets you decide if you want to do a graceful, lingering, close on an I/O thread or simply slam the door and risk losing data and, well, it doesn't seem to work. Once in a while the connections are being closed before they should. The code path hasn't changed much since the first release of the free source but since I've spent the day building every example server with every compiler and running their black box testing I seem to have force some failures once in a while... I haven't worked out how to fix it yet, but it does seem every so slightly broken... Luckilly I've never had a client report a problem with this, so I guess it doesn't happen a great deal in the wild...


Share this entry: Email it! | bookmark it! | digg it! | reddit!

Posted by Len at May 10, 2007 06:56 PM | Comments (0) | Categories : Socket Servers
Comments
Post a comment









Remember personal info?




Enter this code in the box below to prove that you're not some kind of automated spam robot...