poco/Net
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 Do not overwrite CMAKE_PREFIX_PATH in component config files. 2015-02-04 04:35:23 +01:00
include/Poco/Net Using native sendfile from OS for HttpServer (#4351) 2024-09-01 20:45:33 +02:00
samples chore(build): re-generated VS project files 2024-04-03 12:33:13 +02:00
src Using native sendfile from OS for HttpServer (#4351) 2024-09-01 20:45:33 +02:00
testsuite Using native sendfile from OS for HttpServer (#4351) 2024-09-01 20:45:33 +02:00
CMakeLists.txt Using native sendfile from OS for HttpServer (#4351) 2024-09-01 20:45:33 +02:00
dependencies new trunk (base for 1.5) 2012-04-23 01:14:34 +00:00
Makefile Devel (#3586) 2022-05-15 11:05:56 -05:00
Net_vs90.sln change EOL to 'native' 2012-04-29 18:52:25 +00:00
Net_vs90.vcproj fix(PollSet): Integrate windows epoll #2091, #3649 2022-07-06 11:36:16 +02:00
Net_vs160.sln re-generated project files 2020-01-11 22:33:28 +01:00
Net_vs160.vcxproj chore(build): re-generated VS project files 2024-04-03 12:33:13 +02:00
Net_vs160.vcxproj.filters chore(build): re-generated VS project files 2024-04-03 12:33:13 +02:00
Net_vs170.sln ProGen vs170 projects with Win32,x64,ARM64 (#3612) 2022-05-27 21:58:46 -05:00
Net_vs170.vcxproj chore(build): re-generated VS project files 2024-04-03 12:33:13 +02:00
Net_vs170.vcxproj.filters chore(build): re-generated VS project files 2024-04-03 12:33:13 +02:00
Net.progen 4368 oracle odbc tests (#4410) 2024-01-31 22:07:07 +01:00