From 22e889026e6240185e275ff859c3f4083edae25f Mon Sep 17 00:00:00 2001 From: qicosmos Date: Mon, 25 Dec 2023 14:31:02 +0800 Subject: [PATCH] update --- src/coro_http/examples/example.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/coro_http/examples/example.cpp b/src/coro_http/examples/example.cpp index 37829003a..0641efdfc 100644 --- a/src/coro_http/examples/example.cpp +++ b/src/coro_http/examples/example.cpp @@ -147,7 +147,7 @@ void use_out_buf() { str.resize(10); std::string url = "http://cn.bing.com"; - str.resize(6400); + str.resize(16400); coro_http_client client; auto ret = client.async_request(url, http_method::GET, req_context<>{}, {}, std::span{str.data(), str.size()}); @@ -224,7 +224,7 @@ void test_coro_http_server() { int main() { test_coro_http_server(); test_sync_client(); - // use_out_buf(); + use_out_buf(); coro_http::coro_http_client client{}; async_simple::coro::syncAwait(test_async_client(client));