We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e03473b commit a8b185dCopy full SHA for a8b185d
1 file changed
proxy/include/proxy/proxy_server.hpp
@@ -291,7 +291,7 @@ R"x*x*x(<html>
291
inline const uint16_t nosie_injection_max_len = 0x0fff;
292
293
// global_known_proto 用于指定全局已知的协议, 用于噪声注入时避免生成已知的协议头.
294
- inline std::set<uint8_t> global_known_proto =
+ inline const std::set<uint8_t> global_known_proto =
295
{
296
0x04, // socks4
297
0x05, // socks5
@@ -301,7 +301,7 @@ R"x*x*x(<html>
301
0x16, // ssl
302
};
303
304
- inline std::map<std::string, std::string> global_mimes =
+ inline const std::map<std::string, std::string> global_mimes =
305
306
{ ".html", "text/html; charset=utf-8" },
307
{ ".htm", "text/html; charset=utf-8" },
0 commit comments