diff options
-rw-r--r-- | docs/examples/imap-multi.c | 2 | ||||
-rw-r--r-- | docs/examples/pop3-multi.c | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/docs/examples/imap-multi.c b/docs/examples/imap-multi.c index ab46d5757..601205a08 100644 --- a/docs/examples/imap-multi.c +++ b/docs/examples/imap-multi.c @@ -29,6 +29,8 @@ * Note that this example requires libcurl 7.30.0 or above. */ +#define MULTI_PERFORM_HANG_TIMEOUT 60 * 1000 + static struct timeval tvnow(void) { struct timeval now; diff --git a/docs/examples/pop3-multi.c b/docs/examples/pop3-multi.c index 46ccf488c..d14d1159b 100644 --- a/docs/examples/pop3-multi.c +++ b/docs/examples/pop3-multi.c @@ -29,6 +29,8 @@ * Note that this example requires libcurl 7.20.0 or above. */ +#define MULTI_PERFORM_HANG_TIMEOUT 60 * 1000 + static struct timeval tvnow(void) { struct timeval now; |