Update deps to v33

This commit is contained in:
halx99 2020-03-03 23:17:38 +08:00
parent e379fc513d
commit 313d4dc2a1
2 changed files with 3 additions and 3 deletions

View File

@ -1,5 +1,5 @@
{ {
"version": "v32", "version": "v33",
"zip_file_size": "107642814", "zip_file_size": "107642814",
"repo_name": "engine-x-3rd", "repo_name": "engine-x-3rd",
"repo_parent": "https://github.com/c4games/", "repo_parent": "https://github.com/c4games/",

View File

@ -96,7 +96,7 @@ void yasioTest()
if (--max_request_count > 0) if (--max_request_count > 0)
{ {
udpconn_delay.expires_from_now(std::chrono::seconds(1)); udpconn_delay.expires_from_now(std::chrono::seconds(1));
udpconn_delay.async_wait([&]() { service.open(0, YCM_SSL_CLIENT); }); udpconn_delay.async_wait_once([&]() { service.open(0, YCK_SSL_CLIENT); });
} }
else else
service.stop_service(); service.stop_service();
@ -112,7 +112,7 @@ void yasioTest()
*/ */
service.set_option(YOPT_S_TCP_KEEPALIVE, 5, 10, 2); service.set_option(YOPT_S_TCP_KEEPALIVE, 5, 10, 2);
service.open(0, YCM_SSL_CLIENT); // open http client service.open(0, YCK_SSL_CLIENT); // open http client
time_t duration = 0; time_t duration = 0;
while (service.is_running()) while (service.is_running())