Merge pull request #3175 from ejohnstown/dtls-speed-redux
DTLS Test Speed Fix Redux
This commit is contained in:
commit
4c0105ed9d
@ -65,7 +65,7 @@
|
||||
#define OCSP_STAPLINGV2_MULTI 3
|
||||
#define OCSP_STAPLING_OPT_MAX OCSP_STAPLINGV2_MULTI
|
||||
|
||||
#if defined(XUSLEEP) && defined(NO_MAIN_DRIVER)
|
||||
#if defined(XSLEEP_US) && defined(NO_MAIN_DRIVER)
|
||||
/* This is to force the server's thread to get a chance to
|
||||
* execute before continuing the resume in non-blocking
|
||||
* DTLS test cases. */
|
||||
|
@ -156,6 +156,7 @@
|
||||
select(0, NULL, NULL, NULL, &tv); \
|
||||
} while (0)
|
||||
#define XSLEEP_US(u) XSELECT_WAIT(0,u)
|
||||
#define XSLEEP_MS(m) XSELECT_WAIT(0,(m)*1000)
|
||||
#endif /* USE_WINDOWS_API */
|
||||
|
||||
#ifndef XSLEEP_MS
|
||||
|
Loading…
x
Reference in New Issue
Block a user