[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r36909 - libmicrohttpd/src/testcurl
From: |
gnunet |
Subject: |
[GNUnet-SVN] r36909 - libmicrohttpd/src/testcurl |
Date: |
Sat, 20 Feb 2016 13:16:40 +0100 |
Author: grothoff
Date: 2016-02-20 13:16:40 +0100 (Sat, 20 Feb 2016)
New Revision: 36909
Modified:
libmicrohttpd/src/testcurl/test_concurrent_stop.c
Log:
be more forceful about stopping test clients
Modified: libmicrohttpd/src/testcurl/test_concurrent_stop.c
===================================================================
--- libmicrohttpd/src/testcurl/test_concurrent_stop.c 2016-02-20 11:27:55 UTC
(rev 36908)
+++ libmicrohttpd/src/testcurl/test_concurrent_stop.c 2016-02-20 12:16:40 UTC
(rev 36909)
@@ -1,6 +1,6 @@
/*
This file is part of libmicrohttpd
- Copyright (C) 2007, 2009, 2011, 2015 Christian Grothoff
+ Copyright (C) 2007, 2009, 2011, 2015, 2016 Christian Grothoff
libmicrohttpd is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published
@@ -149,8 +149,12 @@
_exit (0);
}
}
+ sleep (1);
for (j=0;j<PAR;j++)
+ {
+ kill (par[j], SIGKILL);
waitpid (par[j], NULL, 0);
+ }
_exit (0);
}
@@ -175,7 +179,10 @@
pid_t p;
d = MHD_start_daemon (MHD_USE_THREAD_PER_CONNECTION | MHD_USE_DEBUG |
poll_flag,
- port, NULL, NULL, &ahc_echo, "GET", MHD_OPTION_END);
+ port,
+ NULL, NULL,
+ &ahc_echo, "GET",
+ MHD_OPTION_END);
if (d == NULL)
return 16;
p = do_gets (port);
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r36909 - libmicrohttpd/src/testcurl,
gnunet <=