libmicrohttpd

HTTP/1.x server C library (MHD 1.x, stable)
Log | Files | Refs | Submodules | README | LICENSE

commit 156482cc4f1b0ea9b7fae0f41b4c483b29e97be4
parent f8fd79094b60b63440deb930edef9f2cf302ba30
Author: LRN <lrn1986@gmail.com>
Date:   Wed, 14 Aug 2013 04:36:46 +0000

Use short timeout in testStopRace

Diffstat:
Msrc/testcurl/test_get.c | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/testcurl/test_get.c b/src/testcurl/test_get.c @@ -452,7 +452,8 @@ testStopRace (int poll_flag) struct MHD_Daemon *d; d = MHD_start_daemon (MHD_USE_THREAD_PER_CONNECTION | MHD_USE_DEBUG | poll_flag, - 1081, NULL, NULL, &ahc_echo, "GET", MHD_OPTION_END); + 1081, NULL, NULL, &ahc_echo, "GET", + MHD_OPTION_CONNECTION_TIMEOUT, 5, MHD_OPTION_END); if (d == NULL) return 16;