aboutsummaryrefslogtreecommitdiff
path: root/lib/hmac.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2020-03-07 13:37:50 +0100
committerDaniel Stenberg <daniel@haxx.se>2020-03-07 23:27:58 +0100
commit0a04dc4d5d775402f2e3cdc192c3aadb2e9c4857 (patch)
treeccedc184c7e432572bab7e71d172512164993d16 /lib/hmac.c
parente5b366c0b5ff1796a7b86a721ee572cdc3dda0f2 (diff)
lib1564: reduce number of mid-wait wakeup calls
This test does A LOT of *wakeup() calls and then calls curl_multi_poll() twice. The first *poll() is then expected to return early and the second not - as the first is supposed to drain the socketpair pipe. It turns out however that when given "excessive" amounts of writes to the pipe, some operating systems (the Solaris based are known) will return EAGAIN before the pipe is drained, which in our test case causes the second *poll() call to also abort early. This change attempts to avoid the OS-specific behaviors in the test by reducing the amount of wakeup calls from 1234567 to 10. Reported-by: Andy Fiddaman Fixes #5037 Closes #5058
Diffstat (limited to 'lib/hmac.c')
0 files changed, 0 insertions, 0 deletions