diff options
author | Jay Satiro <raysatiro@yahoo.com> | 2017-12-10 02:48:41 -0500 |
---|---|---|
committer | Jay Satiro <raysatiro@yahoo.com> | 2017-12-10 02:48:41 -0500 |
commit | 7ab4e7adb9143f3a3eef708693a526c93b2c97ee (patch) | |
tree | c6f2dd623dbe23fdae68f96bf21831fa68512722 /tests/server/resolve.c | |
parent | b1b94305d896e4204159871318d6d08109b44764 (diff) |
openssl: Disable file buffering for Win32 SSLKEYLOGFILE
Prior to this change SSLKEYLOGFILE used line buffering on WIN32 just
like it does for other platforms. However, the Windows CRT does not
actually support line buffering (_IOLBF) and will use full buffering
(_IOFBF) instead. We can't use full buffering because multiple processes
may be writing to the file and that could lead to corruption, and since
full buffering is the only buffering available this commit disables
buffering for Windows SSLKEYLOGFILE entirely (_IONBF).
Ref: https://github.com/curl/curl/pull/1346#issuecomment-350530901
Diffstat (limited to 'tests/server/resolve.c')
0 files changed, 0 insertions, 0 deletions