Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you have been placed in read-only mode.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
小
@siceanfly 没有比较好的办法,不堵塞到是有,使用多线程回调组就可以了,除此之外使用timer其时也挺好的,定时一次就取消就行,检测完就停下来。 一次性发送多个服务可以全部发送异步的 auto future = client->async_send_request(my_request); ,然后将future存下,10s后检测future状态就可以进行处理了。
7
@70664840 现在不知道是server端阻塞了,还是客户端阻塞了