summaryrefslogtreecommitdiff
path: root/src/httpscan.cc
diff options
context:
space:
mode:
authorLu <[email protected]>2018-07-17 21:34:11 +0800
committerLu <[email protected]>2018-07-17 21:34:11 +0800
commit992fdd27ed695f9285eff808e4bc184aeee52b89 (patch)
tree15cf5fac39b3bb3e1465487d06db39d49035b769 /src/httpscan.cc
parent58629819c6da37cb1c62666edf6ad27855f0b0a3 (diff)
#2 改进Chunk模式的数据转发方法,降低连接转发延迟与数据缓存量
* 原实现需将所有的Chunk收起以后,统一处理再转发; * 利用HttpParser的Pause模式。当解析完一个Chunk后,置HttpParser为Pause模式, 退出回调函数,调用业务处理函数,而后立即转发。
Diffstat (limited to 'src/httpscan.cc')
-rw-r--r--src/httpscan.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/httpscan.cc b/src/httpscan.cc
index 777f988..4f04067 100644
--- a/src/httpscan.cc
+++ b/src/httpscan.cc
@@ -277,7 +277,7 @@ void HttpScanSession::ScanResponseBody(HttpSession * http_session_ctx)
return hit_scan_error();
}
- CLOG(DEBUG, "HttpScanTrace") << hexdump("ContentBody", body_content_raw, body_content_length);
+ //CLOG(DEBUG, "HttpScanTrace") << hexdump("ContentBody", body_content_raw, body_content_length);
}
return;