aboutsummaryrefslogtreecommitdiff
path: root/lib/multiif.h
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2014-01-05 16:38:18 +0100
committerDaniel Stenberg <daniel@haxx.se>2014-01-12 00:11:53 +0100
commit3b183df9cc781b329ca409ded1ea336530624715 (patch)
treecd335d59f73dd0ec90682ab39b0438a8959bec1e /lib/multiif.h
parent7cd45b297ec2d09af92cd6defccd54c7e9ac5a3d (diff)
multi: remove MULTI_TIMEOUT_INACCURACY
With the recently added timeout "reminder" functionality, there's no reason left for us to execute timeout code before the time is ripe. Simplifies the handling too. This will make the *TIMEOUT and *CONNECTTIMEOUT options more accurate again, which probably is most important when the *_MS versions are used. In multi_socket, make sure to update 'now' after having handled activity on a socket.
Diffstat (limited to 'lib/multiif.h')
-rw-r--r--lib/multiif.h12
1 files changed, 1 insertions, 11 deletions
diff --git a/lib/multiif.h b/lib/multiif.h
index 15163da98..1cbd31009 100644
--- a/lib/multiif.h
+++ b/lib/multiif.h
@@ -7,7 +7,7 @@
* | (__| |_| | _ <| |___
* \___|\___/|_| \_\_____|
*
- * Copyright (C) 1998 - 2013, Daniel Stenberg, <daniel@haxx.se>, et al.
+ * Copyright (C) 1998 - 2014, Daniel Stenberg, <daniel@haxx.se>, et al.
*
* This software is licensed as described in the file COPYING, which
* you should have received as part of this distribution. The terms
@@ -22,16 +22,6 @@
*
***************************************************************************/
-/* See multi_socket() for the explanation of this constant. Counted in number
- of microseconds. */
-#ifdef WIN32
-#define MULTI_TIMEOUT_INACCURACY 40000
-#else
-#define MULTI_TIMEOUT_INACCURACY 3000
-#endif
-
-#define MULTI_TIMEOUT_INACCURACY_MS (MULTI_TIMEOUT_INACCURACY / 1000)
-
/*
* Prototypes for library-wide functions provided by multi.c
*/