Commit 2ef92786e3f1a645937e00ac2d01a3389454fea9

Ross Lagerwall 2012-02-23T21:40:02

Add a new test: test-fdleak which tests for fd leaks by creating many sockets. This test opens a server socket, and forks a child which connects to that server socket many times. It sets a low number for the max open file limit to catch any file descriptor leaks. It would not work on Windows since it uses fork() to be able to create both the server and the clients.