[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[libmicrohttpd] branch master updated: test_client_put_stop: Use longer
From: |
gnunet |
Subject: |
[libmicrohttpd] branch master updated: test_client_put_stop: Use longer timeout periods for select() |
Date: |
Sun, 28 Nov 2021 18:54:55 +0100 |
This is an automated email from the git hooks/post-receive script.
karlson2k pushed a commit to branch master
in repository libmicrohttpd.
The following commit(s) were added to refs/heads/master by this push:
new 8f9567bb test_client_put_stop: Use longer timeout periods for select()
8f9567bb is described below
commit 8f9567bb48387cd9d95e5d30914f945b106d2ee4
Author: Evgeny Grin (Karlson2k) <k2k@narod.ru>
AuthorDate: Sun Nov 28 20:54:46 2021 +0300
test_client_put_stop: Use longer timeout periods for select()
---
src/microhttpd/test_client_put_stop.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/microhttpd/test_client_put_stop.c
b/src/microhttpd/test_client_put_stop.c
index 81afa6bd..434ff1f0 100644
--- a/src/microhttpd/test_client_put_stop.c
+++ b/src/microhttpd/test_client_put_stop.c
@@ -825,7 +825,7 @@ _MHD_dumbClient_perform (struct _MHD_dumbClient *clnt)
_MHD_dumbClient_get_fdsets (clnt, &maxMhdSk, &rs, &ws, &es);
mhd_assert (now >= start);
tv.tv_sec = TIMEOUTS_VAL - (now - start) + 1;
- tv.tv_usec = 1000;
+ tv.tv_usec = 700 * 1000;
if (-1 == select (maxMhdSk + 1, &rs, &ws, &es, &tv))
{
#ifdef MHD_POSIX_SOCKETS
@@ -1268,7 +1268,7 @@ performQueryExternal (struct MHD_Daemon *d, struct
_MHD_dumbClient *clnt)
if (MHD_YES != MHD_get_fdset (d, &rs, &ws, &es, &maxMhdSk))
mhdErrorExitDesc ("MHD_get_fdset() failed");
tv.tv_sec = 1;
- tv.tv_usec = 100000;
+ tv.tv_usec = 800 * 1000;
if (-1 == select (maxMhdSk + 1, &rs, &ws, &es, &tv))
{
#ifdef MHD_POSIX_SOCKETS
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [libmicrohttpd] branch master updated: test_client_put_stop: Use longer timeout periods for select(),
gnunet <=