cvs commit: src/tools/regression/sockets/listenclose Makefile listenclose.c

Robert Watson rwatson at FreeBSD.org
Tue Nov 2 09:59:13 PST 2004


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)


More information about the cvs-src mailing list