From 09237aa70c28226fe215284e9c631c13443dab07 Mon Sep 17 00:00:00 2001 From: Jackarain Date: Sat, 8 Jun 2024 00:56:17 +0800 Subject: [PATCH] Add comment for http_context fields --- proxy/include/proxy/proxy_server.hpp | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/proxy/include/proxy/proxy_server.hpp b/proxy/include/proxy/proxy_server.hpp index 73edf80200..c710d890c4 100644 --- a/proxy/include/proxy/proxy_server.hpp +++ b/proxy/include/proxy/proxy_server.hpp @@ -481,9 +481,16 @@ R"x*x*x( struct http_context { + // 在 http 请求时, 保存正则表达式命中时匹配的结果列表. std::vector command_; + + // 保存 http 客户端的请求信息. string_request& request_; + + // 保存 http 客户端请求的原始目标. std::string target_; + + // 保存 http 客户端请求目标的具体路径, 即: doc 目录 + target_ 组成的路径. std::string target_path_; };