Date: Tue, 2 Nov 2004 17:59:12 +0000 (UTC) From: Robert Watson <rwatson@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/tools/regression/sockets/listenclose Makefile listenclose.c Message-ID: <200411021759.iA2HxCbe036896@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
rwatson 2004-11-02 17:59:12 UTC FreeBSD src repository Added files: tools/regression/sockets/listenclose Makefile listenclose.c Log: Add a small regression test that opens a TCP socket, listens on it, performs a non-blocking connect from another socket, and then closes the listen socket rather than accepting. This is intended to exercise the close path in which connections are aborted due to a close on the listen socket while the connection is in the listen queue. Revision Changes Path 1.1 +9 -0 src/tools/regression/sockets/listenclose/Makefile (new) 1.1 +111 -0 src/tools/regression/sockets/listenclose/listenclose.c (new)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200411021759.iA2HxCbe036896>