qicosmos / rest_rpc

modern C++(C++11), simple, easy to use rpc framework
MIT License
1.7k stars 370 forks source link

basic_server崩溃 #57

Open brinkqiang opened 2 years ago

brinkqiang commented 2 years ago

开发环境. centos 7 && gcc 8.3 操作步骤

  1. 启动basic_server
  2. 启动basic_client 等待3-5秒 ctrl+c关闭client. 重复这个操作 正常是2次 出现.

rest_rpc

qicosmos commented 2 years ago

已修复,是example里面 socket_.remote_endpoint抛异常引起的。 https://github.com/qicosmos/rest_rpc/commit/987a306092c04a5318476ef1e448b0e18c15d891