[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [Libevent-users] possible file descriptor leak



> Also, a unit test that causes a great number of sockets to open and
> get closed would be pretty cool if somebody wants to write one.
> 

Here we go:

Cheers
Ross Lagerwall

---
The following changes since commit 74d32dd493a9eba7ff8c28bc1cdf1d3c672edf5c:

  If accept4 is absent, fall back to accept. (2012-02-21 20:39:17 -0500)

are available in the git repository at:
  git@xxxxxxxxxx:rosslagerwall/libevent.git fdtest

Ross Lagerwall (1):
      Add a new test: test-fdleak which tests for fd leaks by creating
many sockets.

 .gitignore         |    1 +
 test/Makefile.am   |    7 +-
 test/test-fdleak.c |  269
++++++++++++++++++++++++++++++++++++++++++++++++++++
 test/test.sh       |    8 ++
 4 files changed, 283 insertions(+), 2 deletions(-)
 create mode 100644 test/test-fdleak.c

Attachment: signature.asc
Description: OpenPGP digital signature