From 3084c922a824bdc15bc8aa36bfc6e873c66820db Mon Sep 17 00:00:00 2001 From: Lorenz Stechauner Date: Sun, 2 Sep 2018 21:01:15 +0200 Subject: [PATCH] info.host --- src/client.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/client.cpp b/src/client.cpp index 111ccb6..07c9264 100644 --- a/src/client.cpp +++ b/src/client.cpp @@ -312,7 +312,7 @@ bool connection_handler(const char *preprefix, const char *col1, const char *col " PATH_TRANSLATED=" + cli_encode(path.getAbsolutePath()) + " QUERY_STRING=" + cli_encode(path.getQuery()) + " REMOTE_ADDR=" + cli_encode(socket->getPeerAddress()->toString()) + - " REMOTE_HOST=" + cli_encode(hostbuffer) + + " REMOTE_HOST=" + cli_encode(info.host) + " REMOTE_PORT=" + cli_encode(to_string(socket->getPeerPort())) + " REQUEST_METHOD=" + cli_encode(req.getMethod()) + " REQUEST_URI=" + cli_encode(req.getPath()) +