aboutsummaryrefslogtreecommitdiff
path: root/src/zenhttp/servers/httpplugin.cpp
diff options
context:
space:
mode:
authorDan Engelbrecht <[email protected]>2026-02-12 15:25:05 +0100
committerGitHub Enterprise <[email protected]>2026-02-12 15:25:05 +0100
commit3a563f5e8fcabffe686e1deb5862bdf39078ebdf (patch)
tree91a027f026f2c46a0e406d2203aea9bf60ae2dc8 /src/zenhttp/servers/httpplugin.cpp
parentadd simple http client tests (#751) (diff)
downloadzen-3a563f5e8fcabffe686e1deb5862bdf39078ebdf.tar.xz
zen-3a563f5e8fcabffe686e1deb5862bdf39078ebdf.zip
add IsLocalMachineRequest to HttpServerRequest (#749)
* add IsLocalMachineRequest to HttpServerRequest
Diffstat (limited to 'src/zenhttp/servers/httpplugin.cpp')
-rw-r--r--src/zenhttp/servers/httpplugin.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/zenhttp/servers/httpplugin.cpp b/src/zenhttp/servers/httpplugin.cpp
index b9217ed87..1a630c16f 100644
--- a/src/zenhttp/servers/httpplugin.cpp
+++ b/src/zenhttp/servers/httpplugin.cpp
@@ -143,6 +143,9 @@ public:
HttpPluginServerRequest(const HttpPluginServerRequest&) = delete;
HttpPluginServerRequest& operator=(const HttpPluginServerRequest&) = delete;
+ // As this is plugin transport connection used for specialized connections we assume it is not a machine local connection
+ virtual bool IsLocalMachineRequest() const /* override*/ { return false; }
+
virtual Oid ParseSessionId() const override;
virtual uint32_t ParseRequestId() const override;