优化文件上传速度,增加请求头预校验功能
This commit is contained in:
+4
-1
@@ -1,4 +1,4 @@
|
||||
#ifndef WEBCC_CONNECTION_H_
|
||||
#ifndef WEBCC_CONNECTION_H_
|
||||
#define WEBCC_CONNECTION_H_
|
||||
|
||||
#include <memory>
|
||||
@@ -101,6 +101,9 @@ private:
|
||||
|
||||
// The response to be sent back to the client.
|
||||
ResponsePtr response_;
|
||||
|
||||
// 标识是否检查过请求头
|
||||
bool header_validated_ = false;
|
||||
};
|
||||
|
||||
} // namespace webcc
|
||||
|
||||
Reference in New Issue
Block a user