comparison src/event/ngx_event_openssl.h @ 8926:0546ab9351c8

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.
author Maxim Dounin <mdounin@mdounin.ru>
date Wed, 07 Sep 2022 00:47:17 +0300
parents 3443c02ca1d1
children 5c86189a1c1b 38c71f9b2293
comparison
equal deleted inserted replaced
8925:b347fe705ff2 8926:0546ab9351c8