Add buffer size to HttpClientSession

This commit is contained in:
Chunting Gu
2019-03-19 12:27:25 +08:00
parent bc586c3ea0
commit 53fb2a92c9
10 changed files with 92 additions and 55 deletions
+3
View File
@@ -53,6 +53,9 @@ void LogWrite(int level, const char* file, int line, const char* format, ...);
#if (defined(WIN32) || defined(_WIN64))
// See: https://stackoverflow.com/a/8488201
// ISSUE: The last path separator of __FILE__ in a header file becomes "/"
// instead of "\". The result is that __FILENAME__ will contain a
// prefix of "webcc/". So don't log from a header file!
#define __FILENAME__ std::strrchr("\\" __FILE__, '\\') + 1
#if WEBCC_LOG_LEVEL <= WEBCC_VERB