Mercurial > hg > nginx-quic
comparison src/event/ngx_event_udp.c @ 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 | 32b0ba4855a6 |
children | ce6d9cf0f567 3108d4d668e4 |
comparison
equal
deleted
inserted
replaced
8925:b347fe705ff2 | 8926:0546ab9351c8 |
---|