poco/Foundation
Alexander B 710c2a41f3
Using native sendfile from OS for HttpServer (#4351)
* add possibility to use native sendFile from OS for HttpServerResponse
add option POCO_USE_SENDFILE_FOR_HTTPSERVER, default - OFF
add test for HttpServer - testFile
add define fro Config.h POCO_USE_SENDFILE_FOR_HTTPSERVER

* my fail, be carefull with macro and brackets

* replace option POCO_USE_SENDFILE_FOR_HTTPSERVER with compiletime
detected macro POCO_HAVE_SENDFILE
replace types for sendFile with platform depended
wrap possibility of using sendFile with macro, if sendFile doesn't exist
in OS, then all methods don't exist

* remove option POCO_USE_SENDFILE_FOR_HTTPSERVER from ci.yml

* wrap testSendFile in the suite with define POCO_HAVE_SENDFILE

* try fix compile problem with emscripten

* oh, emscripten again

* fix logical error in testSendFile

* fix problem with cmake-specific macro when usinf make-project

* revert types from platform depended to Poco::Int64 and Poco::UInt64
for sendfile
2024-09-01 20:45:33 +02:00
..
cmake fix(cmake): PocoFoundationConfig.cmake should now check for PCRE2 #3677 2022-07-09 19:13:04 +02:00
include/Poco Using native sendfile from OS for HttpServer (#4351) 2024-09-01 20:45:33 +02:00
samples Sync differences from branch 'master' into 'devel' after release 1.13.3 2024-04-06 10:21:08 +02:00
src enh(Poco::ActiveThreadPool): make it easy to use correctly (#4624) 2024-08-30 11:54:44 +02:00
testsuite enh(Poco::ActiveThreadPool): make it easy to use correctly (#4624) 2024-08-30 11:54:44 +02:00
CMakeLists.txt mingw 11: fixes to compile common libraries 2023-12-14 19:02:11 +01:00
Foundation_vs160.sln revert Foundation project files 2020-01-11 23:59:05 +01:00
Foundation_vs160.vcxproj fix(build): Foundation VS project files 2024-04-03 09:01:34 +02:00
Foundation_vs160.vcxproj.filters chore: fix vs project files 2024-02-19 22:29:26 +01:00
Foundation_vs170.sln Remaining changes for Windows on ARM64 support (#3608) 2022-05-26 22:40:30 -05:00
Foundation_vs170.vcxproj fix(build): Foundation VS project files 2024-04-03 09:01:34 +02:00
Foundation_vs170.vcxproj.filters AsyncObserver (#4444) 2024-02-16 09:34:19 +01:00
Makefile AsyncObserver (#4444) 2024-02-16 09:34:19 +01:00
nonexistent.txt feat(Data::AbstractSessionImpl): add autoCommit property and tests #4261 (#4262) 2023-12-22 09:27:34 +01:00