diff options
| author | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2012-01-08 01:21:42 +0900 |
|---|---|---|
| committer | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2012-01-08 01:21:42 +0900 |
| commit | b6f8a3dbb35c353b3cdeed853214ca74cbb548af (patch) | |
| tree | 5547f986476fcf8b495b3663dada584ef32dc3b6 /src/HttpResponseCommand.cc | |
| parent | 46e59c4cc34b35f0cbbba1b9afbaf6f59bad7f62 (diff) | |
Use std::ifstream instead of file descriptor for generateRandomDataUrandom()
Usually required random bytes are short, it is advantageous to use
std::ifstream which is buffered I/O rather than read() syscall.
Diffstat (limited to 'src/HttpResponseCommand.cc')
0 files changed, 0 insertions, 0 deletions
