chris
chris
> > 还有请教下,我的环境里面不支持 asio::ip::tcp::resolver::query,查看代码ip/basic_resolver.hpp中,下面这段代码是灰的,不知要在哪里undefine ASIO_NO_DEPRECATED > > #if !defined(ASIO_NO_DEPRECATED) > > /// (Deprecated.) The query type. > > typedef basic_resolver_query query; > > /// (Deprecated.) The iterator type. > >...
大侠能抽时间适配修改下支持最新的asio 1.18版本吗?感谢
你好,我大概修改了几点: 1. io_service -> io_context 2. timer的api适配 3. query -> 直接改为 asio::ip::tcp::endpoint endpoint 现在有个问题始终无法解决,还请大侠看看是怎么回事: 问题点: http_server.hpp的 explicit http_server_(Args&&... args) : io_service_pool_(std::forward
