aboutsummaryrefslogtreecommitdiff
path: root/src/zenhttp
diff options
context:
space:
mode:
Diffstat (limited to 'src/zenhttp')
-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;