aboutsummaryrefslogtreecommitdiff
path: root/lib/hostcheck.c
diff options
context:
space:
mode:
authorArnaud Rebillout <arnaud.rebillout@collabora.com>2019-03-01 16:58:25 +0700
committerDaniel Stenberg <daniel@haxx.se>2019-03-01 21:38:04 +0100
commita977d938054b1594fdf940f140a3490768585d7b (patch)
treeebae72958881faf4b6ab68b744248db53209da87 /lib/hostcheck.c
parent65eb65fde64bd5faff6d6a7740f9436336e290e0 (diff)
examples: various fixes in ephiperfifo.c
The main change here is the timer value that was wrong, it was given in usecs (ms * 1000), while the itimerspec struct wants nsecs (ms * 1000 * 1000). This resulted in the callback being invoked WAY TOO OFTEN. As a quick check you can run this command before and after applying this commit: # shell 1 ./ephiperfifo 2>&1 | tee ephiperfifo.log # shell 2 echo http://hacking.elboulangero.com > hiper.fifo Then just compare the size of the logs files. Closes #3633 Fixes #3632 Signed-off-by: Arnaud Rebillout <arnaud.rebillout@collabora.com>
Diffstat (limited to 'lib/hostcheck.c')
0 files changed, 0 insertions, 0 deletions