fix session cancel issue

This commit is contained in:
Chunting Gu
2021-06-09 15:14:18 +08:00
parent e70863e2bd
commit 12971b7df3
7 changed files with 74 additions and 41 deletions
+2 -1
View File
@@ -297,7 +297,8 @@ TEST(ClientTest, Post) {
static webcc::fs::path GenerateTempFile(const std::string& data) {
try {
webcc::fs::path path = webcc::fs::temp_directory_path() / webcc::RandomString(10);
webcc::fs::path path =
webcc::fs::temp_directory_path() / webcc::RandomString(10);
webcc::fs::ofstream ofs;
ofs.open(path, std::ios::binary);