From 4a6f29866186cf265f7dc6ad7b64eda480b8734f Mon Sep 17 00:00:00 2001 From: An Tao Date: Sun, 3 Oct 2021 16:31:26 +0800 Subject: [PATCH] Update trantor (#1046) --- lib/tests/integration_test/client/main.cc | 3 ++- trantor | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/tests/integration_test/client/main.cc b/lib/tests/integration_test/client/main.cc index d12536ad..471d7545 100644 --- a/lib/tests/integration_test/client/main.cc +++ b/lib/tests/integration_test/client/main.cc @@ -748,6 +748,7 @@ void doTest(const HttpClientPtr &client, std::shared_ptr TEST_CTX) req->setPath("/RangeTestController/10/20"); client->sendRequest( req, [req, TEST_CTX](ReqResult result, const HttpResponsePtr &resp) { + LOG_DEBUG << "result=" << (int)result; REQUIRE(result == ReqResult::Ok); CHECK(resp->getStatusCode() == k206PartialContent); CHECK(resp->getBody() == "01234567890123456789"); @@ -1030,7 +1031,7 @@ DROGON_TEST(HttpsTest) int main(int argc, char **argv) { - trantor::Logger::setLogLevel(trantor::Logger::LogLevel::kDebug); + trantor::Logger::setLogLevel(trantor::Logger::LogLevel::kTrace); loadFileLengths(); std::promise p1; diff --git a/trantor b/trantor index d3862400..9f515fe7 160000 --- a/trantor +++ b/trantor @@ -1 +1 @@ -Subproject commit d38624009fc59d5522f8d69f64e2b7c66e3ebd25 +Subproject commit 9f515fe76cfdbef8beff193a5d2c876dd0bdf2fa