diff options
author | Maxim Dounin <mdounin@mdounin.ru> | 2022-09-07 00:47:17 +0300 |
---|---|---|
committer | Maxim Dounin <mdounin@mdounin.ru> | 2022-09-07 00:47:17 +0300 |
commit | 589f78dd885f52b4ac8216f54d374ef6ef034a8f (patch) | |
tree | f6b0a396b06686c08ead7e332345ae0b47a905ea /src/stream/ngx_stream_variables.c | |
parent | 90f1b5fd08e9aca01d568d6653da772980033e43 (diff) | |
download | nginx-589f78dd885f52b4ac8216f54d374ef6ef034a8f.tar.gz nginx-589f78dd885f52b4ac8216f54d374ef6ef034a8f.zip |
Win32: fixed build on Windows with OpenSSL 3.0.x (ticket #2379).
SSL_sendfile() expects integer file descriptor as an argument, but nginx
uses OS file handles (HANDLE) to work with files on Windows, and passing
HANDLE instead of an integer correctly results in build failure. Since
SSL_sendfile() is not expected to work on Windows anyway, the code is now
disabled on Windows with appropriate compile-time checks.
Diffstat (limited to 'src/stream/ngx_stream_variables.c')
0 files changed, 0 insertions, 0 deletions