Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
qicosmos committed Dec 25, 2023
1 parent 411a542 commit 22e8890
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/coro_http/examples/example.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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<char>{str.data(), str.size()});
Expand Down Expand Up @@ -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));
Expand Down

0 comments on commit 22e8890

Please sign in to comment.