优化文件上传速度,增加请求头预校验功能
This commit is contained in:
+1
-1
@@ -32,7 +32,7 @@ public:
|
||||
// Return if a view is matched or not.
|
||||
// If the view asks for data streaming, |stream| will be set to true.
|
||||
bool MatchView(const std::string& method, const std::string& url,
|
||||
bool* stream);
|
||||
bool* stream, ViewPtr* out_view = nullptr);
|
||||
|
||||
// Direct access for ViewPtr pointers.
|
||||
// This can be used as server-based ip block/condiction checks
|
||||
|
||||
Reference in New Issue
Block a user