Fix segfault #3604
In async_connect callback, err was clear, but socket->set_option threw "Bad file descriptor". This caused a segfault. Side effect of this fix: sometimes a log entry like this shows up. This happens when it would have faulted. ``` connection failed to localhost:9002: Undefined error: 0 ```
Showing
想要评论请 注册 或 登录