Skip to Content.
Sympa Menu

ndt-dev - [ndt] r355 committed - uncomment close() function to release sock fd's...

Subject: NDT-DEV email list created

List archive

[ndt] r355 committed - uncomment close() function to release sock fd's...


Chronological Thread 
  • From:
  • To:
  • Subject: [ndt] r355 committed - uncomment close() function to release sock fd's...
  • Date: Thu, 06 May 2010 22:47:55 +0000

Revision: 355
Author: rcarlson501
Date: Thu May 6 15:47:15 2010
Log: uncomment close() function to release sock fd's

RaC


http://code.google.com/p/ndt/source/detail?r=355

Modified:
/trunk/src/web100srv.c

=======================================
--- /trunk/src/web100srv.c Thu Apr 22 19:07:19 2010
+++ /trunk/src/web100srv.c Thu May 6 15:47:15 2010
@@ -1989,7 +1989,7 @@
log_println(5, "Parent process spawned child = %d", chld_pid);
log_println(5, "Parent thinks pipe() returned fd0=%d, fd1=%d", chld_pipe[0], chld_pipe[1]);

- /* close(chld_pipe[0]); */
+ close(chld_pipe[0]);

/* Check to see if we have more than max_clients waiting in the queue
* If so, tell them to go away.
@@ -2061,7 +2061,7 @@
log_println(3, "initialize_tests returned old/new client = %d, test_suite = %s",
new_child->oldclient, new_child->tests);

- /* close(chld_pipe[0]); */
+ close(chld_pipe[0]);

if ((testing == 1) && (queue == 0)) {
log_println(3, "queuing disabled and testing in progress, tell client no");


  • [ndt] r355 committed - uncomment close() function to release sock fd's..., ndt, 05/06/2010

Archive powered by MHonArc 2.6.16.

Top of Page