summaryrefslogtreecommitdiff
path: root/src/httpscan.cc
diff options
context:
space:
mode:
authorLu <[email protected]>2018-07-19 20:12:51 +0800
committerLu <[email protected]>2018-07-19 20:12:51 +0800
commite8fb760d2103d7eea464dd37c006766507e7742d (patch)
tree7970ca2a90e8968c57943c36c7236088f4f10059 /src/httpscan.cc
parent961158e968761cc615ec058e77ece1711c9cbd01 (diff)
#5 实现HTTPSession的Bypass功能,并将命中白名单配置的Session置为Bypass状态。
* 实现HTTPSession的Bypass功能,当一个Session被置为Bypass状态时,不再调用上层处理业务,同时按Stream方式处理应答。 * 增加命中白名单配置的Session置为Bypass状态功能,提高白名单配置对应的连接的处理速度。
Diffstat (limited to 'src/httpscan.cc')
-rw-r--r--src/httpscan.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/httpscan.cc b/src/httpscan.cc
index 5700669..c8915ad 100644
--- a/src/httpscan.cc
+++ b/src/httpscan.cc
@@ -292,6 +292,9 @@ HttpScanSession::scan_result_t HttpScanSession::scan_headers(const HttpHeaders &
if (ret < 0)
{
+ LOG(ERROR) << "Error in setting maat scan status:"
+ "field =" << field << "field.length =" << field.length();
+
scan_result = scan_result_t::kScanResultError;
return false;
}