Update trantor (#1046)

This commit is contained in:
An Tao 2021-10-03 16:31:26 +08:00 committed by GitHub
parent 3eb5bcd1dd
commit 4a6f298661
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 2 deletions

View File

@ -748,6 +748,7 @@ void doTest(const HttpClientPtr &client, std::shared_ptr<test::Case> 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<void> p1;

@ -1 +1 @@
Subproject commit d38624009fc59d5522f8d69f64e2b7c66e3ebd25
Subproject commit 9f515fe76cfdbef8beff193a5d2c876dd0bdf2fa