aboutsummaryrefslogtreecommitdiff
path: root/src/zenhttp/servers/httpasio.cpp
diff options
context:
space:
mode:
authorDan Engelbrecht <[email protected]>2026-01-22 12:56:08 +0100
committerGitHub Enterprise <[email protected]>2026-01-22 12:56:08 +0100
commita735026f7376456eba7fb55e0c70c3353ea9c25a (patch)
tree56524229d934c4e08236598ad9abb0ba6c13bc8d /src/zenhttp/servers/httpasio.cpp
parentfixed bad merge in CHANGELOG.md (diff)
downloadzen-a735026f7376456eba7fb55e0c70c3353ea9c25a.tar.xz
zen-a735026f7376456eba7fb55e0c70c3353ea9c25a.zip
hotfix 5.7.18 (#730)
* make sure we properly convert command line args for zenserver as well * make sure we *add* wildcards/excludes in addition to defaults
Diffstat (limited to 'src/zenhttp/servers/httpasio.cpp')
-rw-r--r--src/zenhttp/servers/httpasio.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/zenhttp/servers/httpasio.cpp b/src/zenhttp/servers/httpasio.cpp
index be4e73576..b11eebc1a 100644
--- a/src/zenhttp/servers/httpasio.cpp
+++ b/src/zenhttp/servers/httpasio.cpp
@@ -163,8 +163,8 @@ Log()
#endif
#if defined(ASIO_HAS_WINDOWS_OVERLAPPED_PTR)
-# define ZEN_USE_TRANSMITFILE 1
-# define ZEN_USE_ASYNC_SENDFILE ASIO_HAS_FILE
+# define ZEN_USE_TRANSMITFILE 0
+# define ZEN_USE_ASYNC_SENDFILE 0
#else
# define ZEN_USE_TRANSMITFILE 0
# define ZEN_USE_ASYNC_SENDFILE 0
@@ -713,7 +713,7 @@ public:
#else
// This should never occur unless we compile with one
// of the options above
- ZEN_ASSERT("invalid file reference in response");
+ ZEN_WARN("invalid file reference in response");
#endif
return;