mirror of https://github.com/c-ares/c-ares.git
Use unbuffered stdio for /dev/urandom to read only requested data (#391)
Buffered fread() reads 4096 bytes which is completely unnecessary and potentially may cause problems. I discovered this on private linux configuration where custom /dev/urandom implementation has poor performance. Fix By: @vburdopull/394/head
parent
5ff0f6aa53
commit
44fbc81368
1 changed files with 1 additions and 0 deletions
Loading…
Reference in new issue